Reputation: 4541
In Capistrano 2.x I could use current_task.name
inside a task to get the current task's name. Is there something similar in Capistrano 3?
Upvotes: 1
Views: 1097
Reputation: 4541
Figured it out:
task :foo do |task|
current_task_name = task.name_with_args
end
Upvotes: 4