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

Completion incorrectly finds core context, not task context, with core flags #239

Closed
bitprophet opened this Issue Apr 29, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@bitprophet
Member

bitprophet commented Apr 29, 2015

E.g. completing inv -c mycollection mytask - or inv --debug mytask - doesn't show mytask flags, but instead shows core flags, due to some issue with the partial parsing during completion.

Specifically, the partial parsing doesn't know what the core flags are for some reason, e.g. it starts off, looks at -c (or --debug or whatever), goes "dafuq is this?" and bails too early. What was expected, and what happens when core flags are not involved, is that this parsing step sees the task name, switches to its context, then bails on the partial flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment