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

Shell completion #97

Open
djmattyg007 opened this issue Jun 20, 2022 · 3 comments
Open

Shell completion #97

djmattyg007 opened this issue Jun 20, 2022 · 3 comments

Comments

@djmattyg007
Copy link

It would be great to have support for shell completion for bash, zsh, etc.

@dmerejkowsky
Copy link
Collaborator

Yeah, but I once tried to write a completion function by hand and hated every minute of it 😛

Also, I prefer no auto completion at all rather than a faulty one but maybe that's just me.

Feel free to try and send a patch, though ;)

@djmattyg007
Copy link
Author

What about integrating clap-complete?

https://github.com/clap-rs/clap/tree/master/clap_complete

@dmerejkowsky
Copy link
Collaborator

dmerejkowsky commented Jun 22, 2022

Dunno. Might work. Also, one of the links in clap_complete README talks about fig, which seems the least painful way to write completion scripts I've seen so far ...

Might try it one day. Again, feel free to try yourself :)

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

No branches or pull requests

2 participants