Skip to content
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

GLI Autocompletes partial commands #34

Closed
NickLaMuro opened this issue Aug 10, 2014 · 2 comments
Closed

GLI Autocompletes partial commands #34

NickLaMuro opened this issue Aug 10, 2014 · 2 comments
Labels

Comments

@NickLaMuro
Copy link
Contributor

GLI has a feature to autocomplete a command it it doesn't find an exact match:

https://github.com/davetron5000/gli/blob/gli-2/lib/gli/command_finder.rb

This is a problem when running something like op deploy and thinking that it will do what you want.

There is no way to toggle this as of right now because it is a baked in feature of GLI. We could possibly add a op deploy stub command that just barks at the user for trying a silly thing, but beyond that, we would have to fork GLI and make a pull-request to fix the issue.

@anfleene
Copy link

I like the idea of contributing back to GLI. I think we should be able to turn that off.

@anfleene anfleene added the bug label Dec 12, 2014
@chrisarcand
Copy link
Contributor

Orly. I always thought that was just some bad regex on somebody's part. 👍 Contributing back to GLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants