Import upstream snapshot 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream: https://github.com/Rhoban/onshape-to-robot Upstream-Commit: 80e710700aac9573a2230f74f7ce9e094833a0bc Upstream-Branch: master
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user