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

Custom Command Level Bash Completion #1168

Closed
altostratous opened this issue Nov 14, 2018 · 2 comments
Closed

Custom Command Level Bash Completion #1168

altostratous opened this issue Nov 14, 2018 · 2 comments
Labels
f:completion feature: shell completion

Comments

@altostratous
Copy link

altostratous commented Nov 14, 2018

I have reviewed recent change logs and #65. AFAIK click has a hardcoded behavior to get command autocompletion options only based on filtering commands which do not start with what the user has typed. Hence the following case-insensitive use case won't be possible (unless you inject the search function to the bash completion module as a workaround):

# Upon pressing double tab after the following
$ click-tool goh
GoHell         GoHere

It would be helpful to have something like autocompletion option mentioned here for Groups as well as options. For example, having a custom search function as a method, or field to be configured for Groups, would be really helpful.

Also, I am really very motivated to contribute to click and will form a PR if you're interested in this feature.

Regards

@altostratous
Copy link
Author

Still looking forward to a response from the team. @mitsuhiko

@davidism davidism added the f:completion feature: shell completion label Feb 28, 2020
@davidism
Copy link
Member

davidism commented Aug 9, 2020

Completion is being rewritten in #1622.

@davidism davidism closed this as completed Aug 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f:completion feature: shell completion
Projects
None yet
Development

No branches or pull requests

2 participants