Input, Output, and
Return Codes
DCLI supports the
following input arguments.
- Basic types
- You can enter basic types like string, int, double, or boolean on the command line.
- List types
- You can provide the same option multiple times on the command line and DCLI treats it as a list.
Currently supported output
formatter types are simple, xml, html, table, csv and json. You can change the
output format by passing the
formatter
option to DCLI.
For scripting purposes DCLI
returns a non-zero error code for an unsuccessful command. To see the last
command status in interactive mode, run the
$?
command.