Module: Lorca::CLI::LorcaPlugin

Defined in:
lib/lorca/expansions/cli.rb

Overview

The CLI plugin enables Lorca use through the command line. It autoloads included plugins.

Instance Method Summary collapse

Instance Method Details

#run(options = $argv) ⇒ Object

Run Lorca with options enabled.

lorca = Lorca.add(Lorca::CLI).new
lorca.run


18
19
20
# File 'lib/lorca/expansions/cli.rb', line 18

def run options=$argv
  cli_parse options
end