function ace_editor_drush_command in Ace Code Editor 7
Implements hook_drush_command().
File
- ./
ace_editor.drush.inc, line 17 - Drush integration for Ace Editor.
Code
function ace_editor_drush_command() {
$items = array();
// The key in the $items array is the name of the command.
$items['download-ace'] = array(
'callback' => 'drush_download_ace',
'description' => dt('Download and install the Ace editor plugin from ' . ACE_DOWNLOAD_URI . ' in the Libraries directory.'),
'arguments' => array(
'ace version' => dt('Ace library version to install:' . PHP_EOL . ' src: concatenated but not minified (default)' . PHP_EOL . ' src-min: concatenated and minified with uglify.js.'),
),
'drupal dependencies' => array(
'libraries',
),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
'aliases' => array(
'dl-ace',
),
);
return $items;
}