color_print¶
¶
print_blue(message)
¶
Print out blue colored text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str |
Text. |
required |
Source code in koolsla/color_print.py
44 45 46 47 48 49 50 |
|
print_dish(name, dish_id, color)
¶
Print out dish name and id with given color.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
str |
Dish name. |
required |
dish_id |
int |
ID. |
required |
color |
str |
Color name. |
required |
Source code in koolsla/color_print.py
53 54 55 56 57 58 59 60 61 |
|
print_green(message)
¶
Print out green colored text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str |
Text. |
required |
Source code in koolsla/color_print.py
26 27 28 29 30 31 32 |
|
print_red(message)
¶
Print out red colored text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str |
Text. |
required |
Source code in koolsla/color_print.py
17 18 19 20 21 22 23 |
|
print_yellow(message)
¶
Print out yellow colored text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str |
Text. |
required |
Source code in koolsla/color_print.py
35 36 37 38 39 40 41 |
|