Run php sandbox shell commands
$ zandbak [--option <argument>]
Display help information.
Set base path for repositories.
Default: /home/vagrant/repositories/
Select repositories to run commands in.
Default: All sub directories of base path.
Run git status -s
on all repositories.
Show current branch on all repositories.
Executes git rev-parse --abbrev-ref HEAD
.
Git checkout branch on all repositories.
Run git reset
on all repositories.
Run git clean
on all repositories.
Run git pull --ff-only
on all repositories.
Run composer install
on all repositories.
Run composer update
on all repositories.
Run redis-cli flushall
.
Display debug information.
This program uses Bats (Bash Automated Testing System) for testing. The Bats testing file for this program can be found in the '/test' directory.
$ bats test/zandbak.bats
MIT © Bram Kok