mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-20 09:16:23 +01:00
plugin:activate/deactivate alias
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user