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