The thor wiki page, Making an Exectable, shows you how to create a thor powered CLI command that looks something like this:
bash ./mythorcommand foo
You should extend from Thor::Group and that call start method
class Test < Thor::Group desc "Act description" def act puts "do smth" end end Test.start