Options available to the application's Command Line Interface (CLI)
<executable_path> [-option[ <value>]] [filename]
<value>
immediately following the option is used set the maximum size (in bytes) of the application log file<value>
immediately following the option is used as the name of the release cycle (and optionally the instance) to copy application settings from<value>
must be quoted if it contains a space character<value>
must match the suffix of the application settings group name for an instance that has been launched at least once (i.e., releaseCycle[instanceName])App.releaseCycleSuffixStripped()
or App.releaseCycleInstanceSuffixStripped()
<value>
are automatically stripped in order to match the pattern used in the application settings group name~
” (tilde) character is interpreted as the root instance of the General Release.
” (period) character is interpreted as the root instance of the 'current' release cycle;
” (semi-colon) delimited whitelist can be used to limit copying to specific application settings<value>
immediately following the option is used as the name of the release cycle (and optionally the instance) to copy the session UI files from<value>
must be quoted if it contains a space character (any besides the General Release will)<value>
must match the suffix of the application data folder name for an instance that has been launched at least once (i.e., release cycle [instanceName])App.releaseCycleSuffix()
, optionally appending App.instanceNameSuffix()
~
” (tilde) character is interpreted as the root instance of the General Release.
” (period) character is interpreted as the root instance of the 'current' release cycle;
” (semi-colon) delimited whitelist can be used to limit copying to specific session UI files<value>
immediately following the option is accessible to the scripting environment via the DzApp::scriptArgs array - i.e. App.scriptArgs[0]
-scriptArg <value>
occurrence in the command line is available to the scripting environment as the (zero-based) i'th member of the DzApp.scriptArgs array - i.e. App.scriptArgs[1]
for the value of the second occurrence, App.scriptArgs[2]
for the value of the third occurrence, and so on<value>
immediately following the option is the path of the file containing scriptArg
entries#
(hash) character are ignored - commentif( App.showPrompts() ){ … } else { … }
if( dzApp→showPrompts() ){ … } else { … }
filename
must be quoted if it contains a space characterfilename
may consist of a local file URI, using the file://
scheme (since 4.12.1.14)App.scriptArgs[0]
for the first item, App.scriptArgs[1]
for the second item, App.scriptArgs[2]
for the third item, and so on