adding more commands
This commit is contained in:
parent
3e5d1d919a
commit
3d29c62bfb
@ -4,6 +4,8 @@ if [[ $# -eq 0 ]] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "Default \e[44mBlue";
|
||||||
|
|
||||||
if [ "$1" == "up" ] ; then
|
if [ "$1" == "up" ] ; then
|
||||||
echo "Initializing Docker Sync";
|
echo "Initializing Docker Sync";
|
||||||
docker-sync start;
|
docker-sync start;
|
||||||
@ -14,6 +16,13 @@ elif [ "$1" == "down" ]; then
|
|||||||
docker-compose down;
|
docker-compose down;
|
||||||
echo "Stopping Docker Sync";
|
echo "Stopping Docker Sync";
|
||||||
docker-sync stop;
|
docker-sync stop;
|
||||||
|
elif [ "$1" == "install" ]; then
|
||||||
|
echo "Installing docker-sync";
|
||||||
|
gem install docker-sync;
|
||||||
|
elif [ "$1" == "sync" ]; then
|
||||||
|
docker-sync sync;
|
||||||
|
elif [ "$1" == "clean" ]; then
|
||||||
|
docker-sync clean;
|
||||||
else
|
else
|
||||||
echo "Invalid arguments. Use 'up' or 'down'";
|
echo "Invalid arguments. Use 'up' or 'down'";
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user