cli: support for set-read-only, set-writeable
silent execution of optional queries in db.go