Thor is just a ruby. All you have to do is make sure the dependency is in your gemspec and then just the file from the main gem file is required.
Example:
Your gemspec gem should contain the following line:
gem.add_dependency :thor
Then in. /lib/kermit.rb include the following:
require 'cli'
Then create a file with the name. /lib/cli.rb and put the torus code there. For instance:
require 'thor' class App < Thor
source share