hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
http://drupalconsole.com
GNU General Public License v2.0
940 stars 560 forks source link

Support running commands in all site folders (like drush @sites) #3608

Open nvaken opened 6 years ago

nvaken commented 6 years ago

In our deployment process it would be nice to be able to run commands subsequently in all multisite subsites. This would simplify our deployment process greatly. I've tried to search the issue queue but was not able to find an existing issue for this request.

If there is any already existing feature that facilitates this, I'd be happy to hear it! :)

Suggestion

I think a specific flag would be great, something like --sites-all?

$ drupal --sites-all cache:rebuild all
$ drupal --sites-all update:execute
...
jmolivas commented 6 years ago

I think this will be a great feature, will check how complex this will be to implement.