code: def add_subparser(
      subparsers: SubParsersAction,
      parents: List[argparse.ArgumentParser],
  ) -> None:
      """Add all evaluate parsers.
  
      Args:
          subparsers: subparser we are going to attach to
          parents: Parent parsers, needed to ensure tree structure in argparse
      """
      evaluate_parser = subparsers.add_parser(
          "evaluate",
          parents=parents,
          conflict_handler="resolve",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Tools for evaluating models.",
      )
  
      evaluate_subparsers = evaluate_parser.add_subparsers()
  
      marker_parser = evaluate_subparsers.add_parser(
          "markers",
          parents=parents,
          conflict_handler="resolve",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Applies marker conditions to existing trackers.",
      )
  
      markers_subparser = marker_parser.add_subparsers(dest="strategy")
  
      markers_first_n_subparser = markers_subparser.add_parser(
          "first_n",
          parents=parents,
          conflict_handler="resolve",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Select trackers sequentially until N are taken.",
      )
      arguments.set_markers_first_n_arguments(markers_first_n_subparser)
  
      arguments.set_markers_arguments(markers_first_n_subparser)
  
      markers_sample_subparser = markers_subparser.add_parser(
          "sample_n",
          parents=parents,
          conflict_handler="resolve",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Select trackers by sampling N.",
      )
      arguments.set_markers_sample_arguments(markers_sample_subparser)
  
      arguments.set_markers_arguments(markers_sample_subparser)
  
      markers_all_subparser = markers_subparser.add_parser(
          "all",
          parents=parents,
          conflict_handler="resolve",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          help="Select all trackers.",
      )
  
      arguments.set_markers_arguments(markers_all_subparser)
  
      marker_parser.set_defaults(func=_run_markers_cli)
  
file_path: rasa/rasa/cli/evaluate.py
imports: import argparse
  from typing import List, Text, Optional
  from pathlib import Path
  from rasa import telemetry
  from rasa.core.utils import AvailableEndpoints
  from rasa.core.tracker_store import TrackerStore
  from rasa.core.evaluation.marker_tracker_loader import MarkerTrackerLoader
  from rasa.core.evaluation.marker_base import Marker, OperatorMarker
  from rasa.shared.core.domain import Domain
  from rasa.cli import SubParsersAction
  import rasa.cli.arguments.evaluate
  import rasa.shared.utils.cli
label_desc: Use image node_id 1 for calling a global function with example usage: add_subparser(subparsers, parents) without return types