def help_()

in cronjobs/src/main.py [0:0]


def help_(**kwargs):
    """Show this help."""

    def white_bold(s):
        return f"\033[1m\x1b[37m{s}\033[0;0m"

    commands = [
        getattr(importlib.import_module(f"commands.{entrypoint}"), entrypoint)
        for entrypoint in ENTRYPOINTS
    ]
    func_listed = "\n - ".join(
        [f"{white_bold(f.__name__)}: {f.__doc__}" for f in commands]
    )
    print(
        f"""
Remote Settings lambdas.

Available commands:

 - {func_listed}
    """
    )