| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 0 | ||
| 1 | """ |
||
| 17 | 1 | class SDocApplication(Application): |
|
| 18 | """ |
||
| 19 | The SDocApplication application. |
||
| 20 | """ |
||
| 21 | |||
| 22 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 23 | 1 | def __init__(self): |
|
| 24 | """ |
||
| 25 | Object constructor. |
||
| 26 | """ |
||
| 27 | Application.__init__(self, 'SDocApplication', '0.0.11') |
||
| 28 | |||
| 29 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 30 | 1 | def get_default_commands(self): |
|
| 31 | """ |
||
| 32 | Returns the default commands of this application. |
||
| 33 | |||
| 34 | :rtype: list[cleo.Command] |
||
| 35 | """ |
||
| 36 | commands = Application.get_default_commands(self) |
||
| 37 | |||
| 38 | self.add(SDocCommand()) |
||
| 39 | self.add(SDoc1Command()) |
||
| 40 | self.add(SDoc2Command()) |
||
| 41 | |||
| 42 | return commands |
||
| 43 | |||
| 45 |