Commands
kaev / kaev check
Section titled “kaev / kaev check”Analyze the current project without modifying it:
kaevkaev check --verbosekaev check --category performancekaev check --severity highkaev check --fail-on mediumkaev check --no-ui5-lintkaev check --debugkaev report
Section titled “kaev report”Create a new report file:
kaev reportkaev report --output ./reports/kaev.mdkaev report --category security --output ./reports/security.mdkaev report --format json --output ./reports/kaev.jsonkaev report --format sarif --output ./reports/kaev.sarifkaev report --format junit --output ./reports/kaev.xmlThe parent directory must exist. Symbolic-link parent directories are rejected and existing files are never overwritten.
report supports markdown, json, sarif, and junit. The output extension must match the selected format. Without --output, KAEV creates a timestamped filename in the current project root.
kaev doctor
Section titled “kaev doctor”Diagnose compatibility, project detection, configuration, source roots, baseline presence, and UI5 Linter availability:
kaev doctorkaev init
Section titled “kaev init”Create a default .kaevrc.json without overwriting an existing file:
kaev initkaev baseline
Section titled “kaev baseline”Record current findings for a “no new findings” quality gate:
kaev baselinekaev baseline --baseline .kaev-reviewed.jsonkaev explain
Section titled “kaev explain”Show a rule’s category, severity, basis, rationale, recommendation, and references:
kaev explain KAEV-SEC-002kaev workspace
Section titled “kaev workspace”Discover and analyze UI5 projects in a monorepo:
kaev workspacekaev workspace --fail-on highWorkspace discovery searches at most four directory levels and 100 projects, skips hidden directories, dependencies, build output, coverage, and symbolic links, and renders terminal output. Run kaev check inside one project for JSON, SARIF, JUnit, or Markdown artifacts.
Global options
Section titled “Global options”| Option | Meaning |
|---|---|
-v, --verbose |
Show detailed evidence and recommendations. |
-q, --quiet |
Show significant findings only. |
--category <name> |
Analyze project, config, ui5, odata, architecture, performance, or security. |
--severity <level> |
Minimum displayed severity; does not change scores or exit status. |
--fail-on <level> |
Lowest severity that exits with code 1, or none. |
--format <format> |
For checks: terminal, json, sarif, junit, or github; for reports: markdown, json, sarif, or junit. |
--color <mode> |
Use auto, always, or never. |
--no-color |
Disable ANSI color. |
--config <file> |
Use another project-root-relative configuration. |
--baseline <file> |
Use another project-root-relative baseline. |
--no-ui5-lint |
Skip UI5 Linter and mark coverage partial. |
--debug |
Print a sanitized stack trace for an unexpected failure. |
-V, --version |
Print the installed version. |
-h, --help |
Show command help. |
Set KAEV_DEBUG=1 as an alternative to --debug. Debug details are written to stderr; machine-readable report output remains on stdout.
--quiet and --verbose cannot be combined. NO_COLOR disables ANSI color regardless of automatic terminal detection.