Documentation ¶
Overview ¶
Package help - internal help handling code.
Index ¶
- Variables
- func CommandList(commandMap map[string]string) string
- func Name(scriptName, name, description string) string
- func OptionList(args []SynopsisArg, options []*option.Option) string
- func Synopsis(scriptName, name string, args []SynopsisArg, options []*option.Option, ...) string
- type SynopsisArg
Constants ¶
This section is empty.
Variables ¶
View Source
var Indentation = 4
Indentation - Number of spaces used for indentation.
Functions ¶
func CommandList ¶
CommandList - commandMap => name: description
func OptionList ¶
func OptionList(args []SynopsisArg, options []*option.Option) string
OptionList - Return a formatted list of options and their descriptions.
Types ¶
type SynopsisArg ¶ added in v0.27.0
Click to show internal directories.
Click to hide internal directories.