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
On Sat, Jun 13, 2009 at 10:29 AM, kenny<[email protected]> wrote:
>
> 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
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---