1
0
Fork 0

Do not prompt for binary/script args if they are provided, fixes #11167

pull/11169/head
Jordi Boggiano 2022-11-01 16:21:30 +01:00
parent 36bc30ffab
commit 45af4e3e20
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,10 @@ EOT
return;
}
if ($input->getArgument('binary') !== null) {
return;
}
$io = $this->getIO();
/** @var string $binary */
$binary = $io->select(

View File

@ -79,6 +79,10 @@ EOT
return;
}
if ($input->getArgument('script') !== null) {
return;
}
$options = [];
foreach ($scripts as $script) {
$options[$script['name']] = $script['description'];