Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Make WP-CLI driver commands async #248

Open
paulgibbs opened this issue May 16, 2019 · 0 comments
Open

Make WP-CLI driver commands async #248

paulgibbs opened this issue May 16, 2019 · 0 comments

Comments

@paulgibbs
Copy link
Owner

Expected behaviour

With the WP-CLI driver, that I can create a post and enrich it with metadata, and that it is quickly actioned by WP-CLI.

Current behaviour

With the WP-CLI driver, if I create a post, assign several taxonomies, some post meta, etc, then WordHat will shell out to execute the WP-CLI commands one-by-one in a blocking fashion.

Context

A project with a custom post type (and custom step definition) with various taxonomy and meta requirements, over WP-CLI-over-SSH on a crappy VM, is too slow.

It would be nice if we can try to perform WP-CLI commands async. This won't be desired for many commands, but for things that maybe don't require a value to be returned (i.e. creating post meta, or a taxonomy assignment). It may also be an opt-in/opt-out behaviour at a lower level rather than something we can implement for the bundled step definitions.

@paulgibbs paulgibbs added this to the Future Release milestone May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant