You are here

function clipboardjs_drush_command in Clipboard.js 7

Same name and namespace in other branches
  1. 8 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 10
Drush integration for the clipboard.js module.

Code

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