PYROS_DOCKER_SHELL 264 Bytes
#!/usr/bin/env bash

#if no container is running
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
then
    echo "pyros-db or pyros weren't running, starting them..."
    ./PYROS_DOCKER_START.sh
    #./PYROS_DOCKER_START.bat
fi
docker compose exec pyros bash $@