项目文件夹

文件
wehub-resource-sync 2c632336aa
CI / Viewer CI (push) Successful in 13m37s
CI / Core CI (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:32:38 +08:00

11 行
259 B
Python

"""Shared constants and tiny helpers for TUI output."""
from rich.text import Text
def status_icon(success: bool) -> Text:
"""Return a colored ✓ or ✗."""
if success:
return Text("✓", style="green")
return Text("✗", style="red")