function relation_drush_command in Relation 7
Same name and namespace in other branches
- 8.2 relation.drush.inc \relation_drush_command()
- 8 relation.drush.inc \relation_drush_command()
Implements hook_drush_command().
File
- ./
relation.drush.inc, line 11 - Drush integration for the relation module.
Code
function relation_drush_command() {
$items['relation-generate'] = array(
'description' => dt('Generates relations.'),
'arguments' => array(
'number_relations' => dt('The number of relations to generate.'),
),
'options' => array(
'kill' => 'Delete all relations before generating new ones.',
'types' => 'A comma delimited list of relation types to create.',
),
'aliases' => array(
'genrel',
),
);
return $items;
}