gradle / gradle-completion

Gradle tab completion for bash and zsh
MIT License
1.02k stars 131 forks source link

Bash: completion on subcommands #76

Open NielsDoucet opened 5 years ago

NielsDoucet commented 5 years ago

There is completion on subcommands (with specific argument completion) in zsh, but this doesn't appear to be the case in bash. Any chance this could be ported?

NielsDoucet commented 5 years ago

Maybe the scope of this issue should be widened to provide feature parity between zsh and bash completion?

eriwen commented 4 years ago

Thanks for the suggestion. I'm not sure how to provide completion on subcommands with bash (it's much easier in zsh). An inspirational example may be helpful, or even a PR that does this well for just one task (e.g. help --task).

NielsDoucet commented 4 years ago

I don't have much knowledge about the subject myself, but I'll try to whip something up using other projects as examples.