Closed jigarius closed 2 years ago
Allow user to define site groups and then run drush on those groups. Not sure how this will work with site aliases though.
drush
DRUPAL/sites/sites.*.php
sites.php
default
drall exec --drall-group=foo
sites.foo.php
site:directories
site:aliases
Requirements
Allow user to define site groups and then run
drush
on those groups. Not sure how this will work with site aliases though.Proposed solution
DRUPAL/sites/sites.*.php
to define groups.sites.php
always contains all the sites and it is the default site group,default
.drall exec --drall-group=foo
runs the command on all sites insites.foo.php
.site:directories
command should support this option.site:aliases
command should support this option.