Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > commandline gem

Reply
Thread Tools

commandline gem

 
 
ara.t.howard@noaa.gov
Guest
Posts: n/a
 
      03-06-2007

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
--
be kind whenever possible... it is always possible.
- the dalai lama

 
Reply With Quote
 
 
 
 
Joel VanderWerf
Guest
Posts: n/a
 
      03-06-2007
http://www.velocityreviews.com/forums/(E-Mail Removed) 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/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.

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

 
Reply With Quote
 
 
 
 
Ben Bleything
Guest
Posts: n/a
 
      03-06-2007
On Tue, Mar 06, 2007, (E-Mail Removed) 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.rubyforge.org/

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

Ben

 
Reply With Quote
 
ara.t.howard@noaa.gov
Guest
Posts: n/a
 
      03-06-2007
On Tue, 6 Mar 2007, Joel VanderWerf wrote:

> (E-Mail Removed) 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/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
--
be kind whenever possible... it is always possible.
- the dalai lama

 
Reply With Quote
 
ara.t.howard@noaa.gov
Guest
Posts: n/a
 
      03-06-2007
On Tue, 6 Mar 2007, Ben Bleything wrote:

> On Tue, Mar 06, 2007, (E-Mail Removed) 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.rubyforge.org/


nope, but thanks for reminding me of that! perfect for this talk...

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


heh. i've got one too. sigh.


-a
--
be kind whenever possible... it is always possible.
- the dalai lama

 
Reply With Quote
 
Joel VanderWerf
Guest
Posts: n/a
 
      03-06-2007
(E-Mail Removed) wrote:
> On Tue, 6 Mar 2007, Joel VanderWerf wrote:
>
>> (E-Mail Removed) 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/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?


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

 
Reply With Quote
 
ara.t.howard@noaa.gov
Guest
Posts: n/a
 
      03-06-2007
On Tue, 6 Mar 2007, Joel VanderWerf wrote:

>> 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?).


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
--
be kind whenever possible... it is always possible.
- the dalai lama

 
Reply With Quote
 
gga
Guest
Posts: n/a
 
      03-06-2007
On 6 mar, 02:12, Joel VanderWerf <(E-Mail Removed)> wrote:
> (E-Mail Removed) wrote:
> > On Tue, 6 Mar 2007, Joel VanderWerf wrote:

>
> >> (E-Mail Removed) 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/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?

>
> 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:eclare: http://getoptdeclare.rubyforge.org/ -- Declare.rdoc
for documentation.



 
Reply With Quote
 
Jan Friedrich
Guest
Posts: n/a
 
      03-06-2007
(E-Mail Removed) schrieb:
> quickly building commandline applications

http://trollop.rubyforge.org/

I like it.

regards
Jan
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
gem.cmd install RMagick-win32-1.9.2-mswin32.gem: Buffer error Clifford Heath Ruby 7 06-09-2006 07:02 PM
[GEM PATCH] allow gem to install bin file to different location Ara.T.Howard Ruby 0 10-26-2005 11:52 PM
ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rubygems-upodate (> 0) in the repository han Ruby 1 10-24-2005 10:28 PM
[ANN] Getopt-Declare 1.12 (gem/zip) and GGEnv (gem/zip) gga Ruby 0 07-18-2005 03:21 PM



Advertisments