function rules_drush_help in Rules 8.3
Same name and namespace in other branches
- 7.2 rules.drush.inc \rules_drush_help()
Implements hook_drush_help().
File
- ./
rules.drush.inc, line 122 - Rules module integration with Drush 8 and earlier.
Code
function rules_drush_help($section) {
switch ($section) {
case 'meta:rules:title':
return dt('Rules commands');
case 'meta:rules:summary':
return dt('Developer-specific commands for the Rules module.');
case 'drush:rules-list':
return dt('Lists all the rules on your site.');
case 'drush:rules-enable':
return dt('Enables/activates a Reaction Rule on your site.');
case 'drush:rules-disable':
return dt('Disables/deactivates a Reaction Rule on your site.');
/*
* @codingStandardsIgnoreStart
*
* @todo Not yet implemented.
*
* case 'drush:rules-revert':
* return dt('Reverts a module-provided rule to its original state on your site.');
* @codingStandardsIgnoreEnd
*/
case 'drush:rules-delete':
return dt('Deletes a rule on your site.');
case 'drush:rules-export':
return dt('Exports a rule.');
}
}