code: def add_parser(subparsers, parent_parser):
      data_parser = subparsers.add_parser(
          "data",
          parents=[parent_parser],
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      data_subparsers = data_parser.add_subparsers(
          dest="cmd",
          help="Use `dvc data CMD --help` to display command-specific help.",
          required=True,
      )
  
      DATA_STATUS_HELP = "Show changes between the last git commit, the dvcfiles and the workspace."
      data_status_parser = data_subparsers.add_parser(
          "status",
          parents=[parent_parser],
          description=append_doc_link(DATA_STATUS_HELP, "data/status"),
          formatter_class=formatter.RawDescriptionHelpFormatter,
          help=DATA_STATUS_HELP,
      )
      data_status_parser.add_argument(
          "--json",
          action="store_true",
          default=False,
          help="Show output in JSON format.",
      )
      data_status_parser.add_argument(
          "--granular",
          action="store_true",
          default=False,
          help="Show granular file-level info for DVC-tracked directories.",
      )
      data_status_parser.add_argument(
          "--unchanged",
          action="store_true",
          default=False,
          help="Show unmodified DVC-tracked files.",
      )
      data_status_parser.add_argument(
          "--untracked-files",
          choices=["no", "all"],
          default="no",
          const="all",
          nargs="?",
          help="Show untracked files.",
      )
      data_status_parser.add_argument(
          "--not-in-remote",
          action="store_true",
          default=False,
          help="Show files not in remote.",
      )
      data_status_parser.add_argument(
          "--no-remote-refresh",
          dest="remote_refresh",
          action="store_false",
          help="Use cached remote index (don't check remote).",
      )
      data_status_parser.set_defaults(func=CmdDataStatus)
  
file_path: dvc/dvc/commands/data.py
imports: from typing import TYPE_CHECKING
  from funcy import chunks, compact, log_durations
  from dvc.cli import formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
  from dvc.ui import ui
  from dvc.utils import colorize
label_desc: Use image node_id 1 for calling a global function with example usage: add_parser(subparsers, parent_parser) without return types