Commonly agreed command line options gem?

Discussion in 'Ruby' started by LAMBEAU Bernard, Jan 12, 2009.

  1. Hi,

    - Is there a commonly agreed gem for parsing command line options of a
    script (ARGV) ?
    - If no, does anyone know a good one ?

    In all cases (as I'm relatively new to Ruby), what heuristic do you
    use to select the gems you need? There actually a lot of gems
    available and selecting the good one (still maintained, well tested,
    famous ruby developers maybe (?), ...) is pretty hard to me.

    LAMBEAU Bernard, Jan 12, 2009
    1. Advertisements

  2. OptionParser is in ruby core:

    I am very happy with Ara Howard's "main" gem, though.
    It's very easy to use.

    Jesús Gabriel y Galán, Jan 12, 2009
    1. Advertisements

  3. Jarmo Pertman, Jan 13, 2009
  4. LAMBEAU Bernard

    Sebastian W. Guest

    My absolute favorite is "trollop". It is mega-mega awesome.
    Sebastian W., Jan 14, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.