code: def main(argv=sys.argv[1:]):
      programs = [
          run.register_main,
          compare.register_main,
          create_resources.register_main,
          combine.register_main,
          summarize.register_main,
          visualize.register_main,
      ]
  
      parser = ArgumentParser(
          prog="hail-bench",
          description="Run and analyze Hail benchmarks.",
          formatter_class=ArgumentDefaultsHelpFormatter,
      )
  
      subparsers = parser.add_subparsers()
      for p in programs:
          p(subparsers)
  
      args = parser.parse_args(argv)
      args.main(args)
  
imports: import sys
  from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
  from .run import cli
  from .None import compare, create_resources, combine, summarize, visualize
label_desc: Use image node_id 1 for calling a global function with example usage: main(argv) without return types