module Epi::Cli
Public Class Methods
run(args)
click to toggle source
# File lib/epi/cli.rb, line 8 def run(args) command = args.shift || 'help' # The default command begin Command.run command.delete('-'), args rescue Exceptions::Fatal => error STDERR << error.message STDERR << "\n" EventMachine.stop_event_loop end end