(msg_type, msg_string)
| 42 | # |
| 43 | # Color print routine, takes a string matching a txtcolor above and the output string, resets color upon exit |
| 44 | def CPrint(msg_type, msg_string): |
| 45 | txtcolors = {'HELP_MSG': '\033[0;36m', |
| 46 | 'SUCCESS_MSG': '\033[1;32m', |
| 47 | 'CONTENT': '\033[1;39m', |
| 48 | 'ERR_MSG': '\033[1;31m', |
| 49 | 'NO_COLOR': '\033[0m'} |
| 50 | print(txtcolors.get(msg_type, txtcolors['NO_COLOR']) + msg_string + txtcolors['NO_COLOR']) |
| 51 | # |
| 52 | # |
| 53 | # Check clang-formatting of source code diff |
no outgoing calls
no test coverage detected