Skip to content
Snippets Groups Projects

Resolve "Fix setting passthrough and other things in cli/root in every cmd execute"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -81,7 +81,7 @@ func Execute() {
}
func init() {
cobra.OnInitialize(initConfig)
initConfig()
// add CLI global parameters
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (./.gosdnc.toml)")
Loading