help

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func CustomizeTemplates(cmd *cobra.Command)

CustomizeTemplates customizes the help and usage templates of the command.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL