code: def add_subparser(
      subparsers: SubParsersAction,
      parents: List[argparse.ArgumentParser],
  ) -> None:
      """Add all init parsers.
  
      Args:
          subparsers: subparser we are going to attach to
          parents: Parent parsers, needed to ensure tree structure in argparse
      """
      scaffold_parser = subparsers.add_parser(
          "init",
          parents=parents,
          help="Creates a new project, with example training data, "
          "actions, and config files.",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      scaffold_parser.add_argument(
          "--no-prompt",
          action="store_true",
          help="Automatically choose default options for prompts and suppress warnings.",
      )
      scaffold_parser.add_argument(
          "--init-dir",
          default=None,
          help="Directory where your project should be initialized.",
      )
  
      scaffold_parser.set_defaults(func=run)
  
file_path: rasa/rasa/cli/scaffold.py
imports: import argparse
  import os
  import sys
  from typing import List, Text
  from rasa import telemetry
  from rasa.cli import SubParsersAction
  from rasa.cli.shell import shell
  from rasa.shared.utils.cli import print_success, print_error_and_exit
  from rasa.shared.constants import DOCS_BASE_URL, DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_MODELS_PATH
label_desc: Use image node_id 1 for calling a global function with example usage: add_subparser(subparsers, parents) without return types