Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommonBuyFlags ¶
AddCommonBuyFlags adds common flags for buy commands.
func AddCommonUpdateFlags ¶
AddCommonUpdateFlags adds common flags for update commands.
Types ¶
type CommandHelpBuilder ¶
type CommandHelpBuilder struct {
CommandName string
ShortDesc string
LongDesc string
Examples []string
RequiredFlags map[string]string // flag name -> description
OptionalFlags map[string]string // flag name -> description
JSONExamples []string
ImportantNotes []string
DisableColor bool // Whether to disable colored output
}
CommandHelpBuilder helps construct formatted help text for commands
Click to show internal directories.
Click to hide internal directories.