Today I met this little script for working with Wordpress and it has filled my day with true joy. This neat tool makes it easy to manage and update your wordpress websites and plugins, it even can scaffold content types ( which is easy but often can take some time of writing boilerplate code).
To install wp-cli just download it:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Then put in the system path or copy it to your /usr/local/bin
chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp
Then just run wp help to see what this little thing can do for you.