Skip to content

feat: cli completions + clap version bump to v4.5.17#3251

Merged
acheroncrypto merged 5 commits into
otter-sec:masterfrom
zilayo:cli-completions
Sep 16, 2024
Merged

feat: cli completions + clap version bump to v4.5.17#3251
acheroncrypto merged 5 commits into
otter-sec:masterfrom
zilayo:cli-completions

Conversation

@zilayo

@zilayo zilayo commented Sep 15, 2024

Copy link
Copy Markdown
Contributor

Small QoL improvement by introducing CLI completions for Anchor.

Instead of repeatedly using anchor --help, we can now use anchor + 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)

image image

Update:

Also added completions for avm.

image

@vercel

vercel Bot commented Sep 15, 2024

Copy link
Copy Markdown

@zilayo is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added cli avm feature documentation Improvements or additions to documentation labels Sep 15, 2024

@acheroncrypto acheroncrypto left a comment

Copy link
Copy Markdown
Collaborator

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.

Comment thread cli/src/lib.rs Outdated
Comment thread avm/src/main.rs Outdated
Comment thread CHANGELOG.md Outdated
@zilayo

zilayo commented Sep 15, 2024

Copy link
Copy Markdown
Contributor Author

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!

@acheroncrypto acheroncrypto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

avm cli documentation Improvements or additions to documentation feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants