code: def main():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "-o",
          "--outdir",
          type=str,
          help="Path to the output directory",
      )
      args = parser.parse_args()
  
      outdir_abs = os.path.join(os.getcwd(), args.outdir)
  
      generate_api(outdir_abs)
  
imports: import os
  import argparse
  import genapi
  from genapi import TypeApi, FunctionApi
  import numpy_api
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types