for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import click
STYLES = {
'debug': {
'fg': 'blue',
},
'info': {
'fg': 'green',
'bold': True,
'highlight': {
'fg': 'cyan',
'note': {
'error': {
'fg': 'red',
}
def echo(message, style):
click.secho(
str(message),
**STYLES[style]
)
def debug(message):
echo('{}...'.format(message), 'debug')
def info(message):
echo('{}...'.format(message), 'info')
def note(message):
echo(message, 'note')
def note_style(message):
return click.style(message, **STYLES['note'])
def highlight(message):
return click.style(message, **STYLES['highlight'])
def error(message):
echo(message, 'error')