code: def parse_args() -> argparse.Namespace:
      parser = argparse.ArgumentParser(description="torchtnt setup")
      parser.add_argument(
          "--nightly",
          dest="nightly",
          action="store_true",
          help="enable settings for nightly package build",
          default=False,
      )
      parser.add_argument(
          "--append-to-version",
          dest="append_version",
          help="append string to end of version number (e.g. a1)",
      )
      return parser.parse_known_args()
  
file_path: tnt/setup.py
imports: import argparse
  import os
  import sys
  from datetime import date
  from typing import List
  from setuptools import find_packages, setup
  from torchtnt import __version__
label_desc: Use image node_id 4 for calling a global function with example usage: parse_args() and returns: parser