argument('name'); $result = $plugins->enable($name); if ($result === true) { $plugin = $plugins->get($name); $this->info(trans('admin.plugins.operations.enabled', ['plugin' => $plugin->title])); } elseif ($result === false) { $this->warn(trans('admin.plugins.operations.not-found')); } } }