code: def create_argument_parser():
      """Parse all the command line arguments for the nlg server script."""
  
      parser = argparse.ArgumentParser(
          description="starts the nlg endpoint"
      )
      parser.add_argument(
          "-p",
          "--port",
          default=DEFAULT_SERVER_PORT,
          type=int,
          help="port to run the server at",
      )
      parser.add_argument(
          "--workers",
          default=DEFAULT_SANIC_WORKERS,
          type=int,
          help="Number of processes to spin up",
      )
      parser.add_argument(
          "-d",
          "--domain",
          type=str,
          default=None,
          help="path of the domain file to load utterances from",
      )
  
      return parser
  
file_path: rasa/examples/nlg_server/nlg_server.py
imports: import argparse
  import logging
  import os
  from sanic import Sanic, response
  from rasa.shared.core.domain import Domain
  from rasa.core.nlg import TemplatedNaturalLanguageGenerator
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.constants import ENV_SANIC_BACKLOG, DEFAULT_SANIC_WORKERS
label_desc: Use image node_id 1 for calling a global function with example usage: create_argument_parser() and returns: parser