fix command an error
This commit is contained in:
parent
ea28665caf
commit
26da379666
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue