Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
29 | { |
||
30 | if ($input->getArgument('host')) { |
||
31 | $this->staticAppGenerator->generateFromHost($input->getArgument('host')); |
||
32 | } else { |
||
33 | $this->staticAppGenerator->generateAll(); |
||
34 | } |
||
35 | |||
36 | $output->writeln('Static version generation succeeded.'); |
||
37 | |||
38 | return 0; |
||
39 | } |
||
41 |