-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Reference
darkstar edited this page Oct 3, 2026
·
2 revisions
From diagprint --help (v0.8.1). Every command has --help.
diagprint scan [PATH] [OPTIONS]
diagprint capsule <COMMAND> <CAPSULE>
diagprint history <COMMAND> <HISTORY>
diagprint why <HISTORY> <FINGERPRINT>
diagprint timeline <HISTORY> <FINGERPRINT>
diagprint graph <HISTORY> <FINGERPRINT> [OPTIONS]
diagprint replay <HISTORY> <FINGERPRINT> [--format text|json]
diagprint blame <HISTORY> <FINGERPRINT> [--run <N>] [--repo <PATH>]
| Profile | What runs |
|---|---|
static |
filesystem/static analysis only, executes nothing |
standard |
static + Cargo metadata + Git status (default) |
deep |
adds cargo check, Clippy and tests; may execute project code
|
| Option | |
|---|---|
--profile <PROFILE> · --static · --deep
|
choose a profile |
--format <compiler|plain|audit|markdown|html> |
output format |
-o, --output <FILE> |
write to a file |
--capsule <DIR> |
write a verifiable capsule |
--history <DIR> |
append a privacy-light, hash-chained run (.diagprint/history recommended) |
--history-label <LABEL> |
label the run |
--git-provenance |
bind the run to a clean Git commit/tree |
diagprint scan .
diagprint scan . --deep --history .diagprint/history --history-label pre-refactor
diagprint scan . --static --history .diagprint/history --capsule reports/project.diagpackcapsule verify <CAPSULE> |
verify every manifest-listed payload |
capsule inspect <CAPSULE> |
verify first, then show contents |
verify |
run digests, chain links, sequence, head |
show |
runs, chain identities, semantic transitions |
fingerprints |
logical finding identities and lifecycle state |
lineage <FP> |
one finding across all runs |
why <FP> · timeline <FP> · graph <FP> · replay <FP>
|
same as the top-level commands |
remediation-verify |
verify every remediation evidence sidecar |
git-bind <RUN> <COMMIT> |
backfill a user_asserted Git binding |
Fingerprints can be the full canonical value or a unique leading hex prefix from history fingerprints.
| Command | Options |
|---|---|
why |
none; evidence case file |
timeline |
none; glyph timeline |
graph |
--run <N> · --depth <N> (default 3) · --direction <upstream|downstream|both> · --evidence <explicit|all> · --format <text|json|dot>
|
replay |
--format <text|json> |
blame |
--run <N> · --repo <PATH>
|
Details and output samples: Diagnostic Forensics.
🩺 diagprint · a Cybercore Tech project · MIT OR Apache-2.0
🏠 cybercoretech.net ·
✉️ dev@cybercoretech.net ·
🔒 security@ ·
💬 Discord ·
🐛 Issues ·
☕ Buy Me a Coffee
⚡ Start
- 📥 Installation
- 🚀 Quick Start
- 🧪 Examples
🧱 Build
📤 Ship
🔧 Fix
- 🔧 Remediation
- 🛡️ Safety Model
🔬 Investigate
🛠️ Project
- 🛠️ Contributing
- 🗺️ Roadmap