REQUIRED: SSH, rsync, WP-CLI, jq
$ brew install wp-cli jq
$ git clone https://github.com/inc2734/bash-wp-deploy.git
$ cd bash-wp-deploy
$ cp config-sample.json config.json
$ vi config.json
$ ./pull.sh -e production -a
$ ./pull.sh -e production -w
$ ./pull.sh -e production -t
$ ./pull.sh -e production -p
$ ./pull.sh -e production -u
$ ./pull.sh -e production -d
$ ./push.sh -e production -a
$ ./push.sh -e production -w
$ ./push.sh -e production -t
$ ./push.sh -e production -p
$ ./push.sh -e production -u
$ ./push.sh -e production -d
$ ./pull.sh -e production -f any_config.json -a
$ ./pull.sh -e production -l local_name