You are here

function nodejs_drush_help in Node.js integration 8

Same name and namespace in other branches
  1. 6 nodejs.drush.inc \nodejs_drush_help()
  2. 7 nodejs.drush.inc \nodejs_drush_help()

Implements hook_drush_help().

File

./nodejs.drush.inc, line 6

Code

function nodejs_drush_help($section) {
  switch ($section) {
    case 'drush:broadcast-message':
      return dt('Broadcast a message to all connected cliets.');
    case 'drush:channel-message':
      return dt('Send a message to all users subscribed to a given channel.');
    case 'drush:user-message':
      return dt('Send a message to a given user.');
    case 'drush:user-message-multiple':
      return dt('Send a message to a the given list of users.');
    case 'drush:role-message':
      return dt('Send a message to all user with the given role.');
    case 'drush:kick-user':
      return dt('Kick the given user off the node.js server.');
  }
}