Registry / cli / help-parser

help-parser

JSON →
library9.0.240926rbrubygemsunverified

Parses command-line options based on the help text of a program.

gem install help_parser
INSTALL
IMPORT
SIG · HELP-PARSER
H
help-parser
clirubyv9.0.240926
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.

HelpParser
require 'help_parser'

Parse command-line arguments using a help text definition.

require 'help_parser' parser = HelpParser.new("Usage: myapp [options]\n-h, --help\n-v, --version") options = parser.parse(ARGV) puts options
Debug
Known issues

No known issues recorded.

Upgrade
Version history
9.0.240926latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
help-parser — gem install help-parser · libregistry