Registry / cli / optitron

optitron

JSON →
library0.3.3rbrubygemsunverified

Sensible options parsing for Ruby command-line applications.

gem install optitron
INSTALL
IMPORT
SIG · OPTITRON
O
optitron
clirubyv0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Optitron
require 'optitron'

Parse command-line options with a simple DSL

require 'optitron' parser = Optitron.new do opt 'name', 'Your name' end options = parser.parse(['--name', 'Alice']) options[:name] # => 'Alice'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
Amazon
1
Resources
optitron — gem install optitron · libregistry