-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Skip completion for specific argument #223
Comments
Sounds like a good idea. My preference would be to create a special completer class in https://github.com/kislyuk/argcomplete/blob/master/argcomplete/completers.py,
You need to add the new class, logic to argcomplete/argcomplete/__init__.py Lines 348 to 350 in e72c5fb
|
I would like a specific argument (e.g.
--foo
) to not appear in the completion. Since the application is pretty modular I can't configure e.g. the globalCompletionFinder
. I found the option to sethelp=argparse.SUPPRESS
but I still want a help text to be shown for--help
.I was thinking if something like this would be feasible:
If anyone could be give me some pointers I am happy to provide a PR for this feature idea.
The text was updated successfully, but these errors were encountered: