Do not prompt for binary/script args if they are provided, fixes #11167
parent
36bc30ffab
commit
45af4e3e20
|
@ -58,6 +58,10 @@ EOT
|
|||
return;
|
||||
}
|
||||
|
||||
if ($input->getArgument('binary') !== null) {
|
||||
return;
|
||||
}
|
||||
|
||||
$io = $this->getIO();
|
||||
/** @var string $binary */
|
||||
$binary = $io->select(
|
||||
|
|
|
@ -79,6 +79,10 @@ EOT
|
|||
return;
|
||||
}
|
||||
|
||||
if ($input->getArgument('script') !== null) {
|
||||
return;
|
||||
}
|
||||
|
||||
$options = [];
|
||||
foreach ($scripts as $script) {
|
||||
$options[$script['name']] = $script['description'];
|
||||
|
|
Loading…
Reference in New Issue