Skip to content
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: generate shell completion #525

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

Eric-Song-Nop
Copy link
Collaborator

I saw clap_complete is in Cargo.toml, but did not see it's usage, so I created a simple completion subcommand with it. Feel free to remove it if it's redundant work.


我看依赖里有clap_complete但是好像没有实现shell补全,就随便写了一个。假如其实已经有了就把这个issue 关了好了。

@Myriad-Dreamin Myriad-Dreamin changed the title basic shell completion feat: generate shell completion Aug 12, 2024
@Myriad-Dreamin
Copy link
Owner

Thanks. the clap_complete dependency was copied from other project. I also copied the generation code from the project just now.

@Myriad-Dreamin Myriad-Dreamin merged commit 190b09d into Myriad-Dreamin:main Aug 12, 2024
12 of 13 checks passed
@Eric-Song-Nop Eric-Song-Nop deleted the cli_complete branch August 12, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants