Open scribu opened 11 years ago
The errors you get when you try to use wp-cli with whippet:
% wp --path=/home/tomdxw/.cache/whippet/wordpresses/latest/ plugin install buddypress
Fatal error: Call to undefined function add_filter() in /home/tomdxw/local/share/whippet/lib/load_whippet.php on line 15
We probably just need to wrap a few bits of code in if (function_exists(...)) {...} blocks.
In the mean time, I wrote an alternative: https://github.com/wp-cli/server-command
You can't run WP-CLI commands while whippet is running, because it temporarily modifies
wp-config.php
.This sucks because people who are likely to be using whippet are also likely to be using WP-CLI.