Coverage for src / moai_adk / utils / banner.py: 45.45%
11 statements
« prev ^ index » next coverage.py v7.12.0, created at 2025-11-20 20:52 +0900
« prev ^ index » next coverage.py v7.12.0, created at 2025-11-20 20:52 +0900
1"""ASCII banner module
3Render the MoAI-ADK ASCII art banner
4"""
6from rich.console import Console
8console = Console()
10MOAI_BANNER = """
11███╗ ███╗ █████╗ ██╗ █████╗ ██████╗ ██╗ ██╗
12████╗ ████║ ██████╗ ██╔══██╗██║ ██╔══██╗██╔══██╗██║ ██╔╝
13██╔████╔██║██║ ██║███████║██║█████╗███████║██║ ██║█████╔╝
14██║╚██╔╝██║██║ ██║██╔══██║██║╚════╝██╔══██║██║ ██║██╔═██╗
15██║ ╚═╝ ██║╚██████╔╝██║ ██║██║ ██║ ██║██████╔╝██║ ██╗
16╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
17"""
20def print_banner(version: str = "0.3.0") -> None:
21 """Print the MoAI-ADK banner
23 Args:
24 version: MoAI-ADK version
25 """
26 console.print(f"[cyan]{MOAI_BANNER}[/cyan]")
27 console.print(
28 "[dim] Modu-AI's Agentic Development Kit w/ SuperAgent 🎩 Alfred[/dim]\n"
29 )
30 console.print(f"[dim] Version: {version}[/dim]\n")
33def print_welcome_message() -> None:
34 """Print the welcome message"""
35 console.print(
36 "[cyan bold]🚀 Welcome to MoAI-ADK Project Initialization![/cyan bold]\n"
37 )
38 console.print(
39 "[dim]This wizard will guide you through setting up your MoAI-ADK project.[/dim]"
40 )
41 console.print("[dim]You can press Ctrl+C at any time to cancel.\n[/dim]")