From 4161a8af290dbd4429659bc29bb470713df3ff35 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 19 Apr 2016 00:47:32 -0700 Subject: [PATCH] Change snipe-it commands to use common namespace --- app/Console/Commands/AssetImportCommand.php | 2 +- app/Console/Commands/CreateAdmin.php | 2 +- app/Console/Commands/DisableLDAP.php | 2 +- app/Console/Commands/LicenseImportCommand.php | 2 +- app/Console/Commands/PaveIt.php | 2 +- app/Console/Commands/SendExpirationAlerts.php | 2 +- app/Console/Commands/SendInventoryAlerts.php | 2 +- app/Console/Kernel.php | 1 + 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/Console/Commands/AssetImportCommand.php b/app/Console/Commands/AssetImportCommand.php index 2a3ee34af3..b915476c30 100644 --- a/app/Console/Commands/AssetImportCommand.php +++ b/app/Console/Commands/AssetImportCommand.php @@ -20,7 +20,7 @@ class AssetImportCommand extends Command { * * @var string */ - protected $name = 'asset-import:csv'; + protected $name = 'snipeit:asset-import'; /** * The console command description. diff --git a/app/Console/Commands/CreateAdmin.php b/app/Console/Commands/CreateAdmin.php index d920d0bf07..9fc73d167e 100644 --- a/app/Console/Commands/CreateAdmin.php +++ b/app/Console/Commands/CreateAdmin.php @@ -11,7 +11,7 @@ class CreateAdmin extends Command * * @var string */ - protected $signature = 'admin:create {--first_name=} {--last_name=} {--email=} {--username=} {--password=}'; + protected $signature = 'snipeit:create-admin {--first_name=} {--last_name=} {--email=} {--username=} {--password=}'; /** * The console command description. diff --git a/app/Console/Commands/DisableLDAP.php b/app/Console/Commands/DisableLDAP.php index 906cd46c77..2e2196d0f1 100644 --- a/app/Console/Commands/DisableLDAP.php +++ b/app/Console/Commands/DisableLDAP.php @@ -13,7 +13,7 @@ class DisableLDAP extends Command * * @var string */ - protected $signature = 'ldap:disable'; + protected $signature = 'snipeit:ldap-disable'; /** * The console command description. diff --git a/app/Console/Commands/LicenseImportCommand.php b/app/Console/Commands/LicenseImportCommand.php index 2ea15e4929..7c2118e198 100644 --- a/app/Console/Commands/LicenseImportCommand.php +++ b/app/Console/Commands/LicenseImportCommand.php @@ -13,7 +13,7 @@ class LicenseImportCommand extends Command { * * @var string */ - protected $name = 'license-import:csv'; + protected $name = 'snipeit:license-import'; /** * The console command description. diff --git a/app/Console/Commands/PaveIt.php b/app/Console/Commands/PaveIt.php index 3a6a145556..ff7a725479 100644 --- a/app/Console/Commands/PaveIt.php +++ b/app/Console/Commands/PaveIt.php @@ -12,7 +12,7 @@ class PaveIt extends Command * * @var string */ - protected $signature = 'pave'; + protected $signature = 'snipeit:pave'; /** * The console command description. diff --git a/app/Console/Commands/SendExpirationAlerts.php b/app/Console/Commands/SendExpirationAlerts.php index 7608c0ccc8..8e3e26d8a9 100644 --- a/app/Console/Commands/SendExpirationAlerts.php +++ b/app/Console/Commands/SendExpirationAlerts.php @@ -15,7 +15,7 @@ class SendExpirationAlerts extends Command { * * @var string */ - protected $name = 'alerts:expiring'; + protected $name = 'snipeit:expiring-alerts'; /** * The console command description. diff --git a/app/Console/Commands/SendInventoryAlerts.php b/app/Console/Commands/SendInventoryAlerts.php index 248dfcfa7a..75dcdd9ef3 100644 --- a/app/Console/Commands/SendInventoryAlerts.php +++ b/app/Console/Commands/SendInventoryAlerts.php @@ -16,7 +16,7 @@ class SendInventoryAlerts extends Command * * @var string */ - protected $signature = 'alerts:inventory'; + protected $signature = 'snipeit:inventory-alerts'; /** * The console command description. diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 67a90430c0..3566995642 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -22,6 +22,7 @@ class Kernel extends ConsoleKernel Commands\Versioning::class, Commands\SystemBackup::class, Commands\DisableLDAP::class, + Commands\Purge::class, ]; /**