def no_cli(function):
    """Function decorator to suppress generation of a command-line interface for this function.

    Examples
    --------
    >>> # in workdir.py
    >>> from pyworkdir import no_cli
    >>>
    >>> @no_cli
    >>> def function_without_command_line_interace()
    >>>     pass
    """
    setattr(function, "__nocli__", True)
    return function