Interactive Rake Tasks

S

Steve Martocci

Anyone have a guide or a good example gem/rake task that prompts the
user for input and does logic based on it?

I want to write an interactive installer for a plugin.
 
M

Mohit Sindhwani

Steve said:
Anyone have a guide or a good example gem/rake task that prompts the
user for input and does logic based on it?

I want to write an interactive installer for a plugin.
Might be overkill but Radiant CMS has a task called rake dn:bootstrap
that asks some questions at the end. Would that help?

Cheers,
Mohit.
8/13/2008 | 1:30 AM.
 
S

Steve Martocci

Thanks Mohit, that helps, I see the ask and agree methods there, I
should be able to follow from here.

Steve
 
S

Steve Martocci

It looks like the radiant tasks I looked at were using highline, this is
perfect, thanks.
 

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
474,202
Messages
2,571,057
Members
47,660
Latest member
vidotip479

Latest Threads

Top