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