Add ./piston logs

This commit is contained in:
Brikaa 2021-09-26 14:09:25 +02:00
parent 241b56a5e9
commit b36ce650dd
1 changed files with 4 additions and 2 deletions

2
piston
View File

@ -19,6 +19,7 @@ case $1 in
echo "Commands:" echo "Commands:"
echo " select <environment> Select the environment" echo " select <environment> Select the environment"
echo " docker_compose <args...> Interact directly with the docker-compose for the selected environment" echo " docker_compose <args...> Interact directly with the docker-compose for the selected environment"
echo " logs Show docker-compose logs"
echo echo
echo " start Starts piston" echo " start Starts piston"
echo " stop Stops piston" echo " stop Stops piston"
@ -49,6 +50,7 @@ case $1 in
select) echo "$2" > .piston_env ;; select) echo "$2" > .piston_env ;;
docker_compose) shift; docker_compose "$@";; docker_compose) shift; docker_compose "$@";;
logs) docker_compose logs -f ;;
restart) docker_compose restart ;; restart) docker_compose restart ;;
start) docker_compose up -d ;; start) docker_compose up -d ;;