protected function getPlugin()
{
$path = $this->argument('path');
list($plugin, $path) = explode('/', $path, 2);
$plugin = app('xe.plugin')->getPlugin($plugin);
if ($plugin === null) {
throw new \Exception("Unable to find a plugin to locate the theme file. plugin[{$plugin}] is not found.");
}
return $plugin;
}