Class: Xively::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/xively-cli.rb,
lib/xively-cli/version.rb

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

.start(*args) ⇒ Object



6
7
8
9
10
# File 'lib/xively-cli.rb', line 6

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