protected function confirmComponent(array $info, DrupalStyle $io) {
    // Include Lightning Core, or this won't be much of a sub-profile.
    if ($info['machine_name'] == 'lightning_core') {
      $include = TRUE;
    }
    else {
      $question = sprintf(
        $this->trans('commands.lightning.subprofile.questions.include-component'),
        $info['name']
      );
      $include = $io->confirm($question);
    }

    // If they want to include the component, ask about excluding individual
    // sub-components. Otherwise, exclude the component and its sub-components.
    if ($include) {
      if (isset($info['components'])) {
        $this->doExclude($this->excludeSubComponents($info, $io));
      }
    }
    else {
      $this->doExclude($info['machine_name']);
      $this->doExclude(@$info['components']);
    }
  }