Module: Cane::CLI

Defined in:
lib/cane/cli.rb,
lib/cane/cli/spec.rb,
lib/cane/cli/translator.rb

Defined Under Namespace

Classes: Spec, Translator

Class Method Summary collapse

Class Method Details

.run(args) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/cane/cli.rb', line 10

def run(args)
  opts = Spec.new.parse(args)
  if opts
    Cane.run(opts)
  else
    true
  end
end