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. Provide the same option multiple times on the command line and DCLI treats it as a list.
Structure. For structure input fields use the dot notation. For example, id.path is the path field in the id structure.
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.