Skip to content

feat(cli): add --quiet/-q flag#8

Closed
slai11 wants to merge 1 commit intomainfrom
feat/add-quiet-flag
Closed

feat(cli): add --quiet/-q flag#8
slai11 wants to merge 1 commit intomainfrom
feat/add-quiet-flag

Conversation

@slai11
Copy link

@slai11 slai11 commented Mar 18, 2026

Summary

  • Add --quiet / -q global flag that suppresses non-essential output
  • Flag is hoisted to front of args like other globals (--verbose, --profile, --format)
  • check_for_updates() is skipped when -q/--quiet is present
  • quiet field added to CliContext for downstream commands to check

Test plan

  • uv run pytest tests/test_main.py -v — 17 tests pass (9 new)
  • uv run ruff check . && uv run ruff format --check . — clean
  • Manual: allium -q realtime ... suppresses update notice

🤖 Generated with Claude Code

Add a --quiet/-q global flag that suppresses update notices from
check_for_updates() and other non-essential stderr output. The flag
is hoisted like other global options and stored on CliContext for
downstream use.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@slai11 slai11 closed this Mar 18, 2026
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