Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRequiredFlags ¶
func CheckRequiredFlags(flags []interface{}) error
CheckRequiredFlags Checks if flags in the list are all set in Viper
func MakeFlagBindings ¶
MakeFlagBindings Bind flags to the command setting them by hard flags from the CLI, .env values, and environment variable values. Make the flags persistent for the command that needs to propagate them to subcommands; for instance the global flags on the root command.
https://github.com/spf13/cobra/blob/main/site/content/user_guide.md#working-with-flags
Types ¶
Click to show internal directories.
Click to hide internal directories.