diff options
author | Valery Piashchynski <[email protected]> | 2022-03-09 09:09:46 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-03-09 09:09:46 +0100 |
commit | ac021525b68512f2d855ec7a870a0d2086a5f318 (patch) | |
tree | 30dd607d2f8c88b34871248eeb421c0a0c1fc69b /internal/cli/root.go | |
parent | 1c5a6a590832bbefb2cab99a81f413a5a0e756de (diff) |
viper auto envs and ${} syntax support for the internal RPC client
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal/cli/root.go')
-rw-r--r-- | internal/cli/root.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cli/root.go b/internal/cli/root.go index 0f35d416..07fc891c 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -91,8 +91,8 @@ func NewCommand(cmdName string) *cobra.Command { //nolint:funlen f.StringArrayVarP(override, "override", "o", nil, "override config value (dot.notation=value)") cmd.AddCommand( - workers.NewCommand(cfgFile), - reset.NewCommand(cfgFile), + workers.NewCommand(cfgFile, override), + reset.NewCommand(cfgFile, override), serve.NewCommand(override, cfgFile, silent), ) |