Skip to content

feat: add --quiet flag to cli for suppressing output - #208

Merged
amoeba merged 2 commits into
columnar-tech:mainfrom
amoeba:feat/install-uninstall-quiet
Dec 11, 2025
Merged

amoeba merged 2 commits into
columnar-tech:mainfrom
amoeba:feat/install-uninstall-quiet

Conversation

@amoeba

@amoeba amoeba commented Nov 14, 2025

Copy link
Copy Markdown
Member

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

amoeba commented Nov 14, 2025

Copy link
Copy Markdown
Member Author

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

@zeroshade zeroshade left a comment

Copy link
Copy Markdown
Member

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

@amoeba

amoeba commented Dec 11, 2025

Copy link
Copy Markdown
Member Author

I sync'd completions and tested fish locally.

Re: the -q vs. -qq idea above, I don't feel we really need two levels of quiet right now so I'm going to leave this PR with just --quiet/-q.

@amoeba
amoeba merged commit 275193b into columnar-tech:main Dec 11, 2025
zeroshade pushed a commit that referenced this pull request Apr 17, 2026
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](https://www.gnu.org/prep/standards/standards.html#Option-Table)
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`](https://docs.astral.sh/uv/reference/cli) 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
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