-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: cli completions + clap version bump to v4.5.17 #3251
Conversation
@zilayo is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
335d84b
to
71f309b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very helpful, thanks for adding it and extra thanks for adding the documentation too.
Just some nits and we can get this in.
all nits fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Small QoL improvement by introducing CLI completions for Anchor.
Instead of repeatedly using
anchor --help
, we can now useanchor
+ tab to generate completions.This adds the
clap_completions
dependency to Anchor.clap_completions uses clap v4.5.17, so the clap version used in Anchor has also been bumped.
There are no breaking changes between the currently used v4.2.4 and v4.5.17 - mainly just performance + bug fixes (https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
Update:
Also added completions for avm.