Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WarnDefault ¶
Types ¶
type Flag ¶
type Flag struct { // Cobra command that we will bound our cmd to Cmd *cobra.Command // Name of command in CLI Name string // Optional short name for command, leave empty to skip short name ShortName string // Environment variable to read from Env string // Regular name for the flag Value string // Wether this value should be provided by user IsRequired bool // Leave empty if type is string: ["", "strarr", "bool"] Type string // Description for flag Description string }
Short description of contents for command.
Click to show internal directories.
Click to hide internal directories.