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):
10def red(text):
11    """
12    Red text
13    """
14    return style(text, fg="red")

Red text

def green(text):
17def green(text):
18    """
19    Green text
20    """
21    return style(text, fg="green")

Green text

def yellow(text):
24def yellow(text):
25    """
26    Yellow text
27    """
28    return style(text, fg="yellow")

Yellow text

def blue(text):
31def blue(text):
32    """
33    Blue text
34    """
35    return style(text, fg="cyan")

Blue text