Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func OverrideConfigByCLI ¶
func OverrideConfigByCLI() error
OverrideConfigByCLI read configuration from command line interface, it will override the config file configuration
func ReadConfigFile ¶
func ReadConfigFile() (err error)
ReadConfigFile read configuration from config file, it will override the init configuration
func UsageTemplateWithoutDefault ¶
func UsageTemplateWithoutDefault() string
UsageTemplateWithoutDefault returns a usage template which does not contain default part
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.