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

1"""ASCII banner module 

2 

3Render the MoAI-ADK ASCII art banner 

4""" 

5 

6from rich.console import Console 

7 

8console = Console() 

9 

10MOAI_BANNER = """ 

11███╗ ███╗ █████╗ ██╗ █████╗ ██████╗ ██╗ ██╗ 

12████╗ ████║ ██████╗ ██╔══██╗██║ ██╔══██╗██╔══██╗██║ ██╔╝ 

13██╔████╔██║██║ ██║███████║██║█████╗███████║██║ ██║█████╔╝ 

14██║╚██╔╝██║██║ ██║██╔══██║██║╚════╝██╔══██║██║ ██║██╔═██╗ 

15██║ ╚═╝ ██║╚██████╔╝██║ ██║██║ ██║ ██║██████╔╝██║ ██╗ 

16╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ 

17""" 

18 

19 

20def print_banner(version: str = "0.3.0") -> None: 

21 """Print the MoAI-ADK banner 

22 

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") 

31 

32 

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]")