Upstream Snapshot bb87928bce Import upstream snapshot 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream: https://github.com/Rhoban/onshape-to-robot
Upstream-Commit: 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream-Branch: master
2026-08-28 15:42:31 +08:00

22 lines
514 B
Python

from colorama import Fore, Back, Style, just_fix_windows_console
just_fix_windows_console()
def error(text: str):
return Fore.RED + text + Style.RESET_ALL
def bright(text: str):
return Style.BRIGHT + text + Style.RESET_ALL
def info(text: str):
return Fore.BLUE + text + Style.RESET_ALL
def success(text: str):
return Fore.GREEN + text + Style.RESET_ALL
def warning(text: str):
return Fore.YELLOW + text + Style.RESET_ALL
def dim(text: str):
return Style.DIM + text + Style.RESET_ALL