| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 16 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 8 | protected function configure() |
|
| 38 | { |
||
| 39 | 8 | $this |
|
| 40 | 8 | ->addArgument( |
|
| 41 | 8 | 'username', |
|
| 42 | 8 | InputArgument::REQUIRED, |
|
| 43 | 'IBM Watson Service credentials username.' |
||
| 44 | 8 | ) |
|
| 45 | 8 | ->addArgument( |
|
| 46 | 8 | 'password', |
|
| 47 | 8 | InputArgument::REQUIRED, |
|
| 48 | 'IBM Watson Service credentials password.' |
||
| 49 | 8 | ) |
|
| 50 | 8 | ->addOption( |
|
| 51 | 8 | 'version-date', |
|
| 52 | 8 | '-d', |
|
| 53 | 8 | InputOption::VALUE_REQUIRED, |
|
| 54 | 'API version date, defaults to current date i.e. latest release' |
||
| 55 | 8 | ); |
|
| 56 | 8 | } |
|
| 57 | |||
| 74 |