v0.0.1 first commit

This commit is contained in:
2026-07-29 17:36:22 +02:00
parent 49bb6815a0
commit 2eee55384e
28 changed files with 3902 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
class ConsoleUI:
RESET = "\033[0m"
BOLD = "\033[1m"
BLUE = "\033[38;5;39m"
GREEN = "\033[38;5;42m"
YELLOW = "\033[38;5;220m"
RED = "\033[38;5;196m"
@classmethod
def headline(cls, text: str) -> None:
print(f"{cls.BOLD}{cls.BLUE}{text}{cls.RESET}")
@classmethod
def info(cls, text: str) -> None:
print(f"{cls.BLUE}[INFO]{cls.RESET} {text}")
@classmethod
def success(cls, text: str) -> None:
print(f"{cls.GREEN}[OK]{cls.RESET} {text}")
@classmethod
def warn(cls, text: str) -> None:
print(f"{cls.YELLOW}[WARN]{cls.RESET} {text}")
@classmethod
def error(cls, text: str) -> None:
print(f"{cls.RED}[ERR]{cls.RESET} {text}")