From 95ccbaa5985fdde58a59c176d727d2904127a2cf Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Wed, 20 Mar 2024 07:09:30 +1100 Subject: [PATCH] [1.x] Make commands lazy (#341) * Fix soft dependency * Fix alias --- composer.json | 1 + src/Commands/ClearCommand.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index abe2e6bb..3edfd044 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "illuminate/support": "^10.34|^11.0", "illuminate/view": "^10.34|^11.0", "livewire/livewire": "^3.2", + "symfony/console": "^6.0|^7.0", "nesbot/carbon": "^2.67|^3.0" }, "require-dev": { diff --git a/src/Commands/ClearCommand.php b/src/Commands/ClearCommand.php index 411846fd..6f56cdac 100644 --- a/src/Commands/ClearCommand.php +++ b/src/Commands/ClearCommand.php @@ -10,7 +10,7 @@ /** * @internal */ -#[AsCommand(name: 'pulse:clear')] +#[AsCommand(name: 'pulse:clear', aliases: ['pulse:purge'])] class ClearCommand extends Command { use ConfirmableTrait;