WPTool - cli for managing WordPress sites
The WPtool is suite of (SSH) bash functions to administer Wordpress installs from the shell.
To run it, ssh into your server, and go to the main directory of your WP install. Then run:
. <(curl -sS https://raw.githubusercontent.com/bagley/wptool/master/wptool)
For more information, go to the manual page hosted on github