(eg: Winter.Blog)}'; /** * @var string The console command description. */ protected $description = 'Enable an existing plugin.'; /** * Execute the console command. * @return void */ public function handle() { $pluginName = $this->getPluginIdentifier(); $pluginManager = PluginManager::instance(); // Enable this plugin $pluginManager->enablePlugin($pluginName); $this->output->writeln(sprintf('%s: enabled.', $pluginName)); } }