Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Options for the Commands | output-format
 
output-format
 
Recommendations When Selecting a Content Type
Specifies the content type of the output data for a command. You can specify the same values for --input-format | -m and --output-format | -f.
Syntax
--output-format | -f content-type
Arguments
Argument
Description
content-type
Specifies a well-formed content type that indicates the format you want the command to use for the output. You can specify the short or full versions of the media type. The following lists some examples:
*application/xml | xml
*application/json | json
*application/vnd.sagcc.asset+zip
*application/yaml
*text/plain | text
*text/tab-separated-values | tsv
*text/csv | csv
The default value is taken from the output file extension if the extension matches the short version of a supported media type. If the output file extension does not match the short version of a supported media type, the default is text/tab-separated-values.
For the content types that a command supports, see the documentation for a specific command.
Example
To specify the output data is content type application/xml:
--output-format application/xml