Menu

Generate shell completions from the binary, with no new dependency
📰

Generate shell completions from the binary, with no new dependency

DEV Community: rust·Indra Prasetya·12 days ago
#lFnbWmzH
#devtorust#devto#dev#broom#completion
Long article (880 words) — no AI summary yet.
Reading 0:00
15s threshold

New command-line tools keep arriving as single binaries, and shell completion is the small tax each one pays before it feels installed. Trendshift's weekly view, retrieved 24 November 2026 for the week of 23 to 29 November, lists the experimental google-gemini/gemini-api-cli at 503 stars gained that week. The cli tag on dev.to carried a run of independent tool releases on 22 and 23 November, among them a one-command repository readiness checker and a CLI profile manager with terminal OAuth approval. That is not evidence that completions are suddenly fashionable. It is evidence that small tools keep shipping, and that their users still have to wire them into a shell by hand.

Kolgrim33/broom#5 is one concrete way to pay that wiring cost without growing the dependency tree. It adds --completions <shell> to broom, a zero-dependency Rust utility for finding and sweeping stale build artifacts. The pull request was merged on 23 November 2026.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.