Documentation ¶
Index ¶
- func AddPersistentBoolFlag(c *cobra.Command, flag string, value bool, description string, isRequired bool)
- func AddPersistentIntFlag(c *cobra.Command, flag string, value int, description string, isRequired bool)
- func AddPersistentStringFlag(c *cobra.Command, flag string, value string, description string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPersistentBoolFlag ¶
func AddPersistentBoolFlag(c *cobra.Command, flag string, value bool, description string, isRequired bool)
AddPersistentBoolFlag adds a bool flag to the command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.