def get_generic_cli(obj, cliclass=GenericCLI, env=None, aliases=None, theme=None, logfile=None, historyfile=None):
    io = ConsoleIO()
    ui = UserInterface(io, env, theme)
    cmd = get_generic_cmd(obj, ui, cliclass, aliases)
    cmd._export("PS1", "%s> " % (obj.__class__.__name__,))
    cli = CommandParser(cmd, logfile, historyfile)
    return cli

# this class is indended to be wrapped by GenericCLI as a general Python CLI.
# It does nothing but allow GenericCLI to pass through its basic functionality.
get_generic_cli(obj, cliclass=GenericCLI, env=None, aliases=None)
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/get_generic_cli