function apdqc_drush_command in Asynchronous Prefetch Database Query Cache 7
Implements hook_drush_command().
File
- ./
apdqc.drush.inc, line 11 - Drush integration for APDQC module.
Code
function apdqc_drush_command() {
$items['apdqc'] = array(
'callback' => 'drush_apdqc',
'description' => dt('Apply the enhacements described on the apdqc project page.'),
'core' => array(
'7+',
),
'arguments' => array(
'collation' => 'What collation to use for the cid column of cache tables in MySQL.',
),
'examples' => array(
'drush apdqc' => dt('Takes site offline, runs the functions to process changes in the database, brings it back online.'),
'drush apdqc utf8_bin' => dt('Takes site offline, runs the functions to process changes in the database, brings it back online. Will use utf8 collation instead of ascii for cid.'),
),
);
return $items;
}