mirror of
https://github.com/knejadshamsi/zele-utils.git
synced 2024-12-23 08:05:52 -05:00
10 lines
387 B
Python
10 lines
387 B
Python
from rich import print
|
|
|
|
def error_printer(text):
|
|
print(f'[bold red]ERROR:[/bold red] [bold]{text}[/bold]')
|
|
def success_printer(text):
|
|
print(f'[bold green]SUCCESS:[/bold green] [bold]{text}[/bold]')
|
|
def info_printer(text):
|
|
print(f'[bold blue]INFO:[/bold blue] [bold]{text}[/bold]')
|
|
def notice_printer(text):
|
|
print(f'[bold yellow]NOTICE:[/bold yellow] [bold]{text}[/bold]') |