Skip to main content

Module help

Module help 

Source
Expand description

The help text: one translation key per line (cli-help-<command>-<n>, see i18n/en.ftl), so that a line of the file is a line of the text, and the commandsโ€™ parts can be printed alone.

Constantsยง

COLUMN ๐Ÿ”’
The column an optionโ€™s description starts in.
COMMANDS ๐Ÿ”’
The commands, in the order of the overview.
TOPICS ๐Ÿ”’
The topics beside the commands: the options every command takes, the path formats and the units.
WIDTH ๐Ÿ”’
Where a line is wrapped, in characters.

Functionsยง

command ๐Ÿ”’
The help of one command: its usage line, what it does and its options.
lines ๐Ÿ”’
The lines prefix-1, prefix-2, โ€ฆ of the translation. An option line (--option ARG what it does) comes in two columns, any other line as it is, indented.
overview ๐Ÿ”’
Every command with a few words on what it does, and where to find more.
text ๐Ÿ”’
The help for topic: a command, one of TOPICS, or (none) the overview; None for a word that is none of these.
wrap ๐Ÿ”’
text in lines of at most WIDTH characters, the first behind first, the others behind blanks as wide.