function modernizr_drush_help in Modernizr 8
Same name and namespace in other branches
- 7.3 drush/modernizr.drush.inc \modernizr_drush_help()
Implementation of hook_drush_help().
This function is called whenever a drush user calls 'drush help <name-of-your-command>'
Parameters
A string with the help section (prepend with 'drush:'):
Return value
A string with the help text for your command.
File
- drush/
modernizr.drush.inc, line 60 - drush integration for modernizr.
Code
function modernizr_drush_help($section) {
switch ($section) {
case 'drush:modernizr-dev':
return dt("Downloads the dev version of Modernizr from @dev. Accepts an optional destination argument.", array(
'@dev' => MODERNIZR_DOWNLOAD_DEV,
));
case 'drush:modernizr-build':
return dt('Queries Drupal modules for any Modernizr tests they require, and creates a request for a node.js-powered CLI builder. You must install node.js, npm, and the CLI builder beforehand.');
}
}