Choice. A tool that makes it easier to write programs that accept typed commands from people.

github.com/defunkt/choice

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

July 2016
  • Merge pull request #18 from foucist/drop_lazyhash
  • Update example & documentation
  • Remove LazyHash, use symbol hash keys in choices hash
February 2015
  • Merge pull request #17 from nikkypx/dev
January 2015
  • Remove redundant stuff
  • Refactor if statement
  • Merge pull request #16 from defunkt/option-refactoring
  • Replace options hash with single flag
  • Change hash to instance variables
  • Convert from array to hash
  • Remove method_missing stuff from Option
  • Restore significant whitespace. Find a better way later.
  • Remove extraneous whitespace.
December 2014
  • Merge pull request #15 from defunkt/remove-1.8.6-stuff
  • Bump version
  • Remove and simplify > 1.9 hack
  • Remove < 1.9 Hash monkeypatch
  • Remove whitespace.
  • Add Travis CI badge.
  • Force latest patch level of MRI 2.1 in CI