Input, Output, and Return Codes
DCLI supports the following input arguments.
- Basic types
- You can provide basic types like
string
,int
,double
, orboolean
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.
The currently supported output formatter types are
yaml
, json
, table
,
csv
, html
, xml
,
yamlc
, jsonc
, htmlc
, and
xmlc
. 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.