code: def add_endpoint_param(
      parser: Union[
          argparse.ArgumentParser, argparse._ActionsContainer
      ],
      help_text: Text,
      default: Optional[Text] = DEFAULT_ENDPOINTS_PATH,
  ) -> None:
      """Adds an option to an argument parser to configure endpoints path."""
      parser.add_argument(
          "--endpoints", type=str, default=default, help=help_text
      )
  
file_path: rasa/rasa/cli/arguments/default_arguments.py
imports: import argparse
  import logging
  from typing import Text, Union, Optional
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_MODELS_PATH, DEFAULT_DATA_PATH, DEFAULT_ENDPOINTS_PATH
label_desc: Use image node_id 7 for calling a global function with example usage: add_endpoint_param(parser, help_text, default) without return types