function omega_tools_drush_command in Omega Tools 6
Same name and namespace in other branches
- 7 omega_tools.drush.inc \omega_tools_drush_command()
- 7.2 omega_tools.drush.inc \omega_tools_drush_command()
- 7.3 includes/omega_tools.drush.inc \omega_tools_drush_command()
Implementation of hook_drush_command().
File
- ./
omega_tools.drush.inc, line 20 - Drush sql commands
Code
function omega_tools_drush_command() {
$items['omega-subtheme'] = array(
'description' => 'Creates an Omega subtheme.',
'callback' => 'drush_omega_subtheme',
'examples' => array(
'drush omega-subtheme subtheme_name' => 'Create an Omega subtheme to the default sites/all/themes folder named subtheme_name.',
'drush omega-subtheme subtheme_name --destination=example.com' => 'Create an Omega subtheme to sites/example.com/themes folder named subtheme_name.',
),
'arguments' => array(
'name' => 'The name of the subtheme to create.',
),
'options' => array(
'--destination' => 'The site specific folder name in /sites where the information should be saved. /sites/all by default.',
),
);
return $items;
}