You are here

function epub_drush_command in Epub 7

Same name and namespace in other branches
  1. 8 drush/epub.drush.inc \epub_drush_command()

Implements hook_drush_command().

File

./epub.drush.inc, line 15

Code

function epub_drush_command() {
  $items = array();
  $items['epub-flush'] = array(
    'description' => dt('Unzip all the epub files.'),
    'arguments' => array(
      'fid1' => dt('start with this fid'),
      'fid2' => dt('stop with this fid'),
    ),
    'examples' => array(
      'Flush all files' => 'drush epub-flush',
      'Flush file with fid from 5' => 'drush epub-flush 5',
      'Flush file with fid between 5-10' => 'drush epub-flush 5 10',
    ),
  );
  return $items;
}