class_docstr: Base class of tfdbg user interface.
class_docstr_tok: ["Base","class","of","tfdbg","user","interface","."]
docstr: Parse a command string into prefix and arguments.
  
  Args:
    command: (str) Command string to be parsed.
  
  Returns:
    prefix: (str) The command prefix.
    args: (list of str) The command arguments (i.e., not including the
      prefix).
    output_file_path: (str or None) The path to save the screen output
      to (if any).
docstr_tok: ["Parse","a","command","string","into","prefix","and","arguments",".","Args",":","command",":","(","str",")","Command","string","to","be","parsed",".","Returns",":","prefix",":","(","str",")","The","command","prefix",".","args",":","(","list","of","str",")","The","command","arguments","(","i.e.",",","not","including","the","prefix",")",".","output_file_path",":","(","str","or","None",")","The","path","to","save","the","screen","output","to","(","if","any",")","."]
code: def _parse_command(self, command):
      """Parse a command string into prefix and arguments.
  
      Args:
        command: (str) Command string to be parsed.
  
      Returns:
        prefix: (str) The command prefix.
        args: (list of str) The command arguments (i.e., not including the
          prefix).
        output_file_path: (str or None) The path to save the screen output
          to (if any).
      """
      command = command.strip()
      if not command:
          return "", [], None
  
      command_items = command_parser.parse_command(command)
      (
          command_items,
          output_file_path,
      ) = command_parser.extract_output_file_path(command_items)
  
      return command_items[0], command_items[1:], output_file_path
  
file_path: tensorflow-upstream/tensorflow/python/debug/cli/base_ui.py
imports: import argparse
  from tensorflow.python.debug.cli import cli_config
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.debug.cli import debugger_cli_common
label_desc: Use image node_id 6 for calling the BaseUI obj's underlying member method code with example usage: obj._parse_command(command) and returns: command_items,  command_items,  output_file_path, str,  list,  None