from typing import Callable


def clippy(func: Callable) -> Callable:
    """
    Use this as an attribute on a function via `@clippy` to mark a function as available on the command line.

    :param func: A callable function; passed by Python when used as a function attribute.
    :returns: The given function.
    """
    setattr(func, "is_clippy_command", True)
    return func