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

Implements hook_drush_command().

File

./exif.drush.inc, line 11

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;
}