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: accept user input if the user did not provide all mandatory args in the terminal.
docstr_tok: ["accept","user","input","if","the","user","did","not","provide","all","mandatory","args","in","the","terminal","."]
code: def _accept_user_input(
      self,
      yaml_needed: bool = False,
      default_data_path: str = "./train_data.csv",
      default_yaml_path: str = "./igel.yaml",
  ):
      """
      accept user input if the user did not provide all mandatory args in the terminal.
      """
      print(
          f""
          f"{'*' * 10} You entered interactive mode! {'*' * 10} \n"
          f"This is happening because you didn't enter all mandatory arguments in order to use the cli\n"
          f"Therefore, you will need to provide few information before proceeding.\n"
      )
      data_path = (
          input(
              f"enter path to your data: [{default_data_path}]        "
          )
          or default_data_path
      )
      self.dict_args["data_path"] = data_path
      if yaml_needed:
          yaml_path = (
              input(
                  f"enter path to your yaml file: [{default_yaml_path}]        "
              )
              or default_yaml_path
          )
          self.dict_args["yaml_path"] = yaml_path
  
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 8 for calling the CLI obj's underlying member method code with example usage: obj._accept_user_input(yaml_needed, default_data_path, default_yaml_path) without return types