CLI Reference
Complete TrueMend command-line reference
Analysis
truemend audit src/ # analyze (default)
truemend src/ --quick # metrics only, fast
truemend src/ --ci # exit 0/1/2 for CI pipelines
truemend src/ --json # JSON output
truemend src/ --detect # unused imports, duplicates, stale code
truemend src/ --aggression recommended # set detection aggression level
Fixing
truemend fix src/ # apply deterministic fixes
truemend fix src/ --dry-run # preview fixes without applying
Slop Detection
truemend slop src/ # detect AI-generated code smells
Cost & Prediction
truemend cost src/ # estimate remediation cost
truemend predict src/ # predict quality trajectory
Workflow
truemend discover src/ # discover project structure
truemend plan # generate remediation plan
truemend status # show current quality status
truemend report --format pdf # generate PDF report
Agent UX
truemend next src/ # highest-impact issue to fix
truemend loop src/ # auto-advancing fix loop
Aggression Levels
| Level | Description |
|---|---|
discovery | Minimal — only critical issues |
recommended | Balanced — critical + high (default) |
excellence | Thorough — includes medium issues |
beast | Aggressive — all patterns enabled |
zealot | Maximum — strictest thresholds |