Help for sf Commands
IndustriesSettings
Industries Object Access by Community License
Access Industries Features Deployed Using Managed Packages
Previous Versions
sf CommandsThe -h and --help flags show details about sf topics and their commands.
The short -h flag shows a subset of the command-line help and is meant for quick reference. The long --help flag shows the complete command-line help.
The short help (-h) for commands has these parts.
Short Description of Command
At the top of the -h output (with no heading), a short description of the command is shown.
Usage
The command signature on the Usage line uses the docopt format.
<value> immediately after the flag’s name.[ … ]).--flagname value1|value2|value3).Flags
The Flags section lists all the command’s flags, including their short name, long name, and purpose. Flags are grouped for easier reading, such as global flags and other groups relevant to a specific command.
For flags that take multiple values, you have two ways to specify the values:
1sf deploy metadata --metadata ApexClass --metadata CustomObject --metadata AnotherCustomObject
2sf deploy metadata --metadata ApexClass CustomObject AnotherCustomObjectFlags that accept a limited list of values include the values in parentheses, with the default value specified with the default keyword.
The long help (--help) for commands has the same parts as the preceding short help -h) and these additional parts.
Description
Usage notes.
Examples
All examples include a brief description.
Flag Descriptions
Some flags have optional additional usage notes.