$ ./executable-with-subcommands-using-thor.rb Tasks: executable-with-subcommands-using-thor.rb help [TASK] # Describe available tasks or one specific task executable-with-subcommands-using-thor.rb subA [TASK] # Execute a task in namespace subA executable-with-subcommands-using-thor.rb subB [TASK] # Execute a task in namespace subB executable-with-subcommands-using-thor.rb test # test in CLI $ ./executable-with-subcommands-using-thor.rb help Tasks: executable-with-subcommands-using-thor.rb help [TASK] # Describe available tasks or one specific task executable-with-subcommands-using-thor.rb subA [TASK] # Execute a task in namespace subA executable-with-subcommands-using-thor.rb subB [TASK] # Execute a task in namespace subB executable-with-subcommands-using-thor.rb test # test in CLI $ ./executable-with-subcommands-using-thor.rb subA help test Usage: executable-with-subcommands-using-thor.rb subA test test in SubCommandA