Hey all,

Just one more quick question.

Is it possible to prompt the user for a variable only if they haven't
provided that variable on the command line?

Essentially what I'd like to do is allow a user to do something like

<pre>cap -s scm_username=a_user deploy</pre>

If they pass in the variable, we use it and don't prompt them for
anything.  However if they just run:

<pre>
cap deploy
</pre>

then they will be prompted with

"Enter your SVN username"

Is this possible?

Any help would be appreciated.

-Eric
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to