Documentation
¶
Index ¶
- func AddFlagAnnotation(cmd *cobra.Command, flagName string, key string, value string) error
- func GetFlagsForAnnotation(cmd *cobra.Command, annotation string) string
- func GetFlagsWithoutAnnotations(cmd *cobra.Command, annotations ...string) string
- func MaxFlagNameLength(cmd *cobra.Command) int
- func SetHelpTemplate(cmd *cobra.Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFlagAnnotation ¶
func GetFlagsForAnnotation ¶
func MaxFlagNameLength ¶
func SetHelpTemplate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.