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
Is there a way to generate a tab completions bash script? #149
Comments
For any questions it's better to search python argparse helps. Something like https://stackoverflow.com/questions/8387924/python-argparse-and-bash-completion As far as i see, they have https://github.com/kislyuk/argcomplete, but it was not ported to JS. |
Yep, I used Python's argcomplete in the past and it's super powerful. Nails it with a single line of code! Thank you for confirming. I guess this is a feature request then :) |
This is useful suggestion, but i have no ideas about deadlines. All i can say, In 1-2 weeks port of 3.9.4 argparse will be ready (as v2.+ o this package, see progress in branches). Then no plans to continue - too much of other deals. |
I see. Well, maybe some more people vote on this to bump it up the list. In the meantime, since the API is very similar, maybe there is a workaround of making the code run in Python, letting register-python-argcomplete generate the Shell stuff from there and then re-using that. |
What would be a recommended way to achieve something similar to https://stackoverflow.com/questions/32258362/setup-command-line-completion-with-yargs?
The text was updated successfully, but these errors were encountered: