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