You are here

function apps_drush_command in Apps 7

Implements hook_drush_command().

File

./apps.drush.inc, line 11
Apps module drush integration.

Code

function apps_drush_command() {
  $items = array();
  $items['apps-server-list'] = array(
    'description' => "List all the available servers for your site.",
    'drupal dependencies' => array(
      'apps',
    ),
    'aliases' => array(
      'asl',
      'apps-servers',
    ),
  );
  $items['apps-list'] = array(
    'description' => "List Apps from a server.",
    'arguments' => array(
      'server' => 'A space-delimited list of server keys.',
    ),
    'drupal dependencies' => array(
      'apps',
    ),
    'aliases' => array(
      'al',
    ),
  );
  $items['apps-install'] = array(
    'description' => "Install App.",
    'arguments' => array(
      'app' => 'A space-delimited list of apps to install.',
    ),
    'drupal dependencies' => array(
      'apps',
    ),
    'aliases' => array(
      'ai',
    ),
  );
  return $items;
}