protected function interact(InputInterface $input, OutputInterface $output) { if ($input->getOption('list') || $input->getOption('import-stdin') || $input->getOption('import-file') !== null) { return; } parent::interact($input, $output); }
protected function interact(InputInterface $input, OutputInterface $output) { // Do not ask interactively when these options are used if ($input->getOption('list') || $input->getOption('default') || $input->getOption('import-stdin') || $input->getOption('import-file') !== null) { return; } parent::interact($input, $output); }