| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class LogfileRemoveCommand extends InventorioCommand |
||
| 13 | { |
||
| 14 | protected static $defaultName = 'logfile:remove'; |
||
| 15 | protected static $defaultDescription = 'Remove a logfile to the remote console'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @inheritDoc |
||
| 19 | */ |
||
| 20 | protected function configure(): void |
||
| 21 | { |
||
| 22 | parent::configure(); |
||
| 23 | |||
| 24 | $this |
||
| 25 | ->addArgument('file', InputArgument::REQUIRED, 'The logfile (absolute path)'); |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 42 | } |
||
| 43 | } |
||
| 44 |