module Thor::Shell
def initialize(args=[], options={}, config={})
MyScript.new [1.0], { :foo => :bar }, :shell => Thor::Shell::Basic.new
end
argument :first, :type => :numeric
class MyScript < Thor
==== Examples
shell
def initialize(args=[], options={}, config={}) super self.shell = config[:shell] self.shell.base ||= self if self.shell.respond_to?(:base) end