Method: Consist::ThorExt::Start#start
- Defined in:
- lib/consist/thor_ext.rb
#start(given_args = ARGV, config = {}) ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/consist/thor_ext.rb', line 31 def start(given_args = ARGV, config = {}) config[:shell] ||= Thor::Base.shell.new handle_help_switches(given_args) do |args| dispatch(nil, args, nil, config) end rescue => e handle_exception_on_start(e, config) end |