usage 3.3.0#280717
Merged
BrewTestBot merged 2 commits intomainfrom May 4, 2026
Merged
Conversation
botantony
approved these changes
May 4, 2026
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
Auto-completion for usage shebang scripts (#620 by @jdx). A new
usage generate completion-init <shell>subcommand (aliasci) emits a one-time init script for bash, zsh, and fish. Source it once and any executable on$PATHwhose first line is ausageshebang gains tab-completion — no per-scriptusage g completion <shell> <bin> -f <script>generation step.Mechanism per shell:
complete -Ddefault handler that peeks the candidate command's first line for ausageshebang and dispatches tousage complete-word. Non-usage commands chain to bash-completion's_completion_loader, so existing completions keep working.compdef -default-fallback with the same shebang detection, falling back to_filesfor non-usage commands.$PATHonce at shell startup and registerscomplete -c <name>for each shebang script it finds.Pass
--usage-bin(or setJDX_USAGE_BIN) if yourusagebinary is installed under a different name.Third-party integration guides. Documentation now covers using usage alongside Commander.js, oclif, and yargs (#616 by @gaojunran) as well as Typer and Click (#619 by @gaojunran), based on the usage-integrations monorepo.
Fixed
<=640pxwith the close button pinned to the top-right corner, fixing cramped two-line wrapping on mobile (#603 by @jdx).Full Changelog: jdx/usage@v3.2.1...v3.3.0
💚 Sponsor usage
usage is built by @jdx at en.dev — an independent developer-tooling studio behind mise, aube, hk, and more. Work on usage is funded by sponsorships.
If
usagepowers CLI specs, docs, or completions for a tool you maintain or use, please consider sponsoring at en.dev. Every sponsorship helps the project stay independent and moving.View the full release notes at https://github.com/jdx/usage/releases/tag/v3.3.0.