| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 29 | { |
||
| 30 | $this->initConfiguration($input->getOption('configFile')); |
||
| 31 | |||
| 32 | $file = $input->getArgument('file'); |
||
| 33 | |||
| 34 | $this->config->removeLogfile($file); |
||
| 35 | |||
| 36 | $output->writeln('- Logfile successfully removed'); |
||
| 37 | $output->writeln('- Running the collect command to sync with inventorio.cloud'); |
||
| 38 | |||
| 39 | $this->getApplication()->find('collect')->run(new ArrayInput([]), new NullOutput()); |
||
| 40 | |||
| 41 | return Command::SUCCESS; |
||
| 42 | } |
||
| 44 |