Files
mocha 98dfe48888 Modified the makefile for linux to have a more robust approach
- Less problems with the mingw toolchain and clang
2025-06-12 10:31:10 +02:00

77 lines
3.0 KiB
Python

import colorama
from colorama import Fore, Style
colorama.init(autoreset=True)
class Colors:
@staticmethod
def red(str):
return Fore.RED + str + Style.RESET_ALL
@staticmethod
def green(str):
return Fore.GREEN + str + Style.RESET_ALL
@staticmethod
def yellow(str):
return Fore.YELLOW + str + Style.RESET_ALL
@staticmethod
def blue(str):
return Fore.BLUE + str + Style.RESET_ALL
@staticmethod
def magenta(str):
return Fore.MAGENTA + str + Style.RESET_ALL
@staticmethod
def cyan(str):
return Fore.CYAN + str + Style.RESET_ALL
@staticmethod
def white(str):
return Fore.WHITE + str + Style.RESET_ALL
@staticmethod
def black(str):
return Fore.BLACK + str + Style.RESET_ALL
@staticmethod
def light_red(str):
return Fore.LIGHTRED_EX + str + Style.RESET_ALL
@staticmethod
def light_green(str):
return Fore.LIGHTGREEN_EX + str + Style.RESET_ALL
@staticmethod
def light_yellow(str):
return Fore.LIGHTYELLOW_EX + str + Style.RESET_ALL
@staticmethod
def light_blue(str):
return Fore.LIGHTBLUE_EX + str + Style.RESET_ALL
@staticmethod
def light_magenta(str):
return Fore.LIGHTMAGENTA_EX + str + Style.RESET_ALL
def banner():
print(Colors.light_red("""
▄████▄ ▄▄▄█████▓ █████▒██▓███ ▄▄▄ ▄████▄ ██ ▄█▀▓█████ ██▀███
▒██▀ ▀█ ▓ ██▒ ▓▒▓██ ▒▓██░ ██▒▒████▄ ▒██▀ ▀█ ██▄█▒ ▓█ ▀ ▓██ ▒ ██▒
▒▓█ ▄ ▒ ▓██░ ▒░▒████ ░▓██░ ██▓▒▒██ ▀█▄ ▒▓█ ▄ ▓███▄░ ▒███ ▓██ ░▄█ ▒
▒▓▓▄ ▄██▒░ ▓██▓ ░ ░▓█▒ ░▒██▄█▓▒ ▒░██▄▄▄▄██ ▒▓▓▄ ▄██▒▓██ █▄ ▒▓█ ▄ ▒██▀▀█▄
▒ ▓███▀ ░ ▒██▒ ░ ░▒█░ ▒██▒ ░ ░ ▓█ ▓██▒▒ ▓███▀ ░▒██▒ █▄░▒████▒░██▓ ▒██▒
░ ░▒ ▒ ░ ▒ ░░ ▒ ░ ▒▓▒░ ░ ░ ▒▒ ▓▒█░░ ░▒ ▒ ░▒ ▒▒ ▓▒░░ ▒░ ░░ ▒▓ ░▒▓░
░ ▒ ░ ░ ░▒ ░ ▒ ▒▒ ░ ░ ▒ ░ ░▒ ▒░ ░ ░ ░ ░▒ ░ ▒░
░ ░ ░ ░ ░░ ░ ▒ ░ ░ ░░ ░ ░ ░░ ░
░ ░ ░ ░░ ░ ░ ░ ░ ░ ░
░ ░
""")+
("\n\tAuthor: mocha") +("\n\thttps://mochabyte.xyz\n"))