Skip to content

feat: add -q/--quiet flag to silence progress output - #4

Merged
vigubikReply merged 1 commit into
mainfrom
dev/quiet-flag
Jul 23, 2026
Merged

feat: add -q/--quiet flag to silence progress output#4
vigubikReply merged 1 commit into
mainfrom
dev/quiet-flag

Conversation

@vigubikReply

Copy link
Copy Markdown
Contributor

Adds a global -q, --quiet flag: suppresses routine progress on stderr (info/success) while warnings and errors still print. stdout (data / --json / --pretty) is unaffected, so scripted pipes stay clean.

  • src/utils/output.ts: module-level quiet state + set_quiet; info/success guarded, warn unchanged.
  • src/index.ts: -q, --quiet option + preAction hook applying it before any command runs.
  • src/__tests__/output.test.ts: offline unit tests (suppression on/off, warnings still emit).

Also serves as the first real end-to-end run of the new pipeline — a feat: that should publish 0.3.0 to GitHub Packages @latest, tag v0.3.0, and create a pre-release GitHub Release on merge.

Ref: REPLY-51236

Suppresses info/success on stderr while warnings and errors still print.

Data on stdout stays clean, so --json/--pretty pipes are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vigubikReply
vigubikReply merged commit e4d2aba into main Jul 23, 2026
6 checks passed
@vigubikReply
vigubikReply deleted the dev/quiet-flag branch July 23, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant