You are here

function rrssb_drush_command in Ridiculously Responsive Social Sharing Buttons 7

Same name and namespace in other branches
  1. 8.2 includes/rrssb.drush.inc \rrssb_drush_command()
  2. 7.2 includes/rrssb.drush.inc \rrssb_drush_command()

Implements hook_drush_command().

File

includes/rrssb.drush.inc, line 12
Provides drush commands for Ridiculously Responsive Social Share Buttons.

Code

function rrssb_drush_command() {
  $items['rrssb-plugin'] = array(
    'callback' => 'drush_rrssb_plugin',
    'description' => dt("Downloads the Ridiculously Responsive Social Share Buttons library from Github."),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Path is optional. Will use default location if omitted. Default location is sites/all/libraries.'),
    ),
    'aliases' => array(
      'rrssbdl',
    ),
  );
  return $items;
}