Registry / cli / choice

choice

JSON →
library0.2.0rbrubygemsunverified

Choice is a simple little gem for easily defining and parsing command line options with a friendly DSL.

gem install choice
INSTALL
IMPORT
SIG · CHOICE
C
choice
clirubyv0.2.0
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.

Choice
require 'choice'

Parse command line options

require 'choice' Choice.options do header 'Application options' option :name, :required => true do short '-n' long '--name=VALUE' desc 'Your name' end end puts Choice[:name]
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
OpenAI (training)
1
Resources
choice — gem install choice · libregistry