def echo(msg, *args, **kwargs):
file = kwargs.pop('<STR_LIT:file>', None)<EOL>nl = kwargs.pop('<STR_LIT>', True)<EOL>err = kwargs.pop('<STR_LIT>', False)<EOL>color = kwargs.pop('<STR_LIT>', None)<EOL>msg = safe_unicode(msg).format(*args, **kwargs)<EOL>click.echo(msg, file=file, nl=nl, err=err, color=color)<EOL>
Wraps click.echo, handles formatting and check encoding