Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareMultilineString ¶
PrepareMultilineString prepares a string (removes line breaks).
Types ¶
type App ¶
type Command ¶
type Command struct { AppPath string Name string Aliases []string Usage, UsageText, ArgsUsage string Description string Category string Flags Flags SubCommands []Command Level uint }
func PrepareCommands ¶
func PrepareCommands(commands []*cli.Command, appPath, parentCommandName string, level uint) []Command
PrepareCommands converts CLI commands into a structs for the rendering.
Click to show internal directories.
Click to hide internal directories.