Skip to content

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

Rust

docs: add JSON output example for diagnostic verbs post-#127

YeonGyu-Kima51b2105ed7c
diff --git a/USAGE.md b/USAGE.md
index 5cb5943e..2e64a825 100644
--- a/USAGE.md
+++ b/USAGE.md
@@ -43,6 +43,15 @@ cd rust
/doctor
```
+Or run doctor directly with JSON output for scripting:
+
+```bash
+cd rust
+./target/debug/claw doctor --output-format json
+```
+
+**Note:** Diagnostic verbs (`doctor`, `status`, `sandbox`, `version`) support `--output-format json` for machine-readable output. Invalid suffix arguments (e.g., `--json`) are now rejected at parse time rather than falling through to prompt dispatch.
+
### Interactive REPL
```bash