how to run Dragon with the command-line interface

Dragon CLI can be run by invoking its executable dragon6shell from a command-line environment, i.e. command prompt under Windows or any shell (like sh, bash etc.) under Linux. Dragon CLI accepts the following parameters:


dragon6shell [-s/--script SCRIPT_FILE] [-n/--no-verbose] [-i/--install-license LICENSE_FILE [-g/--global]] [-l/--license [LICENSE_FILE]] [-f/--find-recover] [-r/--recover TEMP_FILE] [-c/--cite] [-h/--help]




-s (or –-script) SCRIPT_FILE

Starts Dragon in batch mode using the information read in the script file specified as SCRIPT_FILE

-n (or –-no-verbose)

Sets the “no verbose” option, i.e. no status messages will be sent to Standard Output during batch execution

-i (or –-install-license) LICENSE_FILE

Installs the license file given as LICENSE_FILE. By default, license will be installed for current local user. If further parameter –g (or --global) is given, license will be installed for all users

-l (or --license) [LICENSE_FILE]

Shows information about the given license file. If no file is given, shows information about the current license.

-f (or --find-recover)

Finds temporary files produced by some previous crashed or aborted session.

-r (or --recover) TEMP_FILE

Tries to recover the temporary file given as TEMP_FILE to a Dragon project file (.drp), saving it in the current directory

-c (or --cite)

Shows the citation for Dragon

-h (or --help)

Shows the summary for Dragon command-line usage


Besides some special issues (license installation/management and temporary file recovery) that are explained in following paragraphs, the normal usage of Dragon CLI consists in the specification of a script file, e.g. :


dragon6shell –s script.drs


After launching Dragon with this command, batch calculation of descriptors is performed and results are saved (as specified in the given script file), then the batch process is ended.