Conditions | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 13 |
Ratio | 100 % |
Tests | 1 |
CRAP Score | 1.5786 |
Changes | 0 |
1 | 1 | from cleo import Application |
|
22 | 1 | def get_default_commands(self): |
|
23 | """ |
||
24 | Returns the default commands of this application. |
||
25 | |||
26 | :rtype: list[cleo.Command] |
||
27 | """ |
||
28 | commands = Application.get_default_commands(self) |
||
29 | |||
30 | self.add(SDocCommand()) |
||
31 | self.add(SDoc1Command()) |
||
32 | self.add(SDoc2Command()) |
||
33 | |||
34 | return commands |
||
35 | |||
37 |