Documentation ¶ Index ¶ func Bool() *bool func BoolVar(cmd *cobra.Command, p *bool, name, shorthand string, value bool, usage string) func IsSet(b *bool) bool func String() *string func StringVar(cmd *cobra.Command, p *string, name, shorthand string, value string, ...) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bool ¶ func Bool() *bool Bool for cmd. func BoolVar ¶ func BoolVar(cmd *cobra.Command, p *bool, name, shorthand string, value bool, usage string) BoolVar for cmd. func IsSet ¶ added in v1.185.0 func IsSet(b *bool) bool IsSet the flag for cmd. func String ¶ func String() *string String for cmd. func StringVar ¶ func StringVar(cmd *cobra.Command, p *string, name, shorthand string, value string, usage string) StringVar for cmd. Types ¶ This section is empty. Source Files ¶ View all Source files flags.go Click to show internal directories. Click to hide internal directories.