A PHP commandline helper for WordPress stuff and things.
\curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \php wp-cli.phar --info \chmod +x wp-cli.phar \mv wp-cli.phar ~/wp
When I "installed" the
wp script, I didn't push it into my
/usr/bin. I simply put it in
$HOME) and refer to it from there.
wp-cli to change a blog's "Site URL" ∞
I needed this to avoid the WordPress "White Screen of Death" (WSOD)
website='http://example.com' cd ~/public_html ~/wp option update home "$website" ~/wp option update siteurl "$website"