saysynth.cli.colors
Helpers for adding colored log output to the CLI.
1""" 2Helpers for adding colored log output to the CLI. 3<center><img src="/assets/img/spiral.png"></img></center> 4 5""" 6from click import style 7 8 9def red(text): 10 """ 11 Red text 12 """ 13 return style(text, fg="red") 14 15 16def green(text): 17 """ 18 Green text 19 """ 20 return style(text, fg="green") 21 22 23def yellow(text): 24 """ 25 Yellow text 26 """ 27 return style(text, fg="yellow") 28 29 30def blue(text): 31 """ 32 Blue text 33 """ 34 return style(text, fg="cyan")
def
red(text):
Red text
def
green(text):
Green text
def
yellow(text):
Yellow text
def
blue(text):
Blue text