You are here

function demo_drush_help in Demonstration site (Sandbox / Snapshot) 6

Implementation of hook_drush_help().

File

./demo.drush.inc, line 7

Code

function demo_drush_help($command) {
  if ($command == 'drush:demo-status') {
    return dt('Print default dump settings and last reset time.');
  }
  elseif ($command == 'drush:demo-create') {
    return dt('Create a new snapshow with the given file name and description. Dump filename can have alphanumeric characters, dots, dashes, and underscores only. Other characters, including blanks (spaces), are not allowed.');
  }
  elseif ($command == 'drush:demo-delete') {
    return dt('Delete a specified snapshot.');
  }
  elseif ($command == 'drush:demo-reset') {
    return dt('Reset your site using a specified snapshot. DO NOT USE THIS COMMAND ON A PRODUCTION SERVER.');
  }
}