From 248d7611d7152a3b23cc2e23be61d0780745852f Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 14 Aug 2013 14:53:50 +0000 Subject: [PATCH] Add some examples. --- islandora.drush.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/islandora.drush.inc b/islandora.drush.inc index b2e75c47..6ba73cb5 100644 --- a/islandora.drush.inc +++ b/islandora.drush.inc @@ -26,6 +26,10 @@ function islandora_drush_command() { 'drupal dependencies' => array( '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, ); $commands['islandora-solution-pack-uninstall-required-objects'] = array( @@ -36,13 +40,17 @@ function islandora_drush_command() { 'required' => TRUE, ), 'force' => array( - 'description' => dt('Force reinstallation of the objects.'), + 'description' => dt('Force uninstallation of the objects.'), ), ), 'aliases' => array('ispuro'), 'drupal dependencies' => array( '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, ); $commands['islandora-solution-pack-required-objects-status'] = array( @@ -56,6 +64,10 @@ function islandora_drush_command() { 'drupal dependencies' => array( '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, );