/**
* Execute the console command.
*
* @param ComposerFileWriter $writer
*
* @return bool|null
* @throws \Exception
*/
public function fire(ComposerFileWriter $writer)
{
// php artisan plugin:sync-composer
// sync
$writer->resolvePlugins()->setFixMode()->write();
$this->output->success("The installation information of the plug-in was synchronized with the composer file(" . $writer->getPath() . ").");
}