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

*nix commandline app completion #77

Open
czhang03 opened this issue Jul 11, 2016 · 0 comments
Open

*nix commandline app completion #77

czhang03 opened this issue Jul 11, 2016 · 0 comments

Comments

@czhang03
Copy link
Contributor

czhang03 commented Jul 11, 2016

there are more and more *nix apps that has ported to windows, but they don't really follows the way that window's style of completion.

For each parameter they have a short name, start by -; and a long name, started by --, the short name of switch can merge together like -rf means apply switch recursive and force.

Is it possible to create completion for this?

like in fish shell, you can create compeletion like:

complete -c you-get -s V -l version -d 'print version and exit'

-c is command, -s is for short name, -l if for long name, and -d is for description.
I think it will be nice if you guys can support this.

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

No branches or pull requests

1 participant