Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainHelpTemplate ¶
func MainHelpTemplate() string
func MainUsageTemplate ¶
func MainUsageTemplate() string
func OptionsHelpTemplate ¶
func OptionsHelpTemplate() string
func OptionsUsageTemplate ¶
func OptionsUsageTemplate() string
func UseOptionsTemplates ¶
Types ¶
type CommandGroup ¶
type CommandGroups ¶
type CommandGroups []CommandGroup
func AddAdditionalCommands ¶
func AddAdditionalCommands(g CommandGroups, message string, cmds []*cobra.Command) CommandGroups
func (CommandGroups) Add ¶
func (g CommandGroups) Add(c *cobra.Command)
type FlagExposer ¶
type FlagExposer interface {
ExposeFlags(cmd *cobra.Command, flags ...string) FlagExposer
}
func ActsAsRootCommand ¶
func ActsAsRootCommand(cmd *cobra.Command, filters []string, groups ...CommandGroup) FlagExposer
Click to show internal directories.
Click to hide internal directories.