code: def main() -> None:
      init(autoreset=True)
      parser = argparse.ArgumentParser()
      parser.add_argument("version", help="Release version")
      parser.add_argument(
          "template_name",
          help="Name of template file to use for release announcement",
      )
      parser.add_argument(
          "doc_version",
          help="For prereleases, the version to link to in the docs",
      )
      parser.add_argument(
          "--skip-check-links", action="store_true", default=False
      )
      options = parser.parse_args()
      pre_release(
          options.version,
          options.template_name,
          options.doc_version,
          skip_check_links=options.skip_check_links,
      )
  
file_path: pytest/scripts/release.py
imports: import argparse
  import os
  from pathlib import Path
  from subprocess import call
  from subprocess import check_call
  from subprocess import check_output
  from colorama import Fore
  from colorama import init
label_desc: Use image node_id 7 for calling a global function with example usage: main() without return types