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

Command line autocompletion for global options / commands / options #193

Closed
Sarah-E-Greene opened this issue Jul 29, 2014 · 3 comments
Closed

Comments

@Sarah-E-Greene
Copy link

I'd really like to see autocomplete for zsh & bash for global options / commands / options.

@calestar
Copy link
Contributor

Hi,
I haven't tried it, but you could look at : https://github.com/davetron5000/gli/wiki/ShellCompletion

Hope this helps :-)

@davetron5000
Copy link
Owner

@Hobbsee the link @calestar posted should handle bash completion of global commands and that's about it. Granted, that is not much.

I am not very good at writing completion scripts (which is why the support is so paltry), but it would be simple enough to expand the help command to output useful stuff for completion. If you could give more info about what GLI-powered apps could ideally get on input and provide on output to make completion easy to create, that might be a good place to start

@davetron5000
Copy link
Owner

Closing as old. Completion is still not very good, so re-open if you still need this.

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

No branches or pull requests

3 participants