You are here

function clipboardjs_drush_command in Clipboard.js 8

Same name and namespace in other branches
  1. 7 clipboardjs.drush.inc \clipboardjs_drush_command()
  2. 2.0.x clipboardjs.drush.inc \clipboardjs_drush_command()

Implements hook_drush_command().

File

./clipboardjs.drush.inc, line 11
Drush integration for the clipboard.js module.

Code

function clipboardjs_drush_command() {
  $items = [];
  $items['clipboard-download-library'] = [
    'description' => dt('Download and install clipboard.js library.'),
    'aliases' => [
      'cbdl',
    ],
    'callback' => 'drush_clipboardjs_download_libraries',
  ];
  return $items;
}