The CLI supports the following output formats:
Table 4–2 CLI Format Options
Format Option |
Result |
---|---|
string |
Produces brief output. Use this option for postprocessing |
serialized |
Produces XML serialized text output. Use this option when you want to pass information to another script. |
sink |
Discards output. On UNIX systems, directs output to /dev/null. |
detail |
Formats the output as a table. Includes detailed information. |
If you do not specify an output format, the command uses its default format for the output.
To discover the default output format for a given command, refer to the help information for that command by running the command with -h:
cr_cli –cmd <commandname> –h |
The default output format will be in asterisks at the bottom of the help.