| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 10 |
| Ratio | 100 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | 1 | from cleo.helpers import argument |
|
| 15 | 1 | def _handle(self) -> int: |
|
| 16 | """ |
||
| 17 | Reads the arguments and starts SDoc application. |
||
| 18 | """ |
||
| 19 | 1 | sdoc = SDoc() |
|
| 20 | 1 | sdoc.io = SDocIO(self.io.input, self.io.output, self.io.error_output) |
|
| 21 | 1 | sdoc.config_path = self.argument('config.cfg') |
|
| 22 | 1 | sdoc.init() |
|
| 23 | |||
| 24 | 1 | return sdoc.run_sdoc2(self.argument('main.sdoc2')) |
|
| 25 | |||
| 27 |