File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ def get_command_name(self):
194
194
return self .name
195
195
196
196
197
- def run (module_name : str = "" , argv = None ):
197
+ def run (module_name : str = "" , argv = None ):
198
198
cli = CLI ()
199
199
if module_name :
200
200
cli .scan (module_name )
Original file line number Diff line number Diff line change 1
1
from termcolor import colored
2
2
3
+ # TODO ?
4
+ # "light_grey": 37,
5
+ # "dark_grey": 90,
6
+ # "light_red": 91,
7
+ # "light_green": 92,
8
+ # "light_yellow": 93,
9
+ # "light_blue": 94,
10
+ # "light_magenta": 95,
11
+ # "light_cyan": 96,
12
+ # "white": 97,
3
13
4
- # Color helpers
5
- def blue (text ):
6
- return colored (text , "blue" )
7
14
8
-
9
- def green (text ):
10
- return colored (text , "green " )
15
+ # Color helpers
16
+ def black (text ):
17
+ return colored (text , "black " )
11
18
12
19
13
20
def red (text ):
14
21
return colored (text , "red" )
15
22
16
23
24
+ def green (text ):
25
+ return colored (text , "green" )
26
+
27
+
17
28
def yellow (text ):
18
29
return colored (text , "yellow" )
19
30
20
31
32
+ def blue (text ):
33
+ return colored (text , "blue" )
34
+
35
+
36
+ def magenta (text ):
37
+ return colored (text , "magenta" )
38
+
39
+
40
+ def cyan (text ):
41
+ return colored (text , "cyan" )
42
+
43
+
44
+ # Variants
21
45
def bold (text ):
22
46
return colored (text , attrs = ["bold" ])
23
47
You can’t perform that action at this time.
0 commit comments