Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP_CLI not found in Tinkerwell #49

Closed
tylerwiegand opened this issue Feb 11, 2020 · 0 comments
Closed

WP_CLI not found in Tinkerwell #49

tylerwiegand opened this issue Feb 11, 2020 · 0 comments

Comments

@tylerwiegand
Copy link
Contributor

Summary

I have recently become enamored with a tool called Tinkerwell. It's like wp shell but in a GUI. It supports SSH and out of the box Wordpress support. I made a custom Bedrock driver for it with some difficulty, and though it functions with any normal Bedrock install (including with Sage 9), when I attempt to use it with Acorn, I am unable to without commenting out most of the Acorn/Bootstrap/Console.php file. So, I would suggest an additional context check for the $this->app->runningInConsole() to allow this functionality to be loaded on demand (only because it's causing an issue!)

If there's a way to just load WP_CLI in a way that doesn't output the error PLEASE just tell me and I'll add it into my Tinkerwell and call it a day! Thanks!

Motivation

I believe the configurability will allow other tools like this to co-exist peacefully with Acorn.

Additional context

Example of what a solution could look like (which is mostly a workaround, if WP_CLI can be loaded properly instead im all for it I just don't know much about it)
image

Tinkerwell's output when this "solution" is enacted
image

TInkerwell's output without this enacted
image

tylerwiegand added a commit to tylerwiegand/acorn that referenced this issue Feb 12, 2020
@Log1x Log1x closed this as completed in c41c6e9 Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant