#!/usr/bin/env bash # Console Command Wrapper - Runs console.php in Docker container # Usage: ./bin/console [command] [arguments] cd "$(dirname "$0")/.." || exit 1 # Check if running in interactive terminal if [ -t 0 ]; then docker exec -it php php console.php "$@" else docker exec php php console.php "$@" fi