code: def add_parser(subparsers, parent_parser):
      ADD_HELP = "Track data files or directories with DVC."
  
      parser = subparsers.add_parser(
          "add",
          parents=[parent_parser],
          description=append_doc_link(ADD_HELP, "add"),
          help=ADD_HELP,
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      parser.add_argument(
          "--no-commit",
          action="store_true",
          default=False,
          help="Don't put files/directories into cache.",
      )
      parser.add_argument(
          "--glob",
          action="store_true",
          default=False,
          help="Allows targets containing shell-style wildcards.",
      )
      parser.add_argument(
          "-o",
          "--out",
          help="Destination path to put files to.",
          metavar="<path>",
      )
      parser.add_argument(
          "--to-remote",
          action="store_true",
          default=False,
          help="Download it directly to the remote",
      )
      parser.add_argument(
          "-r",
          "--remote",
          help="Remote storage to download to",
          metavar="<name>",
      )
      parser.add_argument(
          "--remote-jobs",
          type=int,
          help=(
              "Only used along with '--to-remote'. "
              "Number of jobs to run simultaneously "
              "when pushing data to remote."
              "The default value is 4 * cpu_count(). "
          ),
          metavar="<number>",
      )
      parser.add_argument(
          "-f",
          "--force",
          action="store_true",
          default=False,
          help="Override local file or folder if exists.",
      )
      parser.add_argument(
          "targets", nargs="+", help="Input files/directories to add."
      ).complete = completion.FILE
      parser.set_defaults(func=CmdAdd)
  
file_path: dvc/dvc/commands/add.py
imports: from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
label_desc: Use image node_id 1 for calling a global function with example usage: add_parser(subparsers, parent_parser) without return types