Open sheldonh opened 6 years ago
The client's run method doesn't signal an error in any way. For example
irb(main):009:0> wp.run "plugins list" Error: 'wp-config.php' not found. Either create one manually or use `wp config create`. => []
Without capturing the error output in some way, I can't programmatically distinguish an error from there just being no plugins installed.
It would be great if an exception were raised instead.
Hi
Unfortunately this gem is not maintained anymore. If you can do a PR regarding this, I'm more than happy to merge and release it.
The client's run method doesn't signal an error in any way. For example
Without capturing the error output in some way, I can't programmatically distinguish an error from there just being no plugins installed.
It would be great if an exception were raised instead.