code: def get_main_parser():
      parent_parser = get_parent_parser()
  
      # Main parser
      desc = "Data Version Control"
      parser = DvcParser(
          prog="dvc",
          description=desc,
          parents=[parent_parser],
          formatter_class=formatter.RawTextHelpFormatter,
          add_help=False,
      )
  
      # NOTE: We are doing this to capitalize help message.
      # Unfortunately, there is no easier and clearer way to do it,
      # as adding this argument in get_parent_parser() either in
      # log_level_group or on parent_parser itself will cause unexpected error.
      parser.add_argument(
          "-h",
          "--help",
          action="help",
          default=argparse.SUPPRESS,
          help="Show this help message and exit.",
      )
  
      parser.add_argument(
          "-V",
          "--version",
          action="version",
          version=__version__,
          help="Show program's version.",
      )
  
      parser.add_argument(
          "--cd",
          default=os.path.curdir,
          metavar="<path>",
          help="Change to directory before executing.",
          type=str,
      )
  
      # Sub commands
      subparsers = parser.add_subparsers(
          title="Available Commands",
          metavar="command",
          dest="cmd",
          help="Use `dvc command --help` for command-specific help.",
          required=True,
      )
  
      for cmd in COMMANDS:
          cmd.add_parser(subparsers, parent_parser)
  
      return parser
  
file_path: dvc/dvc/cli/parser.py
imports: import argparse
  import os
  from functools import lru_cache
  from dvc import __version__
  from dvc.commands import add, artifacts, cache, check_ignore, checkout, commit, completion, config, daemon, dag, data, data_sync, destroy, diff, du, experiments, freeze, gc, get, get_url, git_hook, imp, imp_db, imp_url, init, install, ls, ls_url, metrics, move, params, plots, queue, remote, remove, repro, root, stage, studio, unprotect, update, version
  from dvc.log import logger
  from .None import DvcParserError, formatter
label_desc: Use image node_id 3 for calling a global function with example usage: get_main_parser() and returns: parser