dita command arguments and options

DITA Open Toolkit

dita command arguments and options

The dita command takes mandatory arguments to process DITA, manage plug-in, or print information about the command. Options can be used modify the command behaviour or provide additional configuration.

Usage

dita -f name -i file [ options ]
dita -install { file | url }
dita -uninstall id
dita -help
dita -version

Arguments

-f, -format name
Specifies the output format. You can create plug-ins to add new values for this parameter; by default, the following values are available:
  • docbook
  • eclipsehelp
  • eclipsecontent
  • html5
  • htmlhelp
  • javahelp
  • odt
  • pdf
  • wordrtf
  • troff
  • xhtml
-i, -input file
Specifies the master file for your documentation project. 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 directory where your project's ant build script resides if args.input.dir is not defined.
-install file
-install url
Install plug-in from a local ZIP file or from a URL.
-uninstall id
Uninstall plug-in with the ID.
-h, -help
Print command usage help.
-version
Print version information and exit.

Options

-o, -output dir
Specifies the name and location of the output directory. By default, the output is written to out subdirectory of the current directory.
-filter file
Specifies a filter file to be used to include, exclude, or flag content.
-temp dir
Specifies the location of the temporary directory. The temporary directory is where the DITA-OT writes temporary files that are generated during the transformation process.
-v, -verbose
Verbose logging.
-d, -debug
Debug logging.
-l, -logfile file
Output logging messages into a file.
-Dproperty=value
Specify a value for a property. Supported properties are the same as Ant parameters and are transformation type specific.
-propertyfile file
Load all properties from a file. Properties specified with -D option take precedence.
Parent topic: Reference