MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / report

Function report

flowcraft/flowcraft.py:406–424  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

404
405
406def report(args):
407
408 try:
409 fc_report = FlowcraftReport(
410 report_file=args.report_file,
411 trace_file=args.trace_file,
412 log_file=args.log_file,
413 watch=args.watch,
414 ip_addr=args.url)
415
416 fc_report.broadcast_report()
417
418 except eh.ReportError as re:
419 logger.error(colored_print(re.value, "red_bold"))
420 sys.exit(1)
421
422 except eh.LogError as le:
423 logger.error(colored_print(le.value, "red_bold"))
424 sys.exit(1)
425
426
427def main():

Callers 1

mainFunction · 0.85

Calls 3

broadcast_reportMethod · 0.95
FlowcraftReportClass · 0.90
colored_printFunction · 0.90

Tested by

no test coverage detected