code: def setup_args():
      """
      Set up args.
  
      :return: A parser that takes in command line arguments for chat services (debug, config-path, password), and a port.
      """
      parser = ParlaiParser(False, False)
      parser.add_parlai_data_path()
      parser.add_chatservice_args()
      parser_grp = parser.add_argument_group("Terminal Chat")
      parser_grp.add_argument(
          "--port",
          default=35496,
          type=int,
          help="Port to run the terminal chat server",
      )
      return parser.parse_args()
  
imports: from parlai.core.params import ParlaiParser
  from parlai.chat_service.services.terminal_chat.terminal_manager import TerminalManager
  import parlai.chat_service.utils.config
label_desc: Use image node_id 1 for calling a global function with example usage: setup_args() and returns: parser