@ -26,6 +26,10 @@ function islandora_drush_command() {
'drupal dependencies' => array(
'drupal dependencies' => array(
'islandora',
'islandora',
),
),
'examples' => array(
'drush -u 1 ispiro --module=islandora' => dt('Install missing solution pack objects for the "islandora" module.'),
'drush -u 1 ispiro --module=islandora --force' => dt('Install all solution pack objects for the "islandora" module, purging any which currently exist.'),
),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
);
);
$commands['islandora-solution-pack-uninstall-required-objects'] = array(
$commands['islandora-solution-pack-uninstall-required-objects'] = array(
@ -36,13 +40,17 @@ function islandora_drush_command() {
'required' => TRUE,
'required' => TRUE,
),
),
'force' => array(
'force' => array(
'description' => dt('Force re installation of the objects.'),
'description' => dt('Force un installation of the objects.'),
),
),
),
),
'aliases' => array('ispuro'),
'aliases' => array('ispuro'),
'drupal dependencies' => array(
'drupal dependencies' => array(
'islandora',
'islandora',
),
),
'examples' => array(
'drush -u 1 ispuro --module=islandora' => dt('Uninstall solution pack objects for the "islandora" module.'),
'drush -u 1 ispuro --module=islandora --force' => dt('Force uninstallation of all solution pack objects for the "islandora" module.'),
),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
);
);
$commands['islandora-solution-pack-required-objects-status'] = array(
$commands['islandora-solution-pack-required-objects-status'] = array(
@ -56,6 +64,10 @@ function islandora_drush_command() {
'drupal dependencies' => array(
'drupal dependencies' => array(
'islandora',
'islandora',
),
),
'examples' => array(
'drush -u 1 ispros' => dt('Get the status of all solution pack objects.'),
'drush -u 1 ispros --module=islandora' => dt('Get the status of solution pack objects for the "islandora" module.'),
),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_LOGIN,
);
);