https://github.com/bramkok/zandbak
Run php sandbox shell commands
https://github.com/bramkok/zandbak
bash php sandbox
Last synced: about 2 months ago
JSON representation
Run php sandbox shell commands
- Host: GitHub
- URL: https://github.com/bramkok/zandbak
- Owner: bramkok
- License: mit
- Created: 2017-12-10T16:17:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T08:32:37.000Z (over 8 years ago)
- Last Synced: 2025-03-02T19:49:38.777Z (over 1 year ago)
- Topics: bash, php, sandbox
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# zandbak
> Run php sandbox shell commands
## Usage:
```
$ zandbak [--option ]
```
### Options
##### `-h`, `--help`
Display help information.
##### `-b`, `--base-path`
Set base path for repositories.
Default: `/home/vagrant/repositories/`
##### `-r`, `--repos`
Select repositories to run commands in.
Default: All sub directories of base path.
##### `--gs`
Run `git status -s` on all repositories.
##### `--gb`
Show current branch on all repositories.
Executes `git rev-parse --abbrev-ref HEAD`.
##### `--gco`
Git checkout branch on all repositories.
##### `--gr`
Run `git reset` on all repositories.
##### `--gcl`
Run `git clean` on all repositories.
##### `--gpl`
Run `git pull --ff-only` on all repositories.
##### `--ci`
Run `composer install` on all repositories.
##### `--cu`
Run `composer update` on all repositories.
##### `--rf`
Run `redis-cli flushall`.
##### `--debug`
Display debug information.
### Testing
This program uses [Bats](https://github.com/sstephenson/bats)
(Bash Automated Testing System) for testing. The Bats testing file for this
program can be found in the '/test' directory.
#### Usage
```
$ bats test/zandbak.bats
```
## License
MIT © [Bram Kok](https://github.com/bramkok)