Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Options for the Commands | input-format
 
input-format
Specifies the content type of the input data for a command. You can specify the same values for --input-format | -m and --output-format | -f.
Syntax
--input-format | -m 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 input. You can specify the short or full versions of the media type. The following lists some examples:
*application/xml | xml
*application/json | json
*text/plain | text
*text/tab-separated-values | tsv
*text/csv | csv
The default value is taken from the input file extension if the extension matches the short version of a supported media type. If the input file extension does not match the short version of a supported media type, the default is text/plain.
For the content types that a command supports, see the documentation for a specific command.
Example
To specify the input data is content type application/xml:
--input-format application/xml