class Monte::CLI

Handle the application command line parsing and the dispatch to various command objects

@api public

Constants

Error

Error raised by this runner

Public Instance Methods

carlo() click to toggle source
# File lib/monte/cli.rb, line 24
def carlo
  if options[:help]
    invoke :help, ['carlo']
  else
    require_relative 'commands/carlo'
    Monte::Commands::Carlo.new.execute
  end
end
version() click to toggle source
# File lib/monte/cli.rb, line 15
def version
  require_relative 'version'
  puts "v#{Monte::VERSION}"
end