You are here

function modernizr_drush_help in Modernizr 7.3

Same name and namespace in other branches
  1. 8 drush/modernizr.drush.inc \modernizr_drush_help()

Implements 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 54
drush integration for modernizr.

Code

function modernizr_drush_help($section) {
  switch ($section) {
    case 'error:modernizr-dev':
    case 'drush:modernizr-dev':
      return dt('This command used to download a development copy of Modernizr but it is no longer offered on modernizr.com as of v3');
    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.');
  }
}