code: def main():
      parser = argparse.ArgumentParser(
          description="Convert self-invented platform independent export file format to the format required by specific linker"
      )
      parser.add_argument(
          "src",
          type=argparse.FileType("r", encoding="UTF-8"),
          help="platform independent export file path",
      )
      parser.add_argument(
          "dest",
          type=argparse.FileType("w", encoding="UTF-8"),
          help="destination export file for required linker",
      )
      parser.add_argument(
          "--format",
          help="destination file type format: gnu, msvc or darwin",
      )
  
      args = parser.parse_args()
      if args.format == "gnu":
          to_gnu(args.src, args.dest)
      elif args.format == "msvc":
          to_msvc(args.src, args.dest)
      elif args.format == "darwin":
          to_darwin(args.src, args.dest)
      else:
          print(
              "Unknown destination file format: {}".format(args.format),
              file=sys.stderr,
          )
          sys.exit(1)
  
      args.src.close()
      args.dest.close()
  
file_path: catboost/build/scripts/export_script_gen.py
imports: import argparse
  import collections
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: main() without return types