Displaying Help Information for DCLI Commands

You can display help for each namespace and command by using the --help command-line option.

Because the available commands depend entirely on the services that are available in the vCenter environment that you are targeting, you must include the server for accurate help information. For VMware Cloud on AWS and NSX-T, the available commands depend on the services that are available in the REST API that you are targeting.

Help returns the following information for a command.

  • Each input option
  • Whether the option is required
  • Input type

Example

dcli> com vmware vmc orgs sddcs list --help
usage: com vmware vmc orgs sddcs list [-h] [--org ORG]

Lists all SDDCs of an organization

Input Arguments:
  -h, --help  show this help message and exit
  --org ORG   Organization identifier (required) (string)