function prod_check_drush_command in Production check & Production monitor 7
Same name and namespace in other branches
- 6 prod_check.drush.inc \prod_check_drush_command()
Implementation of hook_drush_command().
File
- ./
prod_check.drush.inc, line 6
Code
function prod_check_drush_command() {
$items = array();
$items['prod-check'] = array(
'callback' => 'drush_prod_check_status',
'description' => 'Display the Production Check status page.',
'aliases' => array(
'pchk',
),
);
$items['prod-check-prodmode'] = array(
'callback' => 'drush_prod_check_prod_mode',
'description' => 'Switch the site to production mode.',
'options' => array(
'config' => 'Ask for additional options before switching to production mode.',
),
'aliases' => array(
'pchk-pmode',
),
);
return $items;
}