def print_result_header()

in wadebug/ui.py [0:0]


def print_result_header(result):
    result_type = result.__class__
    indicator_icon = get_result_indicator_icon(result_type)
    indicator_color = get_result_color(result_type)

    click.secho("[{}] ".format(indicator_icon), fg=indicator_color, nl=False)

    click.secho(
        "{} - {}".format(
            result.action.user_facing_name, result.action.short_description
        )
    )