Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
15 | class EnarkshApplication(Application): |
||
16 | """ |
||
17 | The Enarksh application. |
||
18 | """ |
||
19 | |||
20 | # ------------------------------------------------------------------------------------------------------------------ |
||
21 | def __init__(self): |
||
22 | """ |
||
23 | Object constructor |
||
24 | """ |
||
25 | Application.__init__(self, 'Enarksh', '0.0.0') |
||
26 | |||
27 | # ------------------------------------------------------------------------------------------------------------------ |
||
28 | def get_default_commands(self): |
||
29 | """ |
||
30 | Returns the default commands of this application. |
||
31 | |||
32 | :rtype: list[cleo.Command] |
||
33 | """ |
||
34 | commands = Application.get_default_commands(self) |
||
35 | |||
36 | self.add(BootstrapCommand()) |
||
37 | self.add(LoadHostCommand()) |
||
38 | self.add(LoadScheduleCommand()) |
||
39 | |||
40 | return commands |
||
41 | |||
44 |