#!/bin/bash # --columns doesn't seem to work at the moment, so we're setting it using an environment variable if [[ "${CLAUDECODE}" != "1" ]]; then COLOR_FLAG="--colors=always" else COLOR_FLAG="" fi docker compose exec -e COLUMNS=$(tput cols) -T test vendor/bin/pest ${COLOR_FLAG} "$@"