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

remi-optparse-simple

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remi-optparse-simple

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= optparse-simple

A partial pre-implementation of OptionParser, in particular that actual parsing part:

opts = OptionParser.new do |opts| opts.in('-f', '--foo'){ ... } end

opts.parse! args

I really love optparse but:

  • I don't care about separators / banners / etc, I use other gems/libraries for that stuff
  • optparse is a PITA to extend and the source code is 1,791 lines long!

This is a re-implementation of the part of optparse that actually parses.

This is not trying to be a whole framework for creating CLI applications. There are already numerous great tools out there. Unfortunately, many of them re-implement OptionParser, themselves, because there's no library out there (that I know of) that just does the parsing part.

Our libraries need to be more UNIX-y! "Write programs that do one thing and do it well."

== install

NOT YET COMPLETE

FAQs

Package last updated on 10 Aug 2014

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