You are here

function libraries_drush_command in Libraries API 8.3

Same name and namespace in other branches
  1. 7.3 libraries.drush.inc \libraries_drush_command()
  2. 7.2 libraries.drush.inc \libraries_drush_command()

Implements hook_drush_command().

File

./libraries.drush.inc, line 13
Drush integration for Libraries API.

Code

function libraries_drush_command() {
  $items['libraries-list'] = [
    'callback' => 'libraries_drush_list',
    'description' => dt('Lists registered library information.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
  ];

  /*
    $items['libraries-download'] = array[
      'callback' => 'libraries_drush_download',
      'description' => dt('Downloads a registered library into the libraries directory for the active site.'),
      'arguments' => [
        'name' => dt('The internal name of the registered library.'),
      ],
    ];
  */
  return $items;
}