style(cli): replace emojis and unicode symbols with standard brackets [+], [-], [*], [!]

This commit is contained in:
2026-09-14 14:41:09 +03:30
parent 32645108d6
commit 66e2770184
4 changed files with 24 additions and 23 deletions

16
cli.py
View File

@@ -47,27 +47,27 @@ CYAN = "\033[96m"
def info(msg: str) -> None:
print(f" {CYAN}→{RESET} {msg}")
print(f" {CYAN}[*]{RESET} {msg}")
def success(msg: str) -> None:
print(f" {GREEN}✔{RESET} {msg}")
print(f" {GREEN}[+]{RESET} {msg}")
def warn(msg: str) -> None:
print(f" {YELLOW}⚠{RESET} {msg}")
print(f" {YELLOW}[!]{RESET} {msg}")
def error(msg: str) -> None:
print(f" {RED}✘{RESET} {msg}")
print(f" {RED}[-]{RESET} {msg}")
def banner() -> None:
print(f"""
{BOLD}┌──────────────────────────────────────────────────────────┐
│ HestiaCP + Django + Gunicorn — Deployment Engine │
│ Prepared by MohammadAmin Baranzehi (amin.baranzehi.com) │
└──────────────────────────────────────────────────────────┘{RESET}
{BOLD}+----------------------------------------------------------+
| HestiaCP + Django + Gunicorn - Deployment Engine |
| Prepared by MohammadAmin Baranzehi (amin.baranzehi.com) |
+----------------------------------------------------------+{RESET}
""")