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
deprecated
type App struct { AppPath string Name string Usage, UsageText, ArgsUsage string Description string GlobalFlags Flags Commands []Command }
Deprecated: Use <https://github.com/urfave/cli/pull/1722> instead.
func NewApp
deprecated
NewApp creates a new App struct.
Deprecated: Use <https://github.com/urfave/cli/pull/1722> instead.
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.