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

Class MarvinCliParser

tools/marvin/marvin/deployAndRun.py:405–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403
404
405class MarvinCliParser(OptionParser):
406
407 def format_help(self, formatter=None):
408 if formatter is None:
409 formatter = self.formatter
410 result = []
411 if self.usage:
412 result.append(MarvinCliHelp.print_msg("\nUsage: marvincli [cmd] [options]. See, the below cmds for more information."
413 "(*) signifies mandatory fields \n\n"))
414 self.description = MarvinCliHelp.print_cmds_help()
415 if self.description:
416 result.append(self.format_description(formatter) + "\n")
417 return "".join(result)
418
419
420def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected