#!/bin/sh
case "$1" in
echo)
shift
echo $@
;;
borgmatic)
sh)
docker-compose exec borgmatic sh
*)
echo "You have to choose a subcommand too, dummy."
esac
logs)
docker-compose logs -f --tail=0
postgres)
bash)
docker-compose exec postgres bash
psql)
docker-compose exec postgres psql -U synapse -d synapsedb $@
echo "You have to choose a command, dummy."