From baec6c9ebf5c342b3b2f7123427c6ba21dbb93bc Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 4 Nov 2025 08:17:41 +0100 Subject: [PATCH] plugin:activate/deactivate alias --- system/src/Commands/PluginDisableCommand.php | 1 + system/src/Commands/PluginEnableCommand.php | 1 + 2 files changed, 2 insertions(+) diff --git a/system/src/Commands/PluginDisableCommand.php b/system/src/Commands/PluginDisableCommand.php index baa268dd..36c3b766 100644 --- a/system/src/Commands/PluginDisableCommand.php +++ b/system/src/Commands/PluginDisableCommand.php @@ -13,6 +13,7 @@ class PluginDisableCommand extends Command protected function configure(): void { $this->setName('plugin:disable') + ->setAliases(['plugin:deactivate']) ->setDescription('This command disables plugin') ->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to disable'); } diff --git a/system/src/Commands/PluginEnableCommand.php b/system/src/Commands/PluginEnableCommand.php index ae1acea0..8d5d0be5 100644 --- a/system/src/Commands/PluginEnableCommand.php +++ b/system/src/Commands/PluginEnableCommand.php @@ -13,6 +13,7 @@ class PluginEnableCommand extends Command protected function configure(): void { $this->setName('plugin:enable') + ->setAliases(['plugin:activate']) ->setDescription('This command enables plugin') ->addArgument('plugin-name', InputArgument::REQUIRED, 'Plugin that you want to enable'); }