Skip to content

Site Aliases #2039

@davidbarratt

Description

@davidbarratt

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:

wp @dev core update

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. :)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions