Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

optparse-lite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optparse-lite

  • 0.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

optparse-lite

what the world needs now

Summary

You've seen Getopt::Long, OptionParser, Rake, Thor? What the world needs now is one more command-line parser. Arbitrarily deeply nested subcommands (lazily loaded), colors, manpage generation, usage syntax generation, option-parsing adapter interface.[^maybe]

Description

You've seen Getopt::Long, OptionParser, Thor? What the world needs now is one more command-line parser. This serves as a backend command line parser that passes the option-parsing portion of it off to OptionParser, Trollop, or any other option-parser that has an adapter[^adapter]. But the parts it does do are really exciting: It features arbitrarily deeply nested subcommands, optionally colorized help screens with smart formatting, automatically generated usage syntaxes, manpage generation[^maybe2], lazy-loading of subcommands, and (get this:) you can turn your command line app into a web app. (is processing a form then displaying a record really that different from CLI that does the same?)[^maybe3]

Awesome

  • <%= rcov_last_percentage_pretty %> test coverage by the authority vested in rcov
  • <%= rcov_last_sloc_pretty %> source lines of code in a single file
  • zero dependencies on anything® except ruby 1.8.7

These and more exciting features guarantee that what everyone's been saying will be true: that 2011 will indeed be the year for command-line interfaces.

Like what you hear and can't wait to get typing? Install it then use it!



### _Footnotes_ [^maybe]: some of these features are in the works, or were working at one point but are part of a grand refactor, *or* will be a part of `optparse-heavy` (vaporware from the future, not yet arrived) [^maybe2]: from the future (_ibid._) [^maybe3]: from the future (_ibid. ibid._) [^adapter]: currently there is only an adapter for Trollop!

FAQs

Package last updated on 21 Jun 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc