Skip to content

Commands

Analyze the current project without modifying it:

Terminal window
kaev
kaev check --verbose
kaev check --category performance
kaev check --severity high
kaev check --fail-on medium
kaev check --no-ui5-lint
kaev check --debug

Create a new report file:

Terminal window
kaev report
kaev report --output ./reports/kaev.md
kaev report --category security --output ./reports/security.md
kaev report --format json --output ./reports/kaev.json
kaev report --format sarif --output ./reports/kaev.sarif
kaev report --format junit --output ./reports/kaev.xml

The 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.

Diagnose compatibility, project detection, configuration, source roots, baseline presence, and UI5 Linter availability:

Terminal window
kaev doctor

Create a default .kaevrc.json without overwriting an existing file:

Terminal window
kaev init

Record current findings for a “no new findings” quality gate:

Terminal window
kaev baseline
kaev baseline --baseline .kaev-reviewed.json

Show a rule’s category, severity, basis, rationale, recommendation, and references:

Terminal window
kaev explain KAEV-SEC-002

Discover and analyze UI5 projects in a monorepo:

Terminal window
kaev workspace
kaev workspace --fail-on high

Workspace 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.

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.