.help

Bareos

Print parsable information about a command.

Synopsis

.help [all] [item=<item>] [full]

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Prints the command table of the Director in a form programs can parse easily. bconsole and oconsole build their completion from it and the WebUI uses it to check which commands a console may use; help is the variant for humans. Only commands allowed by the Command ACL of the console are listed, and only the commands of Bareos: Onesimus extensions such as .sqlcount or the .ovfs commands are missing (see .grammar).

Without an argument or with full, every command is printed as one line “name description – arguments”. all prints only the names of the ordinary commands without dot commands, item= only the argument list of one command; an unknown name gives an empty reply. In API mode 2 the result is an object keyed by command name with command, description, arguments and permission.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
allkeywordEvery command.
item=resourcecommand namesOne command.
fullkeywordWith arguments.

Examples

The argument list of list:

.help item=list

The names of all ordinary commands, one per line:

.help all

See also

Command reference