code: def add_parser(subparsers, parent_parser):
      REMOVE_HELP = "Remove stages from dvc.yaml and/or stop tracking files or directories."
      remove_parser = subparsers.add_parser(
          "remove",
          aliases=["rm"],
          parents=[parent_parser],
          description=append_doc_link(REMOVE_HELP, "remove"),
          help=REMOVE_HELP,
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      remove_parser.add_argument(
          "--outs",
          action="store_true",
          default=False,
          help="Remove outputs as well.",
      )
      remove_parser.add_argument(
          "targets",
          nargs="+",
          help=".dvc files or stages from dvc.yaml to remove.",
      ).complete = completion.DVC_FILE
      remove_parser.set_defaults(func=CmdRemove)
  
file_path: dvc/dvc/commands/remove.py
imports: from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.exceptions import DvcException
  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