Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature request] Autocomplete #2
The thing that gets me about docopt is that there is nothing like argcomplete for argparse. I know one can use
If I have and the desired feature "docpie auto-completion" installed:
I want to be able to auto-complete in the shell like this:
Ideally the auto-completion is smart and uses existing built-in completions for things like files, hostnames, ip-adresses, kernel-versions and s.o. In Bash they can be listed with
Thanks for feedback.
I'm not so familiar with how the auto-complete works. Thanks for mention infi.docopt_completion, it should be a good example that I can get start with.
So far the
If you know any source that I can get more knowledge about this "tab-to-complete", please tell me too, thanks :D
I learned a bit here. Shells other than bash of course have a different way to get auto-completion. Bash has many pre-defined completions (see
To install completion for
Or if you dare install the completion system-wide for every user:
In any case, the script