HomeGuidesReferencesExamplesTry and Buy

Usage

Command-line Parameters

ConfigChecker understands the following command line options which can be specified in any order.

-i filename
Specifies the file that contains the instructions to be executed. This start parameter is required.
-o filename
Specifies the file to which the output (i.e. the report) must be written. This start parameter is optional. If omitted the report will be written to stdout.
-v filenames
Specifies the name of one ore more properties files that contain initial variable definitions. Separate multiple files with the OS path separator (';' for Windows and ':' for Unix). The files are loaded in the order as specified from left to right.
This start parameter is optional. These files can be used to define variable values that are referred to in the instructions set. That simplifies re-using the same instruction set(s) in slightly different environments.
-var
Specifies one ore more variable definitions as name/value pairs. Name and value must be separated by '='. Multiple variables must be separated by the OS path separator (';' for Windows and ':' for Unix). The variables specified with this parameter will be set after the loading of the properties files specified by parameter -v. This start parameter is optional.
-xsl [filename]
Specifies that the generated report should contain a processing instruction for an XSL style-sheet. That allows to display it immediately in a browser. The optional filename specifies the XSL file to refer to. If no filename is given then the default cocheck_default.xsl is used. If necessary it will be copied automatically to the same folder as the XML report. So the XML report can be rendered if opended in a browser. This start parameter is optional.
-html
If defined an HTML version of the report will be created. This is only possible if -o and -xsl are set too. This start parameter is optional.
-rm
Minimum report. Only the <Output> section will be reported. This start parameter is optional.
-rd
Default report. Only the <Header> and <Output> sections will be reported. This start parameter is optional.
-re
Enhanced report. The <Header> and <Intput> and <Output> sections will be reported. This start parameter is optional.
-rf
Full report. All available data will be reported. This start parameter is optional.
-q
Sets the quiet mode. That is, no processing monitor window will be shown. This could be useful on Unix servers where no GUI components are supported. This start parameter is optional.
-no
Specifies to write no output. Usually that is only useful if ConfigChecker is used embedded inside another application. This start parameter is optional.
-a filename
Specifies a file that contains authentication credentials for particular URLs or realm. This start parameter is optional. If a remote file with a protected URL is to be worked on, ConfigChecker can automatically authenticate if the credentials are specified in the file specified with the -a option.