Find and execute task

Definition
find_and_execute_task(path, hooks={})
Module
Capistrano::Configuration::Execution
File
capistrano/configuration/execution.rb

Attempts to locate the task at the given fully-qualified path, and execute it. If no such task exists, a Capistrano::NoSuchTaskError will be raised.

 find_and_execute_task("deploy:update_code")