From 5d9ada04b327550487ee9a736790d042f7a67da7 Mon Sep 17 00:00:00 2001 From: Liam Morland Date: Wed, 24 Nov 2021 15:04:39 -0500 Subject: [PATCH] ISTWCMS-5217: Create site-drush.php to run Drush commands on sites --- devops/site-drush.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 devops/site-drush.php diff --git a/devops/site-drush.php b/devops/site-drush.php new file mode 100755 index 0000000..e05d224 --- /dev/null +++ b/devops/site-drush.php @@ -0,0 +1,29 @@ +#!/usr/bin/env php + $arg) { + $argv[$key] = escapeshellarg($arg); +} +$command = implode(' ', $argv); + +fwrite(STDERR, 'Running command: drush ' . $command . "\n"); +echo drush_command($command, $site['pool'], $site['url_path']) . "\n"; -- GitLab