def cli_plugin_add_help(help):
def decorator(func):<EOL><INDENT>if not isinstance(func, CLIPluginFuncWrapper):<EOL><INDENT>func = CLIPluginFuncWrapper(do_run=func)<EOL><DEDENT>func.set_help(help)<EOL>return func<EOL><DEDENT>return decorator<EOL>
Decorator generator that adds the cli help to the cli plugin based on the
decorated function

Args:
    help (str): help string for the cli plugin

Returns:
    function: Decorator that builds or extends the cliplugin for the
        decorated function, setting the given help
Examples:
    >>> @cli_plugin_add_help('my help string')
    ... def test(**kwargs):
    ...     print 'test'
    ...
    >>> print test.__class__
    <class 'cli.CLIPluginFuncWrapper'>
    >>> print test.help
    my help string

    >>> @cli_plugin_add_help('my help string')
    ... @cli_plugin()
    ... def test(**kwargs):
    ...     print 'test'
    >>> print test.__class__
    <class 'cli.CLIPluginFuncWrapper'>
    >>> print test.help
    my help string