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: validate arguments entered by the user and transform short args to the representation needed by igel
  @param dict_args: dict of arguments
  @return: new validated and transformed args
docstr_tok: ["validate","arguments","entered","by","the","user","and","transform","short","args","to","the","representation","needed","by","igel","@","param","dict_args",":","dict","of","arguments","@","return",":","new","validated","and","transformed","args"]
code: def validate_args(self, dict_args: dict) -> dict:
      """
      validate arguments entered by the user and transform short args to the representation needed by igel
      @param dict_args: dict of arguments
      @return: new validated and transformed args
  
      """
      d_args = {}
      for k, v in dict_args.items():
          if (
              k not in self.available_args.keys()
              and k not in self.available_args.values()
          ):
              logger.warning(f"Unrecognized argument -> {k}")
              self.parser.print_help()
              exit(1)
  
          elif k in self.available_args.values():
              d_args[k] = v
  
          else:
              d_args[self.available_args[k]] = v
  
      return d_args
  
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 2 for calling the CLI obj's underlying member method code with example usage: obj.validate_args(dict_args) and returns: d_args