MCPcopy Create free account
hub / github.com/apache/cloudstack / print_cmds_help

Method print_cmds_help

tools/marvin/marvin/deployAndRun.py:136–148  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

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):

Callers 2

new_functionMethod · 0.80
format_helpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected