Arguments and options for the dita commandDITA command argumentsThe dita command takes mandatory arguments to process DITA content, manage plug-ins, or
print information about the command. Options can be used to modify the command behavior or specify additional
configuration parameters.dita commandsyntaxUsagedita--input=file--format=nameoptionsdita--installfilenameURLdita--uninstalliddita--helpdita--versionMost dita command options support several syntax alternatives. All options can be
specified with a GNU-style option keyword preceded by two hyphens. In many cases, Unix-style single-letter
options (preceded by a single hyphen) are also available for backwards compatibility.Arguments--input=file-ifileSpecifies the master file for your documentation project. This argument corresponds
to the common parameter args.input. Typically this is a DITA map, however it also can
be a DITA topic if you want to transform a single DITA file. The path can be absolute, relative to
args.input.dir, or relative to the current directory if
args.input.dir is not defined.--format=name-fnameThis argument corresponds to the common parameter transtype.--installfilename--installURLInstall a single plug-in from a local ZIP file or from a URL.--install--uninstallid
Uninstall a plug-in with the specified ID.
--help-hPrint command usage help.--versionPrint version information and exit.Options--output=dir-odirSpecifies the path of the output directory; the path can be absolute or relative to
the current directory. This argument corresponds to the common parameter output.dir. By
default, the output is written to the out subdirectory of the current directory.--filter=fileSpecifies filter file(s) used to include, exclude, or flag content. This argument corresponds to the common parameter args.filter. Relative paths are
resolved against the current directory and internally converted to absolute paths.--temp=dir-tdirThis argument corresponds to the common parameter dita.temp.dir.--verbose-vVerbose logging.--debug-dDebug logging.--logfile=file-lfileWrite logging messages to a file.--parameter=value-Dparameter=valueSpecify a value for a DITA-OT or Ant build parameter.
The GNU-style --parameter=value form is only available for
parameters that are configured in the plug-in configuration file; the Java-style -D
form can also be used to specify additional non-configured parameters or set system properties.
Parameters not implemented by the specified transformation type or referenced in a
.properties file are ignored.
--propertyfile=fileUse build parameters defined in the referenced .properties file.
Build parameters specified on the command line override those set in the .properties
file.