CLI
CLI commands
The CLI surface is intentionally small: six commands that cover first-run analysis, baselines, regression checks, budgets, reports, and live watch feedback. Start from the contract, then wire it into your workflow.
Command map
Pick the page that matches the job you are trying to do right now.
analyze
Collect a current snapshot of a solution without writing files so teams can learn the shape before they automate anything.
CLI commandreport
Generate a self-contained HTML report with metrics, filter verdicts, budget status, and optional trend analysis.
CLI commandbaseline
Write the current snapshot to a baseline file so future runs can measure drift instead of relying on memory.
CLI commanddiff
Compare the current snapshot to the committed baseline and optionally fail the run when regression crosses the configured rules.
CLI commandbudget
Render a four-dimension scorecard that compares the current snapshot to the thresholds in simplicity.json.
CLI commandwatch
Monitor a solution continuously and re-run analysis after file changes so simplification work gets immediate feedback.