It would be really helpful if wp-cli supported site-aliases like drush:
https://github.com/drush-ops/drush/blob/master/examples/example.aliases.drushrc.php
This would allow you to do something like this:
without having to ssh into the server, cd into the directory and execute the command.
Drush also supports the magic @all which allows you to perform the command on all of your aliases. This way, you could have an alias file of hundreds of wordpress sites and update all of them in a single command. :)
It would be really helpful if
wp-clisupported site-aliases like drush:https://github.com/drush-ops/drush/blob/master/examples/example.aliases.drushrc.php
This would allow you to do something like this:
without having to ssh into the server, cd into the directory and execute the command.
Drush also supports the magic
@allwhich allows you to perform the command on all of your aliases. This way, you could have an alias file of hundreds of wordpress sites and update all of them in a single command. :)