Registry / cli / oyster

oyster

JSON →
library0.9.5rbrubygemsunverified

Command-line input parser that doesn't hate you

gem install oyster
INSTALL
IMPORT
SIG · OYSTER
O
oyster
clirubyv0.9.5
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.

Oyster
require 'oyster'

Parsing command-line arguments with Oyster

require 'oyster' spec = Oyster.spec do flag :verbose, "Enable verbose output" option :name, "Your name" end args = spec.parse(["--verbose", "--name", "Alice"]) puts args.verbose? # true puts args.name # "Alice"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
oyster — gem install oyster · libregistry