Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
12 | 1 | class SDocCommand(BaseCommand): |
|
13 | """ |
||
14 | Generates the target document(s) |
||
15 | |||
16 | sdoc |
||
17 | {config.cfg : The name of the config file} |
||
18 | {main.sdoc : The SDoc file} |
||
19 | """ |
||
20 | |||
21 | # ------------------------------------------------------------------------------------------------------------------ |
||
22 | 1 | def handle(self): |
|
23 | """ |
||
24 | Reads the arguments and starts SDoc application. |
||
25 | """ |
||
26 | 1 | sdoc = SDoc() |
|
27 | 1 | sdoc.io = self.output |
|
28 | 1 | sdoc.config_path = self.input.get_argument('config.cfg') |
|
29 | |||
30 | 1 | return sdoc.run_sdoc(self.input.get_argument('main.sdoc')) |
|
31 | |||
33 |