Registry / cli / optionparser

optionparser

JSON →
library0.5.1rbrubygemsunverified

A flexible command line option parser.

cli
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.

require 'optionparser'

Parse command line options

require 'optionparser' parser = OptionParser.new do |opts| opts.on('-v', '--verbose', 'Run verbosely') do puts 'Verbose mode' end end parser.parse!
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources