Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.1 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.1 KB

rocket

Requirement

  • PHP version 5.4.0 or greater.

Installation

# Download using wget
wget https://github.com/apple-x-co/rocket/releases/latest/download/rocket.phar

# Then test the downloaded phars
chmod u+x rocket.phar
./rocket.phar --init > ./rocket.json

Usage

Show information

./rocket.phar --info #--no-color

Verification configure file

./rocket.phar --config ./rocket.json --verify

Slack notification test

./rocket.phar --config ./rocket.json --notify-test

Dry run sync directory

./rocket.phar --config ./rocket.json --sync dry

Git pull & Confirm sync directory

./rocket.phar --config ./rocket.json --git pull --sync confirm

Git pull & Force sync directory

./rocket.phar --config ./rocket.json --git pull --sync force

Sync directory only

./rocket.phar --config ./rocket.json --sync confirm

Slack notification

echo "HELLO WORLD" | ./rocket.phar --config ./rocket.json --notify

Download latest version rocket

./rocket.phar --upgrade