| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ListCommand extends CommandCommand |
||
| 11 | { |
||
| 12 | protected static $defaultName = 'commands:list'; |
||
| 13 | protected static $defaultDescription = 'List all command that are registered in the repositories.'; |
||
| 14 | |||
| 15 | protected function configure() |
||
| 16 | { |
||
| 17 | parent::configure(); |
||
| 18 | $this->addArgument('repository', InputArgument::OPTIONAL, 'Show only this single repository', ''); |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function doExecute(InputInterface $input, OutputInterface $output): int |
||
| 25 | } |
||
| 26 | } |
||
| 27 |