function fancy_file_delete_drush_command in Fancy File Delete 2.0.x
Same name and namespace in other branches
- 7 fancy_file_delete.drush.inc \fancy_file_delete_drush_command()
Implements hook_drush_command().
File
- ./
fancy_file_delete.drush.inc, line 6
Code
function fancy_file_delete_drush_command() {
$items = array(
'fancy-file-delete' => array(
'callback' => 'fancy_file_delete_drush_batch_delete_process',
'description' => 'Deletes any number of files by fid or path.',
'aliases' => array(
'ffd',
),
'arguments' => array(
'files' => "A comma separate list of file ID's OR \n relative paths to any files you wish to delete.",
),
'options' => array(
'force' => 'Forcefully remove the file, even if it is still being referenced.',
),
),
);
return $items;
}