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] shell.base ||= self if shell.respond_to?(:base) end