[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

commandline gem

Ara.T.Howard

3/6/2007

8 Answers

Joel VanderWerf

3/6/2007 12:14:00 AM

0

ara.t.howard@noaa.gov wrote:
>
> 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/opt...

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.

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

Ben Bleything

3/6/2007 12:22:00 AM

0

On Tue, Mar 06, 2007, ara.t.howard@noaa.gov wrote:
> 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.ruby...

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

Ben

Ara.T.Howard

3/6/2007 12:22:00 AM

0

Ara.T.Howard

3/6/2007 12:27:00 AM

0

Joel VanderWerf

3/6/2007 5:13:00 AM

0

ara.t.howard@noaa.gov wrote:
> On Tue, 6 Mar 2007, Joel VanderWerf wrote:
>
>> ara.t.howard@noaa.gov wrote:
>>>
>>> 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/opt...
>>
>> 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? ;-)

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?

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

Ara.T.Howard

3/6/2007 5:28:00 AM

0

gga

3/6/2007 3:23:00 PM

0

On 6 mar, 02:12, Joel VanderWerf <v...@path.berkeley.edu> wrote:
> ara.t.how...@noaa.gov wrote:
> > On Tue, 6 Mar 2007, Joel VanderWerf wrote:
>
> >> ara.t.how...@noaa.gov wrote:
>
> >>> 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/opt...
>
> >> 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? ;-)
>
> 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.ruby... -- Declare.rdoc
for documentation.



Jan Friedrich

3/6/2007 9:34:00 PM

0

ara.t.howard@noaa.gov schrieb:
> quickly building commandline applications
http://trollop.ruby...

I like it. :D

regards
Jan