加个小提示

This commit is contained in:
2026-02-16 00:01:44 +08:00
parent d9485e3c67
commit 19384439f2
4 changed files with 14 additions and 0 deletions

View File

@@ -130,6 +130,11 @@ class OutputFormatter:
"""打印警告信息"""
print(f"{Colors.BRIGHT_YELLOW}[!]{Colors.ENDC} {Colors.YELLOW}{text}{Colors.ENDC}")
@staticmethod
def tip(text: str):
"""打印提示信息"""
print(f"{Colors.BRIGHT_CYAN}[*]{Colors.ENDC} {Colors.CYAN}{text}{Colors.ENDC}")
@staticmethod
def step(num: int, text: str):
"""打印步骤信息"""