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
Argcomplete-like tab completion #261
Comments
There is a package like that somewhere, I remember, but I don't remember its name and searching for |
There is tool bundled with |
Oh wow, and once again, you just have to ask and the internet gives... It seems to work. As much as I appreciate this tool, eventually there should be native support for tab completion in docopt. The simple reason being, if I were to ship my application, I would have to include Rust, cargo and build the tab completion tool on the target system. All that with no guaratee that it works and a lot of overhead. |
Thank you two! After closer inspection, I found a few quirks with both and reported them. I, however, like |
On a usability note, maybe I think such predictions should be generated fairly readily once you have |
If you just need a docstring to argparse module (based on docopt syntax but with a couple of extensions)... I have implemented a module called argopt (https://pypi.python.org/pypi/argopt#usage or https://github.com/casperdcl/argopt#usage)... |
A feature I would very much like to see is tab completion as in e.g. provided by argcomplete for argparse.
E.g. for the usage string
Usage: myprog.py (add | delete) <item>
, the used would only have to type./myprog.py de
and press TAB to complete this to./myprog.py delete
.The text was updated successfully, but these errors were encountered: