A :config or :configuration option, to list/show/point to the running configuration. Useful for finding odd config bits easily.
Also handy would be an option to disable audio output when queried from the CLI. (:mute?) This would theoretically be configurable as not everyone will want it to be quiet.
Lastly, a less verbose mode would be nice. Something like a :verbose option perhaps to turn on/off log display. This would NOT effect mycroft logging, just the display.
I'm about done with a standalone mycroft-config utility that does something like this:
mycroft-config: Mycroft configuration manager
usage: mycroft-config [COMMAND] [params]
COMMANDs:
edit (system|user) edit and validate config file
reload instruct services to reload configs
show (default|remote|system|user) display the specified setting file
set <var> set the variable (under USER)
get [var] display a particular variable
or all if no 'var' specified
Note: Use jq format for specifying <var>
Examples:
mycroft-config edit user
sudo mycroft-config edit system
mycroft-config show remote
mycroft-config get
mycroft-config get enclosure.platform
mycroft-config set test.subvalue "foo"
Does this sound adequate? It also wouldn't be difficult to add access to this inside the CLI if preferred.
A most welcome addition indeed.
See PR #2290 for the mycroft-config tool. Comments welcomed!
Sounds awesome. To be completely perfect I would suggest auto-completion with double Tab to help users to navigate through the options (I mean the possible options inside the json), so:
mycrot-co[tab-tab]nfig set encl[tab-tab]osure.[tab-tab]
As you can see, the auto-complete would show all the options inside enclosure...
Most helpful comment
I'm about done with a standalone mycroft-config utility that does something like this:
Does this sound adequate? It also wouldn't be difficult to add access to this inside the CLI if preferred.