plugin:activate/deactivate alias

This commit is contained in:
slawkens
2025-11-04 08:17:41 +01:00
parent 6367054487
commit baec6c9ebf
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ class PluginDisableCommand extends Command
protected function configure(): void protected function configure(): void
{ {
$this->setName('plugin:disable') $this->setName('plugin:disable')
->setAliases(['plugin:deactivate'])
->setDescription('This command disables plugin') ->setDescription('This command disables plugin')
->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to disable'); ->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to disable');
} }

View File

@@ -13,6 +13,7 @@ class PluginEnableCommand extends Command
protected function configure(): void protected function configure(): void
{ {
$this->setName('plugin:enable') $this->setName('plugin:enable')
->setAliases(['plugin:activate'])
->setDescription('This command enables plugin') ->setDescription('This command enables plugin')
->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to enable'); ->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to enable');
} }