Thanks again for the reply!

On Feb 12, 3:42 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> Yes. Using the "-s" switch, any variable you set that way will  
> override any variables with the same name that were set in the recipe  
> file.
>
> - Jamis
>
> On Feb 12, 2008, at 1:13 PM, eric wrote:
>
>
>
> > 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 athttp://group
>
>
>
>  smime.p7s
> 3KDownload
--~--~---------~--~----~------------~-------~--~----~
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