Skip to content

Commit e920b4c

Browse files
committed
feat(cli): add command line interface for Tux Discord Bot
- Introduced a new CLI module that serves as the entry point for running the Tux Discord Bot. - Implemented the main function to facilitate bot execution via command line. - Added documentation to describe the purpose and functionality of the CLI module.
1 parent 78ae3be commit e920b4c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/tux/cli.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env python3
2+
"""
3+
Command Line Interface for Tux Discord Bot.
4+
5+
This module provides the CLI entry point for running the bot.
6+
"""
7+
8+
import sys
9+
10+
from tux.main import run
11+
12+
13+
def main():
14+
"""Entry point for the Tux CLI."""
15+
sys.exit(run())
16+
17+
18+
if __name__ == "__main__":
19+
main()

0 commit comments

Comments
 (0)