def get_generic_clone(obj, cli, cliclass=GenericCLI, theme=None):
    newui = cli._ui.clone(theme)
    return get_generic_cmd(obj, newui, cliclass, aliases=cli._aliases)
Set the factory to be used when instantiating a log record.
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/get_generic_clone--crossover with--dataset/ETHPy150Open saltstack/salt/salt/log/setup.py/setLogRecordFactory