def err ( msg ) : click . echo ( click . style ( msg , fg = "red" , bold = True ) )
how to make an error message in python
Pretty - print an error .
def err(msg):
    """Pretty-print an error."""
    click.echo(click.style(msg, fg="red", bold=True))