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)
Return a generic clone of an existing Command object.
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/get_generic_clone