import click


def format_boolean(value):
    """
    Format boolean with color
    """

    if type(value) == bool:
        if value:
            return click.style(str(value), fg='green')
        else:
            return click.style(str(value), fg='red')
    return value