/**
* Initialise the command.
*
* @return void
*
* @since 4.0.0
*/
protected function configure() : void
{
$this->addOption('type', null, InputOption::VALUE_REQUIRED, 'Type of the extension');
$help = "<info>%command.name%</info> lists all installed extensions\n\t\t\nUsage: <info>php %command.full_name% <extension_id></info>\n\t\t\nYou may filter on the type of extension (component, module, plugin, etc.) using the <info>--type</info> option:\n\t\t\n <info>php %command.full_name% --type=<type></info>";
$this->setDescription('List installed extensions');
$this->setHelp($help);
}