Skip to content

Conversation

@amoeba
Copy link
Member

@amoeba amoeba commented Nov 14, 2025

Adds a global CLI flag, --quiet (-q for short) that, when set, completely suppresses output (i.e., stdout). Also includes updates to keep the docs in sync.

Command line tools use a variety of methods to enable/disable or enhance/reduce output and there's not really a clear best way to do this. The GNU standard suggests --quiet and for the flag to suppress "usual" output. curl takes a different approach with --silent which means "print just my final results, not any progress". uv uses -q to reduce output and -qq to completely disable output.

This does not include tests because I think it would add quite a bit of noise for not much gain.

Closes #202

@amoeba amoeba requested review from ianmcook and zeroshade November 14, 2025 00:19
@amoeba
Copy link
Member Author

amoeba commented Nov 14, 2025

For reviewers, if we wanted to go the uv route with -q/-qq,

  • -q could suppress bubbletea output and only print what we call "final" output
  • -qq could then suppress all output, bubbletea and final

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just needs the addition to the shell completion scripts

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.

Add a --quiet flag into the install command

2 participants