KMP-IMPACT

CLI

The package installs a single console entry point — kmp-impact — with four subcommands.

kmp-impact [COMMAND] [OPTIONS]

Commands

Command Purpose
analyze Run the full pipeline against a single dependency bump.
run-scenario Run a YAML-defined scenario; supports multiple bumps and ground-truth comparison.
detect-version-changes Diff two libs.versions.toml files. Used by the GitHub Action’s detect job.
evaluate Compute Precision / Recall / F1 against a ground truth offline.

Exit codes

Code Meaning
0 Pipeline produced a report. The report may still mark phases as BLOCKED.
1 CLI usage error (missing flag, invalid path).
2 Unrecoverable pipeline error (uncaught exception). Stack trace on stderr.

A BLOCKED phase is not an error: the analyzer correctly detected that it could not produce real data for that phase. See Diagnosing a BLOCKED phase.