Add a --json flag so all command output can be emitted as machine-readable JSON for scripting and CI pipelines.
Acceptance Criteria
--json flag accepted on any subcommand
- Output is valid JSON (parse without error)
- Human-readable output remains the default when flag is absent
- Error messages are also JSON-formatted when
--json is active: {"error": "..."}
Add a
--jsonflag so all command output can be emitted as machine-readable JSON for scripting and CI pipelines.Acceptance Criteria
--jsonflag accepted on any subcommand--jsonis active:{"error": "..."}