-
Notifications
You must be signed in to change notification settings - Fork 11.7k
[sui][cli] Add support for shell completion in CLI using clap_complete #24469
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
related #24297 |
|
Nice @awnion. Thank you. Look forward for it to be pushed! |
|
@awnion How can I test it with Bash on Linux? |
Cvijan4PointO
left a comment
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.
I like that you did it in a clean and efficient way and I think that this is a good addition to SUI CLI tooling.
If you have Rust and Cargo set up, you can generate the completion file from my branch. E.g like this:
Let me know if you run into any issues with the file path! |
|
Tested with |
Description
feat: Add support for shell completion in CLI using clap_complete
Test plan
Tested by hands yet on ZSH
Need help with testing all the targets
Release notes
feat: Add support for shell completion in CLI using clap_complete