From 26da3796666d6b19d85217588b65f7cded988e34 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Nov 2025 00:30:49 +0000 Subject: [PATCH] fix command an error --- src/LaravelSupportCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaravelSupportCommand.php b/src/LaravelSupportCommand.php index 9d39b79..cddf47a 100644 --- a/src/LaravelSupportCommand.php +++ b/src/LaravelSupportCommand.php @@ -12,7 +12,7 @@ class LaravelSupportCommand extends Command * @var string */ protected $signature = 'LaravelSupportCommand - {command : The artisan command to monitor (e.g., schedule:work, queue:work)} + {artisan-command : The artisan command to monitor (e.g., schedule:work, queue:work)} {--args=* : Additional arguments for the command} {--retry-delay=5 : Seconds to wait before retry on failure}'; @@ -28,7 +28,7 @@ class LaravelSupportCommand extends Command */ public function handle() { - $commandToRun = $this->argument('command'); + $commandToRun = $this->argument('artisan-command'); $args = $this->option('args'); $retryDelay = (int) $this->option('retry-delay');