| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class CreateDocsCommand extends Command { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Configure method. |
||
| 17 | */ |
||
| 18 | public function configure(): void |
||
| 19 | { |
||
| 20 | $this->setName('create') |
||
| 21 | ->setDescription('Create PDF format documentation.') |
||
| 22 | ->setHelp('This command allows you to generate documentation for your PHP files.') |
||
| 23 | ->addArgument('inputPath', InputArgument::REQUIRED, 'File or directory path where the PHP code is.') |
||
| 24 | ->addArgument('outputPath', InputArgument::REQUIRED, 'Directory where the documentation will be created.'); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param InputInterface $input |
||
| 29 | * @param OutputInterface $output |
||
| 30 | */ |
||
| 31 | public function execute(InputInterface $input, OutputInterface $output): void |
||
| 34 | } |
||
| 35 | } |