code: def cli(args=None):
      """Process command line arguments."""
      if not args:
          args = sys.argv[1:]
  
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "project",
          help="The project name e.g. apache/arrow-datafusion",
      )
      parser.add_argument("tag1", help="The previous release tag")
      parser.add_argument("tag2", help="The current release tag")
      args = parser.parse_args()
  
      token = os.getenv("GITHUB_TOKEN")
  
      g = Github(token)
      repo = g.get_repo(args.project)
      generate_changelog(repo, args.project, args.tag1, args.tag2)
  
file_path: arrow-datafusion/dev/release/generate-changelog.py
imports: import argparse
  import sys
  from github import Github
  import os
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: cli(args) without return types