Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.61 KB

cli.md

File metadata and controls

71 lines (52 loc) · 1.61 KB

CLI reference

Binary: cpmp. Subcommands: open · crawl · audit · report · view.

cargo install --git https://github.com/QaAudio/cpmp.git
# or from a checkout:
cargo run --release -- <subcommand> …

open <roots…>

Crawl then serve the viewer (opens a browser unless --no-open).

Flag Default Notes
-o, --output out/graph.json Graph path
--port 7701 HTTP port
--evidence off Snippets on edges (larger JSON)
--timings off Per-stage timings on stderr
--no-open off Do not launch a browser

crawl <roots…>

Write graph.json only.

Flag Default
-o, --output out/graph.json
--evidence off
--timings off

audit

Print a summary from an existing graph.

Flag Notes
-i, --input Path to graph.json (required)
--strict Exit 1 if any high-severity findings

report

Export findings.

Flag Default
-i, --input (required)
-o, --output out/report (stem; extension from format)
--format md (md | json | csv)
--min-severity info

view

Serve the viewer for an existing graph.

Flag Default
-i, --input (required)
--port 7701
--no-open off

Examples

cpmp open docs --timings
cpmp crawl docs notes -o out/graph.json --evidence
cpmp audit -i out/graph.json --strict
cpmp report -i out/graph.json -o out/report --format json --min-severity high
cpmp view -i out/graph.json --port 7701