Drush Destination Alter

Component ID

2671000

Component name

Drush Destination Alter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1046

Component created

Component changed

Component body

THIS IS NOT A MODULE. YOU CAN'T ENABLE IT. FOLLOW THE INSTRUCTIONS.

Manage your Drush downloads using the --uri (shortcut: -l) option.

Both versions - 7.x and 8.x are the same. Two branches were created to support drush dl destination_alter inside of Drupal 7 and Drupal 8.

Installation

You can just drush dl destination_alter and Drush will download it into your ~/.drush folder (alternately, you can obtain the package in another way and copy it into ~/.drush by yourself.)

Usage

Using this development, all modules will be downloaded to modules/contrib directory. The main thing: the sites/default or profiles/<NAME> could be used as usual subsite directory.

Download package to active installation profile

drush dl file_md5 -l profile -y

Download package to subsite

drush dl file_md5 -l [all|default|example.com] -y

Use drushrc.php to set default value for --uri option

/**
 * @file
 * Drush configuration.
 *
 * @var array $options
 */

// Specify a particular multisite.
// @see http://www.drupalcontrib.org/api/drupal/contributions!drush!examples!example.drushrc.php/7
$options['l'] = 'default';