Registry / cli / slop
library4.10.1rbrubygemsunverified

A DSL for gathering options and parsing command line flags in Ruby.

gem install slop
INSTALL
IMPORT
SIG · SLOP
S
slop
clirubyv4.10.1
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.

Slop
require 'slop'

Parse command-line options

require 'slop' opts = Slop.parse do |o| o.string '-n', '--name', 'Your name' end puts opts[:name]
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.10.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
slop — gem install slop · libregistry