class_docstr: CLI describes a command line interface for interacting with igel, there
  are several different functions that can be performed.
class_docstr_tok: ["CLI","describes","a","command","line","interface","for","interacting","with","igel",",","there","are","several","different","functions","that","can","be","performed","."]
docstr: parse command, which represents the function that will be called by igel
  @return: command entered by the user
docstr_tok: ["parse","command",",","which","represents","the","function","that","will","be","called","by","igel","@","return",":","command","entered","by","the","user"]
code: def parse_command(self):
      """
      parse command, which represents the function that will be called by igel
      @return: command entered by the user
      """
      # parse_args defaults to [1:] for args, but you need to
      # exclude the rest of the args too, or validation will fail
      cmd = self.parser.parse_args(sys.argv[1:2])
      if not hasattr(self, cmd.command):
          logger.warning("Unrecognized command")
          self.parser.print_help()
          exit(1)
      # use dispatch pattern to invoke method with same name
      return cmd
  
imports: import argparse
  import logging
  import os
  import subprocess
  import sys
  from pathlib import Path
  import igel
  import pandas
  from igel import Igel, metrics_dict, models_dict
  from igel.constants import Constants
  from igel.servers import fastapi_server
label_desc: Use image node_id 4 for calling the CLI obj's underlying member method code with example usage: obj.parse_command() and returns: cmd