Parent
#170
What to build
Add two flags to the export command:
--quiet / -q: suppresses the zero-events warning on stderr. The stdout data stream is always unaffected.
--json: accepted silently as a no-op. The command always emits NDJSON; this flag exists so users who pass it habitually don't get an unexpected error.
Write tests first (red → green), extending the table in cmd/export/export_test.go:
| Case |
Verify |
Zero events + -q |
stdout empty, stderr silent, exit 0 |
--json flag present |
command does not error; output is still NDJSON |
Acceptance criteria
Blocked by
Parent
#170
What to build
Add two flags to the
exportcommand:--quiet/-q: suppresses the zero-events warning on stderr. The stdout data stream is always unaffected.--json: accepted silently as a no-op. The command always emits NDJSON; this flag exists so users who pass it habitually don't get an unexpected error.Write tests first (red → green), extending the table in
cmd/export/export_test.go:-q--jsonflag presentAcceptance criteria
--quiet/-qflag wired; zero-events warning suppressed when set--jsonflag accepted without error (no-op)--quietmise run lintandmise run testcleanBlocked by