def expose(func):
    """
    A decorator for ``ScriptAdaptor`` methods.  Methods so decorated
    will be exposed on the function decorated by ``cli_tools``.  This
    has no effect on classes decorated by ``cli_tools``.

    :param func: The function to expose.

    :returns: The function.
    """
    func._cli_expose = True
    return func
