From a8fbfb8a210eb791bba29e036c9183098306cb59 Mon Sep 17 00:00:00 2001 From: edalzell Date: Thu, 11 Jun 2026 16:18:35 -0700 Subject: [PATCH] check for interactive session --- src/NewCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 478b52d..22a8a8f 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -1018,7 +1018,7 @@ protected function enableStatamicPro() $statusCode = (new Please($this->output)) ->cwd($this->absolutePath) - ->run('pro:enable'); + ->run('pro:enable', $this->input->isInteractive() ? '' : '--no-interaction'); if ($statusCode !== 0) { throw new RuntimeException('There was a problem enabling Statamic Pro!');