code: def parse_args() -> argparse.Namespace:
      """
      Parse command-line arguments.
  
      Returns:
      --------
      argparse.Namespace: An object containing the parsed arguments.
  
      """
  
      parser = argparse.ArgumentParser(
          description="Update version based on branch name."
      )
      parser.add_argument("base_branch", help="Base branch name")
      parser.add_argument("source_branch", help="Source branch name")
      return parser.parse_args()
  
file_path: FinQuant/scripts/update_version.py
imports: import argparse
  import re
  import subprocess
  import sys
  from typing import Optional, Tuple
label_desc: Use image node_id 8 for calling a global function with example usage: parse_args() and returns: parser