def clizefy(obj=None, helper_class=DocutilizeClizeHelp, **kwargs):
    'Decorator for creating CLI objects.\n    '
    if (obj is None):
        return partial(clizefy, helper_class=helper_class, **kwargs)
    if hasattr(obj, 'cli'):
        return obj
    if (not callable(obj)):
        return Clize.get_cli(obj, **kwargs)
    return Clize.keep(obj, helper_class=helper_class, **kwargs)
Decorator for creating CLI objects.
def clizefy(obj=None, helper_class=DocutilizeClizeHelp, **kwargs):
    '\n    '
    if (obj is None):
        return partial(clizefy, helper_class=helper_class, **kwargs)
    if hasattr(obj, 'cli'):
        return obj
    if (not callable(obj)):
        return Clize.get_cli(obj, **kwargs)
    return Clize.keep(obj, helper_class=helper_class, **kwargs)