dreamproduction / gdrush
Run drush command over all defined aliases, with posibility to filter them using grep.
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 324
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Language:Shell
pkg:composer/dreamproduction/gdrush
README
Run drush commands on multiple sites, matching a pattern to the existing site aliases. Example:
vendor\bin\gdrush dev cr
This will run drush cr on all aliases that match dev
Alternatively, you can declare commonly used commands in composer.json in the scripts object:
...
    "scripts": {
        "drush-local": "vendor/bin/gdrush local",
        "drush-dev": "vendor/bin/gdrush dev",
        "drush-stage": "vendor/bin/gdrush stage",
        "drush-live": "vendor/bin/gdrush live"
    },
...
Then, you can use them like this:
composer drush-dev cr