You are here

function d3_drush_command in d3.js 7

Implements hook_drush_command().

File

./d3.drush.inc, line 10
Contains functionality needed for drush integration.

Code

function d3_drush_command() {
  $items = array();
  $items['d3'] = array(
    'description' => 'Create a new custom d3 library',
    'arguments' => array(
      'name' => 'The human readable name of your d3 library.',
      'machine_name' => 'The machine name of your d3 library.',
    ),
    'required-arguments' => 1,
    'options' => array(
      'name' => 'The human readable name of your d3 library.',
      'machine_name' => 'The machine name of your d3 library.',
      'description' => 'Library description for info file. (Shown in drush libraries-list)',
    ),
  );
  return $items;
}