You are here

function exif_drush_command in Exif 7

Same name and namespace in other branches
  1. 8.2 exif.drush.inc \exif_drush_command()
  2. 8 exif.drush.inc \exif_drush_command()

Implementation of hook_drush_command().

File

./exif.drush.inc, line 5

Code

function exif_drush_command() {
  $items['exif-list'] = array(
    'description' => 'list content type where exif is enabled.',
  );
  $items['exif-update'] = array(
    'description' => 'Update all nodes where exif is enabled.',
    'arguments' => array(
      'type' => 'Optional. The content-type to update (all other content-type will be ignored).',
    ),
  );
  return $items;
}