Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Ruby libraries should I use for building a console-based application?

I want to build a console-based application with Ruby. I quick googled and found all of these below libraries. Please someone suggest me which one should I use. Thank you.

  • OptionParser (http://ruby-doc.org/stdlib-1.9.3/libdoc/optparse/rdoc/OptionParser.html)
  • Thor (https://github.com/wycats/thor)
  • Rubikon (http://koraktor.de/rubikon/)
  • Trollop (http://trollop.rubyforge.org/)
  • Clamp (https://github.com/mdub/clamp)
  • Choice (http://choice.rubyforge.org/)
  • Methadone (https://github.com/davetron5000/methadone)
  • GLI (https://github.com/davetron5000/gli)
  • Commander (http://rdoc.info/github/visionmedia/commander/master/frames)
  • Main (https://github.com/ahoward/main)
  • CLAP (https://github.com/soveran/clap)
  • Optiflag (http://optiflag.rubyforge.org/)
  • Hirb (http://tagaholic.me/hirb/)
  • Boson (http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html)
like image 556
tonkla Avatar asked Nov 04 '22 04:11

tonkla


1 Answers

Ruby Toolbox is a website for comparing different gems. You may want to use it to evaluate which gems are reasonably popular.

You may find Really Cheap Command-Line Option Parsing in Ruby useful as well.

like image 77
Andrew Grimm Avatar answered Nov 10 '22 16:11

Andrew Grimm