Documentation ¶ Index ¶ func OverwriteFlagDefaults(c *cobra.Command, defaults map[string]string, updateVal bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func OverwriteFlagDefaults ¶ func OverwriteFlagDefaults(c *cobra.Command, defaults map[string]string, updateVal bool) OverwriteFlagDefaults overwrites the default values for already defined flags for the given command and all its children. Changes the currently set value if the flag is set. Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.