grafana-cli should allow configuration overrides to be received from the command line. e.g. ``` grafana-cli admin reset-password cfg:default.paths.logs=custom/log/directory/ ``` Seems like we missed the inclusion of `flag.Parse` as we run the command, to be able to consume them. Additionally, it'll be useful for the user to know whenever these are being overriden or not - hence the addition of logging the configuration to be used as we run the command.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
commandstest | Loading commit data... | |
datamigrations | Loading commit data... | |
testdata | Loading commit data... | |
commands.go | Loading commit data... | |
install_command.go | Loading commit data... | |
install_command_test.go | Loading commit data... | |
listremote_command.go | Loading commit data... | |
listversions_command.go | Loading commit data... | |
ls_command.go | Loading commit data... | |
ls_command_test.go | Loading commit data... | |
remove_command.go | Loading commit data... | |
reset_password_command.go | Loading commit data... | |
upgrade_all_command.go | Loading commit data... | |
upgrade_all_command_test.go | Loading commit data... | |
upgrade_command.go | Loading commit data... |