Skip to content

Commit d3b2440

Browse files
committed
feat: add application entry point
1 parent 72a19d0 commit d3b2440

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

main.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
from rich.console import Console
2+
from rich.panel import Panel
3+
4+
console = Console()
5+
def banner():
6+
console.print(
7+
Panel.fit(
8+
"[bold cyan]LeetCode Sync[/bold cyan]\n"
9+
"Automatic LeetCode → GitHub Synchronization",
10+
title="v0.1.0",
11+
)
12+
)
13+
def main():
14+
banner()
15+
16+
console.print("[green]Project initialized successfully.[/green]")
17+
console.print("Next milestone: Authenticate with LeetCode.")
18+
19+
20+
if __name__ == "__main__":
21+
main()

0 commit comments

Comments
 (0)