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

Add shell completion subcommand #280

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ede1998
Copy link

@ede1998 ede1998 commented Nov 1, 2024

Implements feature request #164

I added all shell completions that clap_complete supports out of the box. I didn't test them apart from checking that the script generation does not panic. For bash, I also checked that I get some completions but I didn't check if completions for all parameters are there.

This PR could be expanded upon with compile time generation of completions and adding those into the packaging but just having the command should be enough for a first version.

Cargo.lock Outdated Show resolved Hide resolved
@ede1998 ede1998 marked this pull request as ready for review November 1, 2024 20:41
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.

1 participant