Is there something better than getoptlong

Hi,

I there anything better than GetOptLong for parsing command line arguments.

Kiran.

I've used the main gem (gem install main) and I'm pretty happy with it.

Jesus.

···

On Jan 9, 2008 12:33 PM, SunRaySon <sunrayson@gmail.com> wrote:

Hi,

I there anything better than GetOptLong for parsing command line arguments.

http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/index.html

Cheers

robert

···

2008/1/9, SunRaySon <sunrayson@gmail.com>:

I there anything better than GetOptLong for parsing command line arguments.

--
use.inject do |as, often| as.you_can - without end

SunRaySon a écrit :

[Note: parts of this message were removed to make it a legal post.]

Hi,

I there anything better than GetOptLong for parsing command line arguments.

Kiran.

you can try the "main" gem

gem install getopt

···

On Jan 9, 5:33 am, SunRaySon <sunray...@gmail.com> wrote:

Hi,

I there anything better than GetOptLong for parsing command line arguments.

SunRaySon wrote:

> I there anything better than GetOptLong for parsing command line
arguments.

gem install trollop

···

--
Posted via http://www.ruby-forum.com/\.

SunRaySon wrote:

I there anything better than GetOptLong for parsing command line arguments.

Ok, there are already more than enough excellent libraries mentioned, but here's one that's tiny (~50 lines):

http://redshift.sourceforge.net/argos.rb

···

--
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407