Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeCommand ¶
func DescribeCommand(exec Executor, data CommandData, writer io.Writer) error
func DetailExecutor ¶
func SimpleExecutor ¶
Types ¶
type ArgumentData ¶
type CommandData ¶
type CommandData struct { Program string Version string Path name.Path Syntax string Description []string Options []OptionData Arguments []ArgumentData Subcommands []SubcommandData }
func CreateCommandData ¶
func (CommandData) HasArguments ¶
func (d CommandData) HasArguments() bool
func (CommandData) HasOptions ¶
func (d CommandData) HasOptions() bool
func (CommandData) HasSubcommands ¶
func (d CommandData) HasSubcommands() bool
type OptionData ¶
type SubcommandData ¶
Click to show internal directories.
Click to hide internal directories.