diff --git a/src/Commands/AddCommand.php b/src/Commands/AddCommand.php index 228f608..6b3f347 100644 --- a/src/Commands/AddCommand.php +++ b/src/Commands/AddCommand.php @@ -17,7 +17,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:add'); + $this->naming('plug-and-play:add', 'pp:add'); $this->setDescription('Add a required package to install using plug and play plugin'); $this->addArgument('package', InputArgument::REQUIRED, 'Package to add in plug and play dependencies'); $this->addArgument('version', InputArgument::OPTIONAL, 'Version of the package', '*'); diff --git a/src/Commands/DumpAutoloadCommand.php b/src/Commands/DumpAutoloadCommand.php index a6492fc..51d338a 100644 --- a/src/Commands/DumpAutoloadCommand.php +++ b/src/Commands/DumpAutoloadCommand.php @@ -13,7 +13,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:dump'); + $this->naming('plug-and-play:dump', 'pp:dump'); $this->setDescription('Dumps the autoloader with plug and play dependencies'); } } diff --git a/src/Commands/InitCommand.php b/src/Commands/InitCommand.php index cc354ad..6bb94ef 100644 --- a/src/Commands/InitCommand.php +++ b/src/Commands/InitCommand.php @@ -15,7 +15,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:init'); + $this->naming('plug-and-play:init', 'pp:init'); $this->setDescription('Initialize plug and play plugin'); } diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index 8582a83..13e9e3f 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -13,7 +13,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:install'); + $this->naming('plug-and-play:install', 'pp:install'); $this->setDescription('Installs the project dependencies from the plug-and-play.lock file if present, or falls back on the plug-and-play.json'); } } diff --git a/src/Commands/ResetCommand.php b/src/Commands/ResetCommand.php index 05bada9..35158a2 100644 --- a/src/Commands/ResetCommand.php +++ b/src/Commands/ResetCommand.php @@ -16,7 +16,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:reset'); + $this->naming('plug-and-play:reset', 'pp:reset'); $this->setDescription('Reset plug and play files'); } diff --git a/src/Commands/UpdateCommand.php b/src/Commands/UpdateCommand.php index 1c8ceaf..2ad3818 100644 --- a/src/Commands/UpdateCommand.php +++ b/src/Commands/UpdateCommand.php @@ -13,7 +13,7 @@ protected function configure(): void { parent::configure(); - $this->naming('plug-and-play:update'); + $this->naming('plug-and-play:update', 'pp:update'); $this->setDescription('Updates your dependencies to the latest version according to plug-and-play.json, and updates the plug-and-play.lock file'); } }