Is there something better than getoptlong

Hi,

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

Kiran.

On Jan 9, 2008 12:33 PM, SunRaySon [email protected] wrote:

Hi,

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

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

Jesus.

2008/1/9, SunRaySon [email protected]:

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

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

Cheers

robert

On Jan 9, 5:33 am, SunRaySon [email protected] wrote:

Hi,

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

gem install getopt

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

SunRaySon wrote:

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

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