Command Line
(REQCHECKER™ EXPERT only)
Analysis can also be launched using the command line. Command line features require REQCHECKER™ EXPERT or REQCHECKER™ EXPERT Floating.
Syntax:
reqcheckercmd.exe command [options]
-add <document path>command : Adds a file to the project of the current folder-edit <.cover file path>command : open editor on the project cover file-helpcommand : Displays the command line help-run <.cover file path>command : computes coverage and generates Markdown Report-restserver <.cover file path>command : starts the local REST API and embedded project viewer on the project cover file-englishoption : Forces English language-germanoption : Forces German language-nostatoption : Never send statistics-logdebugoption : Set log level to debug-rcxlsoption for -run command : add the Coverage Matrix to the report list-rhtmloption for -run command : add the Printable HTML Report to the report list-rmdoption for -run command : add the Markdown Report to the report list-rsxlsoption for -run command : add the Verification Table to the report list-rxmloption for -run command : adds the XML Export to the report list-recaoption for -run command : adds the Eclipse Content Assist Export to the report list-rjavaoption for -run command : adds the Java Enum Export to the report list
For example :
"%localappdata%\reqchecker-application\reqcheckercmd.exe" -run "c:\my project\myfile.cover"
Starting the local REST server:
"%localappdata%\reqchecker-application\reqcheckercmd.exe" -restserver "c:\my project\myfile.cover"
The command prints the REST connection values to the console:
REST_SERVER_URL=http://127.0.0.1:9490/reqchecker/v4.0
REST_SERVER_TOKEN=...
REST_SERVER_TOKEN_EXPIRES_IN=10800
The token is valid for 3 hours and must be sent with API requests:
curl -H "X-Reqchecker-Token: %REST_SERVER_TOKEN%" "%REST_SERVER_URL%/application"