Summary
Add a global --quiet / -q flag that suppresses all non-essential output (spinners, status messages, decorative elements), leaving only the AI response or command result.
Use Case
Important for scripting and piping:
jam ask "What is 2+2?" --quiet # just the answer, no spinners or decorations
jam search "TODO" --quiet # just the search results
Implementation Notes
- Add
--quiet to the global options in src/index.ts
- Pass through to commands via
globalOpts()
- Suppress: logo, spinners, status lines, decorative separators
- Keep: the actual AI response, search results, error messages
Acceptance Criteria
Summary
Add a global
--quiet/-qflag that suppresses all non-essential output (spinners, status messages, decorative elements), leaving only the AI response or command result.Use Case
Important for scripting and piping:
Implementation Notes
--quietto the global options insrc/index.tsglobalOpts()Acceptance Criteria
--quiet/-qflag available on all commands--json(already minimal, but should suppress any extra output)