From 3c42f0badb040b4ce38fd3aef30acab9777db584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ewilan=20Rivi=C3=A8re?= Date: Mon, 15 Jan 2024 21:04:19 +0100 Subject: [PATCH] Delete JobClearCommand and JobListCommand --- .../Jobs/{JobClearCommand.php => JobsClearCommand.php} | 4 ++-- src/Commands/Jobs/{JobListCommand.php => JobsListCommand.php} | 4 ++-- src/StewardServiceProvider.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename src/Commands/Jobs/{JobClearCommand.php => JobsClearCommand.php} (89%) rename src/Commands/Jobs/{JobListCommand.php => JobsListCommand.php} (96%) diff --git a/src/Commands/Jobs/JobClearCommand.php b/src/Commands/Jobs/JobsClearCommand.php similarity index 89% rename from src/Commands/Jobs/JobClearCommand.php rename to src/Commands/Jobs/JobsClearCommand.php index 6e2b719..86da6a6 100644 --- a/src/Commands/Jobs/JobClearCommand.php +++ b/src/Commands/Jobs/JobsClearCommand.php @@ -6,14 +6,14 @@ use Illuminate\Support\Facades\DB; use Kiwilan\Steward\Commands\Commandable; -class JobClearCommand extends Commandable +class JobsClearCommand extends Commandable { /** * The name and signature of the console command. * * @var string */ - protected $signature = 'job:clear'; + protected $signature = 'jobs:clear'; /** * The console command description. diff --git a/src/Commands/Jobs/JobListCommand.php b/src/Commands/Jobs/JobsListCommand.php similarity index 96% rename from src/Commands/Jobs/JobListCommand.php rename to src/Commands/Jobs/JobsListCommand.php index 25511ec..b530ab7 100644 --- a/src/Commands/Jobs/JobListCommand.php +++ b/src/Commands/Jobs/JobsListCommand.php @@ -6,14 +6,14 @@ use Illuminate\Support\Facades\DB; use Kiwilan\Steward\Commands\Commandable; -class JobListCommand extends Commandable +class JobsListCommand extends Commandable { /** * The name and signature of the console command. * * @var string */ - protected $signature = 'job:list + protected $signature = 'jobs:list {--l|limit= : limit jobs output} {--f|full : display full job informations} {--count : count of jobs}'; diff --git a/src/StewardServiceProvider.php b/src/StewardServiceProvider.php index 4407c6c..b011ac2 100644 --- a/src/StewardServiceProvider.php +++ b/src/StewardServiceProvider.php @@ -39,8 +39,8 @@ public function configurePackage(Package $package): void \Kiwilan\Steward\Commands\TagCleanCommand::class, \Kiwilan\Steward\Commands\Optimize\OptimizeFeshCommand::class, \Kiwilan\Steward\Commands\ClearFreshCommand::class, - \Kiwilan\Steward\Commands\Jobs\JobListCommand::class, - \Kiwilan\Steward\Commands\Jobs\JobClearCommand::class, + \Kiwilan\Steward\Commands\Jobs\JobsListCommand::class, + \Kiwilan\Steward\Commands\Jobs\JobsClearCommand::class, ]) ; }