Module: LiteParse::CLI

Defined in:
lib/liteparse/cli.rb

Overview

CLI support is handled by the native ‘lit` binary. Run `lit –help` from the command line for usage.

Class Method Summary collapse

Class Method Details

.run(args = ARGV) ⇒ Object



9
10
11
12
13
14
# File 'lib/liteparse/cli.rb', line 9

def run(args = ARGV)
  LiteParse.run_cli(args)
rescue => e
  $stderr.puts "Error: #{e.message}"
  exit 1
end