blob: 5aae18d1da0fd144b702afd7d6b34845cbcd35df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import os
from .bcolors import COLORS
ENDC = len(COLORS) - 1
def logging(text, _type=ENDC, end=""):
print(f"{COLORS[_type]}{text}{COLORS[ENDC]}", end=end)
def logging_arg(text, *args):
args = [f"{COLORS[0]}{i}{COLORS[ENDC]}" for i in args]
print(text.format(*args), end="")
def logo():
print(
"""
__ _
/ _| | |
| |_ _ __ ___ ___| |_
| _| '__/ _ \/ __| __|
| | | | | __/\__ \ |_
|_| |_| \___||___/\__|
\n\n"""
)
def create_app(name):
pass
|