rails / thor

Thor is a toolkit for building powerful command-line interfaces.
http://whatisthor.com/
MIT License
5.12k stars 553 forks source link

Easier tab completion #215

Open maxmeyer opened 12 years ago

maxmeyer commented 12 years ago

Hi there,

I stumpled across a nice feature in https://github.com/davetron5000/gli . If you call

cmd help -c 

it only returns the subcommands which can be invoked (no more help text). It would be great to see a similar functionality in thor as well.

cmd help -c
new
rm
chg

cmd new help -c
file
pic
vid

#or

cmd subcmds
new
rm
chg

cmd new subcmds
file
pic
vid

If there is that kind of functionality given in thor, I would be grateful if you point me to the documentation of it. Thx.

Cheers max meyer

ms-ati commented 9 years ago

:+1: