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.
This module provides a programmatic entry point that delegates to the native CLI runner.
Class Method Summary collapse
-
.run(args = ARGV) ⇒ void
Run the CLI with the given arguments.
Class Method Details
.run(args = ARGV) ⇒ void
This method returns an undefined value.
Run the CLI with the given arguments.
18 19 20 21 22 23 |
# File 'lib/liteparse/cli.rb', line 18 def run(args = ARGV) LiteParse.run_cli(args) rescue => e $stderr.puts "Error: #{e.}" exit 1 end |