Using Default Options

You can use default options to provide predefined values for specific options.
The following examples show the full commands, which contain a complex value for the
org
parameter.
dcli> com vmware vmc sddcs list --org someReallyLongOrgID
dcli> com vmware vmc orgs get --org someReallyLongOrgID
By using default options, you can set the
org
parameter as a default option and skip adding it to the command.
dcli> env options set --option org --value someReallyLongOrgID
Performing this operation allows you to run the same commands without specifying the parameter value and still receive the same results.
dcli> com vmware vmc sddcs list
dcli> com vmware vmc orgs get
If you want to provide a value for the
org
parameter that is different to the value set for the default option, you can specify it manually.
dcli> com vmware vmc sddcs list --org anotherReallyLongOrgID