protected function execute(InputInterface $input, OutputInterface $output)
{
$this->_init($output);
$packages = array($input->getArgument('package'));
if ($packages == array(null)) {
$packages = $this->_getInstalledPackages();
}
$to_skip = array();
if (!$input->getOption('include-default')) {
$to_skip = $this->_getBasePackages();
}
foreach ($packages as $package) {
if (in_array($package, $to_skip)) {
continue;
}
$output->writeln(array($package, '--------------------------------------------------', '', ''));
$this->_validateSpecificPackage($package, $output, $input);
}
$output->writeln('');
}