You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the library! This issue is really a feature request.
Request
It would be useful to me and potentially others to not have the default completer completely overriden once a non-nil completer is provided. This is because I'd still like to use original flag and sub-command completion if the parent command has a custom completer.
Proposal
I propose that the decision in the completion function here is modified to:
This means that grumble.Command would have a new field like OverrideCompleter (which could be set to 'true' by default to preserve original behaviour). If I'm not mistaken, the following change would mean that the custom completion results as well as the default completion results would be suggested when TAB is hit.
The text was updated successfully, but these errors were encountered:
Thanks for the library! This issue is really a feature request.
Request
It would be useful to me and potentially others to not have the default completer completely overriden once a non-nil completer is provided. This is because I'd still like to use original flag and sub-command completion if the parent command has a custom completer.
Proposal
I propose that the decision in the completion function here is modified to:
This means that grumble.Command would have a new field like
OverrideCompleter
(which could be set to 'true' by default to preserve original behaviour). If I'm not mistaken, the following change would mean that the custom completion results as well as the default completion results would be suggested when TAB is hit.The text was updated successfully, but these errors were encountered: