You are here

function imagefield_crop_drush_command in Imagefield Crop 6

File

./imagefield_crop.drush.inc, line 3

Code

function imagefield_crop_drush_command() {
  $items = array();
  $items['image-recrop'] = array(
    'description' => "Recrop images in a specific node",
    'arguments' => array(
      'node-id' => 'The node to run recrop on',
    ),
    'drupal dependencies' => array(
      'content',
      'imageapi',
    ),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
  );
  return $items;
}