ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Manage the state of WordPress with WP-CLI

Open danielbachhuber opened this issue 8 years ago • 0 comments

As an administrator of WordPress sites, it would be helpful if I could manage the state of WordPress with WP-CLI.

On a high level, this command would need to:

  • Produce a file (YAML, JSON, or otherwise) describing WordPress' configuration (option values, installed plugins, etc).
  • Be able to interpret a configuration file, and apply state changes to WordPress.

Some related prior art:

  • WP-CFM: http://forumone.github.io/wp-cfm/
  • WP-Bootstrap: https://github.com/eriktorsner/wp-bootstrap/
  • Dictator: https://github.com/danielbachhuber/dictator

The principle challenge appears to be developing the layer of abstraction for how WordPress understands what's in the database.

danielbachhuber avatar Jan 30 '17 20:01 danielbachhuber