mirror of https://github.com/eyhc1/rendercv.git
add terminal reporter module for displaying warnings, errors, and information
This commit is contained in:
parent
ccbaee00c1
commit
123a604c25
|
@ -0,0 +1,13 @@
|
|||
from rich import print
|
||||
|
||||
|
||||
def warning(text):
|
||||
print(f"[bold yellow]⚠️:[/bold yellow] {text}")
|
||||
|
||||
|
||||
def error(text):
|
||||
print(f"[bold red]❌:[/bold red] {text}")
|
||||
|
||||
|
||||
def information(text):
|
||||
print(f"[bold cyan]ℹ️:[/bold cyan] {text}")
|
Loading…
Reference in New Issue