You are here

function epub_drush_command in Epub 8

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

Implements hook_drush_command().

File

drush/epub.drush.inc, line 11
Contains epub drush commands.

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