get file name from option

This commit is contained in:
Uwe Steinmann 2025-11-14 16:55:17 +01:00
parent 25dd7873c9
commit f83a43671b

View File

@ -63,6 +63,7 @@ class UploadextensionCommand extends Command
return Command::FAILURE;
}
$filename = $input->getOption('file');
if (!$extmgr->updateExtension($filename)) {
foreach ($extmgr->getErrorMsgs() as $msg) {
$output->writeln(sprintf("<error>%s</error>", $msg));