| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Tarsana\Command\Examples; |
||
| 7 | protected function init () |
||
| 8 | { |
||
| 9 | $this->name('Repeat') |
||
| 10 | ->version('1.0.0') |
||
| 11 | ->description('Repeats a word a number of times') |
||
| 12 | ->syntax('word: string, count: (number: 3)') |
||
| 13 | ->options(['--upper']) |
||
| 14 | ->describe('word', 'The word to repeat') |
||
| 15 | ->describe('count', 'The number of times to repeat the word') |
||
| 16 | ->describe('--upper', 'Converts the result to uppercase'); |
||
| 17 | } |
||
| 28 |