You are here

function drush_deploy_plan in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 deploy.drush.inc \drush_deploy_plan()

Command callback for deploying plans.

File

./deploy.drush.inc, line 127
Provides Drush integration for Deploy.

Code

function drush_deploy_plan($name) {
  if ($plan = deploy_plan_load($name)) {
    $plan
      ->deploy();
    return;
  }
  drush_set_error(dt('Cannot deploy non-existent plan @name'), array(
    '@name' => $name,
  ));
}