private function validateAdaptersConfig(InputInterface $input)
{
$repositoryManager = $input->getOption('repo-adapter');
$errors = [];
$this->checkAdapterConfigured($repositoryManager, 'repository-management', AdapterFactory::SUPPORT_REPOSITORY_MANAGER, $errors);
if ($input->hasOption('issue-adapter')) {
$issueTracker = $input->getOption('issue-adapter');
$this->checkAdapterConfigured($issueTracker, 'issue-tracking', AdapterFactory::SUPPORT_ISSUE_TRACKER, $errors);
}
if ($errors) {
$errors[] = 'Please run the "core:configure" command.';
throw new UserException($errors);
}
}