41 ->addOption('show', null, InputOption::VALUE_NONE, 'outputs to console, without saving it. It can be used to save to an arbitrary location when using the `>` operator.')
42 ;
43 }
44
45protectedfunctionexecute(InputInterface $input, OutputInterface $output): int
46 {
47 $module = $input->getArgument('module');
48if (!is_string($module))
49 {
50thrownew InvalidArgumentException('Module name must be string');