gapple/drush-update-rerun

Drush command to re-execute a single module update hook

Installs: 341

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 1

Type:drupal-drush

1.0.1 2017-06-05 18:11 UTC

This package is auto-updated.

Last update: 2024-03-04 10:26:04 UTC


README

Drush command to re-execute a single module update hook

Usage

Arguments:
 module                                             Module machine name
 version                                            Update hook version

Examples:
 drush update_rerun foo 7001                        Run update 7001 for 'foo' module
 
Aliases: urr

Installation

Global

Using Composer

  1. Require composer/installers

    composer global require composer/installers
  2. Configure the installer path for drush plugins in ~/.composer/composer.json

    {
      "extra": {
        "installer-paths": {
          "../.drush/plugins/{$name}": ["type:drupal-drush"]
        }
      }
    }
  3. Require gapple/drush-update-rerun

    composer global require gapple/drush-update-rerun

Manual Installation

  1. Download the release package
  2. Unzip the package to ~/.drush/

Project

Using Composer

  1. Require composer/installers in your project

    composer require composer/installers
  2. Configure the installer path for drush plugins in your project's composer.json

    {
      "extra": {
        "installer-paths": {
          "drush/contrib/{$name}": ["type:drupal-drush"]
        }
      }
    }
  3. Require gapple/drush-update-rerun in your project

    composer require gapple/drush-update-rerun

Manual Installation

  1. Download the release package
  2. Unzip the package to the drush folder within your project