Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHelp ¶
func GenerateHelp(node *parser.CommandNode, tr Translator) string
GenerateHelp generates a formatted help string for a command node.
Example:
helpText := help.GenerateHelp(rootNode, nil) fmt.Println(helpText)
Types ¶
type Translator ¶ added in v2.0.4
Translator is a function that translates a key.
Click to show internal directories.
Click to hide internal directories.