(cls)
| 134 | |
| 135 | @classmethod |
| 136 | def print_cmds_help(cls): |
| 137 | msg = '' |
| 138 | for cmd_name, cmd_txt in list(MarvinCliCommands.cmds_info.items()): |
| 139 | msg = msg + \ |
| 140 | '\n----------------------------------------------------\n' |
| 141 | cmd_info = ShellColor.BOLD + ShellColor.RED + \ |
| 142 | 'cmd_name:%s' % str(cmd_name) + ShellColor.END |
| 143 | for key, value in cmd_txt.items(): |
| 144 | cmd_info = cmd_info + '\n' + \ |
| 145 | str(key) + ' : ' + str(value).strip('\n') |
| 146 | msg = msg + cmd_info |
| 147 | # return ShellColor.BOLD + ShellColor.RED + msg + ShellColor.END |
| 148 | return msg |
| 149 | |
| 150 | @classmethod |
| 151 | def print_msg(cls, msg): |
no outgoing calls
no test coverage detected