Conditions | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
18 | 1 | def __init__(self, input, output): |
|
19 | """ |
||
20 | Object constructor. |
||
21 | |||
22 | :param cleo.inputs.input.Input input: The input object. |
||
23 | :param cleo.outputs.output.Output output: The output object. |
||
24 | """ |
||
25 | 1 | CleoStyle.__init__(self, input, output) |
|
26 | |||
27 | # Create style notes. |
||
28 | 1 | style = OutputFormatterStyle('yellow', None, ['bold']) |
|
29 | 1 | output.get_formatter().set_style('note', style) |
|
30 | |||
31 | # Create style for file and directory names. |
||
32 | 1 | style = OutputFormatterStyle('white', None, ['bold']) |
|
33 | 1 | output.get_formatter().set_style('fso', style) |
|
34 | |||
46 |