Documentation ¶ Index ¶ func Bool() *bool func BoolVar(cmd *cobra.Command, p *bool, name, shorthand string, value bool, usage string) func IsBoolSet(b *bool) bool func IsStringSet(s *string) 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 IsBoolSet ¶ added in v1.327.0 func IsBoolSet(b *bool) bool IsBoolSet the flag for cmd. func IsStringSet ¶ added in v1.327.0 func IsStringSet(s *string) bool IsStringSet 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.