Conditions | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 9 |
Ratio | 100 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | 1 | from cleo.helpers import argument |
|
15 | 1 | def _handle(self): |
|
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 | |||
23 | 1 | return sdoc.run_sdoc(self.argument('main.sdoc')) |
|
24 | |||
26 |