You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed! Using this test case placed in the top-level of the thor source tree:
$ ruby -Ilib test.rb help
Tasks:
test.rb help [TASK] # Describe available tasks or one specific task
test.rb sub # This is a subcommand
which leads the user to expect more useful help via the arguments help sub. But instead:
$ ruby -Ilib test.rb help sub
Usage:
test.rb sub
This is a subcommand
whereas:
$ ruby -Ilib test.rb sub help
Tasks:
test.rb sub first # This is the first task in the subcommand
test.rb sub help [COMMAND] # Describe subcommands or one specific subcommand
test.rb sub second # This is the second task in the subcommand
Would be interested in the status of this. It looks like its been reported and fixed and broken at least once from looking at the issues history. (Issue #128 and looks like things got lost maybe in issue #147 )
Or am I missing something with subcommands? I'm seeing this exact same problem with version 0.18.1.
Currently it shows a default (uninformative) help page instead of showing a list of all the commands in the subcommand.
The text was updated successfully, but these errors were encountered: