commandline gem

A

ara.t.howard

i think it was jim freeze that realased a gem for quickly building commandline
applications, does anyone remember where it's gone too? i only found a dead
project on rubyforge...

thanks.

-a
 
J

Joel VanderWerf

i think it was jim freeze that realased a gem for quickly building
commandline
applications, does anyone remember where it's gone too? i only found a
dead
project on rubyforge...

thanks.

-a

This seems to have a downloadable gem:

http://rubyforge.org/projects/optionparser/

I've got that gem installed and the docs suggest that it includes the
commandline app framework, but I haven't used it. The file
commandline/application.rb is included, so that looks promising.
 
B

Ben Bleything

i think it was jim freeze that realased a gem for quickly building
commandline applications, does anyone remember where it's gone too? i
only found a dead project on rubyforge...

You're not thinking of highline, are you?

http://highline.rubyforge.org/

I also know that I mentioned recently that I was working on one, but
it's not released yet, sadly.

Ben
 
A

ara.t.howard

This seems to have a downloadable gem:

http://rubyforge.org/projects/optionparser/

I've got that gem installed and the docs suggest that it includes the
commandline app framework, but I haven't used it. The file
commandline/application.rb is included, so that looks promising.

thanks a bunch joel - that's great!

so - have rolled your own framework just like the rest of us? ;-)

-a
 
J

Joel VanderWerf

thanks a bunch joel - that's great!

so - have rolled your own framework just like the rest of us? ;-)

Nah, not me. I'd consider using this or highline (do they even solve the
same problem?).

Do you have plans to do a comparison and post the results?
 
A

ara.t.howard

Nah, not me. I'd consider using this or highline (do they even solve the
same problem?).

no. but commandline looks very nice. it didn't exist when i wrote mine (part
of alib) or i would have used it.
Do you have plans to do a comparison and post the results?

i'm doing a small one for a class as we speak. perhaps it'll motivate me to
doccument mine!

cheers.

-a
 
G

gga

Nah, not me. I'd consider using this or highline (do they even solve the
same problem?).

They don't. Highline is something unique. It allows the easy
creation of command-line applications that ask you questions on a
local machine, like Eliza.

Commandline, on the other hand, is mainly a replacement/alternative to
getopt or optparse. For that, there's also my port of Perl's
Getopt::Declare: http://getoptdeclare.rubyforge.org/ -- Declare.rdoc
for documentation.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top