->addArgument('shell',InputArgument::OPTIONAL,'The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given',null,$this->getSupportedShells(...))
->addOption('debug',null,InputOption::VALUE_NONE,'Tail the completion debug log')
$output->writeln(\sprintf('<error>Detected shell "%s", which is not supported by Symfony shell completion (supported shells: "%s").</>',$shell,implode('", "',$supportedShells)));
}else{
$output->writeln(\sprintf('<error>Shell not detected, Symfony shell completion only supports "%s").</>',implode('", "',$supportedShells)));
}
return2;
}
$output->write(str_replace(['{{ COMMAND_NAME }}','{{ VERSION }}'],[$commandName,CompleteCommand::COMPLETION_API_VERSION],file_get_contents($completionFile)));