Same name and namespace in other branches
  1. 7.x-1.x color_field.drush.inc \color_field_drush_command() 1 comment

Implements hook_drush_command().

File

./color_field.drush.inc, line 19

Code

function color_field_drush_command() {
    $items = array();
    $items['color-field-plugin-download'] = array(
        'description' => dt("Downloads a Color Picker plugin."),
        'arguments' => array(
            'path' => dt('Optional. A path where to install the Simple Color Picker plugin. If omitted Drush will use the default location.'),
        ),
        'aliases' => array(
            'cfpd',
        ),
    );
    $items['color-field-simple'] = array(
        'description' => dt("Downloads the Simple Color Picker plugin."),
        'arguments' => array(
            'path' => dt('Optional. A path where to install the Simple Color Picker plugin. If omitted Drush will use the default location.'),
        ),
    );
    $items['color-field-eyecon'] = array(
        'description' => dt("Downloads the EyeCon Color Picker plugin."),
        'arguments' => array(
            'path' => dt('Optional. A path where to install the EyeCon Color Picker plugin. If omitted Drush will use the default location.'),
        ),
    );
    $items['color-field-dematte'] = array(
        'description' => dt("Downloads the Dematte Color Picker plugin."),
        'arguments' => array(
            'path' => dt('Optional. A path where to install the Dematte Color Picker plugin. If omitted Drush will use the default location.'),
        ),
    );
    $items['color-field-spectrum'] = array(
        'description' => dt("Downloads the Spectrum Color Picker plugin."),
        'arguments' => array(
            'path' => dt('Optional. A path where to install the Spectrum Color Picker plugin. If omitted Drush will use the default location.'),
        ),
    );
    return $items;
}