You are here

function getid3_drush_command in getID3() 7

Same name and namespace in other branches
  1. 8 getid3.drush.inc \getid3_drush_command()
  2. 6 getid3.drush.inc \getid3_drush_command()
  3. 7.2 getid3.drush.inc \getid3_drush_command()

Implements hook_drush_command().

File

./getid3.drush.inc, line 10
Drush integration for getID3.

Code

function getid3_drush_command() {
  $items['getid3-download'] = array(
    'callback' => 'drush_getid3_download',
    'description' => dt('Downloads the required getID3 library from SourceForge.net.'),
    'arguments' => array(
      'path' => dt('Optional. A path to the download folder. If omitted Drush will use the default location (sites/all/libraries/getid3).'),
    ),
  );
  return $items;
}