Documentation ¶
Index ¶
- Constants
- func ColorizeUsages(cmd *cobra.Command) string
- func DeterminePadding(curCommand, subCommandLineNumber, totalCommands int) string
- func GenerateCommandOptionsMessage(cmd *cobra.Command) []string
- func GenerateCommandTree(cmd *cobra.Command, paddingSize int) []string
- func GenerateShortGlobalOptions(rootCmd *cobra.Command) []string
- func GenerateUsage(cmd *cobra.Command) string
Constants ¶
View Source
const UsageTemplate = `` /* 428-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ColorizeUsages ¶ added in v0.0.3
func DeterminePadding ¶ added in v0.0.3
func GenerateCommandOptionsMessage ¶ added in v0.0.3
func GenerateCommandTree ¶ added in v0.0.3
func GenerateShortGlobalOptions ¶ added in v0.0.3
func GenerateUsage ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.