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, ]) ; }