| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function configure() |
||
| 15 | { |
||
| 16 | $this |
||
| 17 | ->setName('publish:gh-pages') |
||
| 18 | ->setDescription('Update and publish a manifest to GitHub Pages') |
||
| 19 | ->addArgument( |
||
| 20 | 'package-name', |
||
| 21 | InputArgument::REQUIRED, |
||
| 22 | 'The package name in vendor/project format' |
||
| 23 | ) |
||
| 24 | ->addArgument( |
||
| 25 | 'target-package-name', |
||
| 26 | InputArgument::OPTIONAL, |
||
| 27 | 'The target repo in vendor/project format' |
||
| 28 | ) |
||
| 29 | ; |
||
| 30 | } |
||
| 31 | |||
| 44 |