Skip to content

Conversation

NickyMeuleman
Copy link
Contributor

I heavily rely on shell completions for all CLI tools I use, it requires me to memorize less and prevents spelling mistakes.

This PR adds a way to generate shell completions.

Example of it running on my machine, using the zsh shell and using tab to see all possible completions:
https://asciinema.org/a/UJlAyLIj43c0NCyiQ6i700OhL

Copy link
Owner

@tbillington tbillington left a comment

Choose a reason for hiding this comment

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

Thanks for this, I didn't know about clap_complete! Just a couple minor things then it's good to go.

NickyMeuleman and others added 2 commits October 17, 2023 14:22
Co-authored-by: Trent <2771466+tbillington@users.noreply.github.com>
Copy link
Owner

@tbillington tbillington left a comment

Choose a reason for hiding this comment

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

Awesome, cheers :)

@tbillington tbillington merged commit 69c153b into tbillington:master Oct 17, 2023
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