-
Notifications
You must be signed in to change notification settings - Fork 148
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
Autocomplete on 3rd level argument? #7
Autocomplete on 3rd level argument? #7
Comments
When you type |
We should probably have this as a documented example in the README :) |
Great, thanks @sstephenson =] |
I attempted that, and it still didn't work, I don't want to be a bother here, but is it possible to do this?
I even tried adding:
But it always shows Thanks in advance, again. |
Confirmed. Seems like params beyond the first are not being passed to the sub-commands during auto-complete. Verified by dumping:
in the first line of my auto-complete conditional and then trying it to do auto-complete with multiple args:
The params only ever contain |
Yep, can confirm also. |
Fixes qrush#7 (if using bash) When bash-completion is invoked, all arguments are now forwarded to the command, e.g. sub command arg1 arg2 <tab> now triggers: sub --complete command arg1 arg2 instead of just: sub --complete command
First thanks a lot for this, besides being a well thought out framework, it gives us that little push to organize our scripts and share them with the team.
Now for my issue, I'm struggling with the autocompletion, I can make it work for the first level like:
But I cant make it work on the second level, this is what happens:
When I expected:
I've organised the files like:
And put the
--complete
like this:Thanks in advance for any help
The text was updated successfully, but these errors were encountered: