protected function execute(InputInterface $input, OutputInterface $output)
{
// Attempt to select the appropriate project and environment.
try {
$this->validateInput($input);
} catch (\Exception $e) {
// Ignore errors.
}
$url = self::$config->get('service.accounts_url');
if ($this->hasSelectedProject()) {
$url = $this->getSelectedProject()->getLink('#ui');
if ($this->hasSelectedEnvironment()) {
$url .= '/environments/' . rawurlencode($this->getSelectedEnvironment()->id);
}
}
$this->openUrl($url, $input, $output);
}