command line arguments

Showing 1-3 of 3 messages
command line arguments kenny 6/13/09 9:29 AM
from here:  http://ryandaigle.com/archives/2007/6

you could check if a command line argument was supplied via
'configuration[:opt1]'

'configuration' doesn't work anymore.  cap complains that it is
undefined.   is there any way for me to do this?

thanks,

kenny
Re: [capistrano] command line arguments Jamis Buck 6/13/09 9:37 AM
Yeah, that post describes capistrano 1.x behavior.

The same thing in cap2 would be something like:

   p "option1 is #{opt1}" if exists?(:opt1)

- Jamis
Re: [capistrano] Re: command line arguments Kenneth Stone 6/13/09 9:49 AM
thanks!