function hacked_drush_command in Hacked! 7.2
Same name and namespace in other branches
- 8.2 hacked.drush.inc \hacked_drush_command()
- 5 hacked.drush.inc \hacked_drush_command()
- 6.2 hacked.drush.inc \hacked_drush_command()
- 6 hacked.drush.inc \hacked_drush_command()
Implements hook_drush_command().
File
- ./
hacked.drush.inc, line 51
Code
function hacked_drush_command() {
$items = array();
$items['hacked-list-projects'] = array(
'description' => dt('List all projects that can be analysed by Hacked!'),
'options' => array(
'force-rebuild' => dt('Rebuild the Hacked! report instead of getting a cached version.'),
),
'aliases' => array(
'hlp',
),
);
$items['hacked-lock-modified'] = array(
'description' => dt('Lock all projects that Hacked! detects are modified so pm-updatecode will not change them.'),
);
$items['hacked-details'] = array(
'description' => dt('Show the Hacked! report about a specific project.'),
'arguments' => array(
'project' => dt('The machine name of the project to report on.'),
),
'options' => array(
'include-unchanged' => dt('List unchanged files.'),
),
'aliases' => array(
'hd',
),
);
$items['hacked-diff'] = array(
'description' => dt('Output a unified diff of the project specified.'),
'arguments' => array(
'project' => dt('The machine name of the project to report on.'),
),
'options' => array(
'diff-options' => dt('Command line options to pass through to the diff command.'),
),
);
return $items;
}