Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (23 sloc) 0.385 kB
#!/bin/bash
#
# Usage: ./minion [task:name] [--option1=optval1 --option2=optval2]
#
# And so on.
#
# To get help, pass in --help
#
# # Minion general help
# ./minion --help
# ./minion
#
# # Task specific help
# ./minion task:name --help
#
if [[ $# > 0 && $1 != --* ]]
then
TASK="--task=$1"
shift 1
fi
php index.php --uri=minion "$TASK" "$@"
# Pass the exit code back out
exit $?
Jump to Line
Something went wrong with that request. Please try again.