Assume I run "cap -S blah=bar my_custom_task"

Assume the following code in the recipe: 

task :my_custom_task do
  task2
end

task :task2 do
  # I want to know the name of the requested task (my_custom_task) here...
end

Possible? 

In real scenario, I want to know if deploy was called or any of my custom 
tasks were called. 

Thanks, 
Shrinath M

-- 
* 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.com/group/capistrano?hl=en

Reply via email to