Command Line

(REQCHECKER™ EXPERT only)

Use the console executable to analyze a saved Reqchecker project or a list of documents described in a manifest. Analysis requires REQCHECKER™ EXPERT or REQCHECKER™ EXPERT Floating. Help and the manifest schema are available without a license:

reqchecker-cmd --help
reqchecker-cmd --manifest-schema
reqchecker-cmd --run "c:\my project\analysis.json" --json
reqchecker-cmd --run "c:\my project\myfile.cover" --json

The default output is an XML export in English, in the input file's directory, with the input basename. For example, analysis.json produces analysis.xml. The console always uses English. Existing outputs are replaced when new outputs have been generated successfully.

Analysis manifest

Save a UTF-8 JSON file next to your documents:

{
  "schemaVersion": 1,
  "sources": ["requirements.docx", "design.pdf"],
  "requirements": {
    "prefix": "",
    "regex": "REQ-[0-9]+",
    "suffix": "",
    "linked": "#Linked"
  }
}

This example recognizes identifiers such as REQ-123 without surrounding markers. Source paths are relative to the manifest. prefix, regex and suffix are independent Java regular expressions; escape backslashes in JSON, for example "REQ-\\d+". Delimiters and the Linked marker may be empty.

If requirements is omitted, declarations use <REQ_...>: prefix <, regexp REQ_.* and suffix >. Reference Links use #Linked. Documents are read using explicit syntax. Coverage Links use << and >>; the other analysis and presentation settings use the application's new-project defaults. No project file is created.

Manifest analyses use the semantic AI effort automatically. A saved .cover project keeps its own analysis settings, reading modes and AI effort. Use a configured project for sources that require specific table mappings or connector settings.

Choosing outputs

Option Short form Use
--run <file> -r Analyze a .cover project or JSON manifest.
--report-format <format> -f Select a format; repeat for several formats. Explicit formats replace the XML default.
--report-dir <directory> -d Choose an existing output directory; defaults to the input directory.
--report-name <name> -n Choose the output basename; defaults to the input basename.
--report-input <file> -i Existing verification workbook for differential Excel generation.
--report-language en\|fr\|de Choose report language; defaults to en.
--json -j Return a structured result for automation.
--nostat Disable usage statistics for this process.
--logdebug Write detailed diagnostics, including library messages.

Available formats are xml, html, markdown, java-enum, eclipse-content-assist, coverage-xls, verification-xls, and verification-xls-update. Repeating a format generates it once. These execution options also apply to .cover inputs without changing the saved project. CLI paths are relative to the current working directory.

reqchecker-cmd --run myfile.cover --report-format html --report-format markdown --report-language fr
reqchecker-cmd --run myfile.cover --report-format verification-xls-update --report-input review.xlsx
reqchecker-cmd --run analysis.json --report-dir "c:\reports" --report-name coverage --json

Differential generation creates a new verification workbook and preserves the existing workbook. --clean <project.cover> removes the reports associated with the project's saved output settings.

Structured results

With --json, capture stdout and stderr separately: stdout contains one UTF-8 JSON object, while stderr contains progress and diagnostics. On success, use data.reports to find the generated files by format and absolute path; also read data.warnings. The response uses the envelope ok, data, error. The error.code value identifies the application error, for example ERROR.MISSING_FILE_OR_PATH or ERROR.NO_REQUIREMENT; it is distinct from the process exit code.

Check the exit code as well: 0 means technical success, 1 license refusal, 2 invalid configuration or no detected requirements, 3 a resource or publication failure, and 10 an unexpected internal error. A successful analysis may report uncovered requirements. If no requirements are detected, check both the source documents and the configured declaration syntax.

Local REST server

reqchecker-cmd --restserver "c:\my project\myfile.cover"

The command prints the connection URL, token and token lifetime:

REST_SERVER_URL=http://127.0.0.1:9490/reqchecker/v4.0
REST_SERVER_TOKEN=...
REST_SERVER_TOKEN_EXPIRES_IN=10800

Send the token with API requests:

curl -H "X-Reqchecker-Token: %REST_SERVER_TOKEN%" "%REST_SERVER_URL%/application"

With --json, the initial response supplies url, token and expiresInSeconds once the server and session are ready.

Graphical launcher

Use reqchecker-gui.exe to open the editor or add a document:

reqchecker-gui --edit "c:\my project\myfile.cover" --english
reqchecker-gui --add "c:\my project\requirements.docx"

A .cover path also opens the project directly. --english and --german choose the graphical interface language; --nostat, --logdebug and --help are available there too. Historical option forms remain accepted.

Agent integration

The Windows installer installs and updates the English reqchecker skill for available native Codex, GitHub Copilot CLI, Gemini CLI, Claude Code and Cursor CLI commands. It helps the agent inspect source conventions, prepare a manifest and interpret declared exports. Restart the agent session to discover the skill. Portable distributions leave agent profiles unchanged; WSL integration is not included.

The installer manages the skill named reqchecker, including local edits. Uninstallation removes that skill even if the agent has been removed. To retain personal instructions, copy and rename both its directory and skill name, for example reqchecker-modified. Other skills are preserved. An unavailable skill location produces a warning while Reqchecker installation continues.