Skip to content
Snippets Groups Projects
Commit 9aa9a3e4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add support for -T option for drush commands (must be first option) to disable...

Add support for -T option for drush commands (must be first option) to disable TTY for capturing output
parent d69c1f5a
No related branches found
No related tags found
No related merge requests found
Pipeline #414457 passed
......@@ -4,7 +4,12 @@ function setPermissions {
chmod -R g+w .
}
docker compose exec ${LAKEDROPS_DEV_DC_OPTIONS} php drush "$@"
FLAG=
if [[ "$1" == "-T" ]]; then
FLAG=-T
shift
fi
docker compose exec $FLAG ${LAKEDROPS_DEV_DC_OPTIONS} php drush "$@"
EC=$?
if [[ "$1" == "gen" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment