Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationHideFlagsInUsage is an annotation on a cobra command that causes flags to be hidden in the command help. AnnotationHideFlagsInUsage = "annotation_command_hide_global_flags" // AnnotationHideGlobalFlagsInUsage is an annotation on a cobra command that causes inherited flags to be hidden in // the command help. AnnotationHideGlobalFlagsInUsage = "annotation_command_hide_global_flags" )
Variables ¶
This section is empty.
Functions ¶
func CustomizeTemplates ¶
CustomizeTemplates customizes the help and usage templates of the command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.