Class: Evernotable::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/evernotable/cli.rb

Class Method Summary collapse

Class Method Details

.start(*args) ⇒ Object



7
8
9
10
11
# File 'lib/evernotable/cli.rb', line 7

def self.start(*args)
  command = args.shift.strip rescue "help"
  Evernotable::Command.load
  Evernotable::Command.run(command, args, :production)
end