|
|
Parameters are used to define the environment in which commands are processed. The list of parameters is as follows:
--commands or -c (optional, default=''): The list of commands to launch.
This list is a semicolon-separated string defining the commands to launch. Use -commands="GET_COMMANDS_LIST"
to obtain the list of available commands. For more information about the available commands, refer to the section called “Squore CLI Commands”.
--url or -s (optional, default='http://localhost:8180/SQuORE_Server'): The URL of Squore Server.
--outputFile or -o (optional, default='null'): The absolute path to the output file generated by the engine.
--outputCheckModelsFile or -m (optional, default='null'):Define the absolute path to the output check models file generated by the engine.
--printOutput or -print (optional, default='false'): Redirect the engine's output to the standard output.
--help or -? (optional, default='false'): Display help.
--subFoldersAsVersions or -sub (optional, default='false'): Loop on the repository path to create a version for each sub-folder using the sub-folder name as the version name.
--help:commands or -?cmd (optional, default='false'): Display help about the available commands.
--projectConfFile or -x (optional, default='null'): The XML file defining the project settings.
--updateModelFile or -uf (optional, default='null'): The XML file listing the changes to be applied to the standard analysis model for this analysis. The XML file contains a list of rules with their status and categories, as shown below:
<UpdateRules> <UpdateRule measureId="R_NOGOTO" disabled="true" categories="SCALE_SEVERITY.CRITICAL"/> </UpdateRules>
This parameter is only read and applied when creating the first version of a project, for models where editing the ruleset is allowed. You may find it more flexible to work with named templates created in the Analysis Model Editor and specified on the command line with the --rulesetTemplate parameter, as described in the section called “Project Parameters”.
When using a combination of a project file and some parameters passed from the command line, the command line parameters override the project file ones.