Open eherman-godaddy opened 2 months ago
@eherman-godaddy that's most likely because there's no /tmp/wp-cli.phar
file – the code path responsible for running JSON pre-fetches it here:
It would be lovely for the JavaScript step to do the same and also log a warning to communicate with the developer.
I am trying to use wpCLI from
@wp-playground/client
but regardless of what command I use it always returns"Hello World!"
. In the examples below, the post is not created, the siteurl option is not returned nor is the plugin list displayed so it seems like wpCLI is not executing the commands properly. It appears to be working fine with the blueprint wp-cli step but not working through the @wp-playground/client wpCLI.Code I have tried:
Always returns:
Docs: https://wordpress.github.io/wordpress-playground/api/client/function/wpCLI