Coverage for src/kwai/cli/__main__.py: 0%
9 statements
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
1"""Module for starting the cli."""
3import typer
5from kwai.cli import commands, dependencies
8app = typer.Typer(pretty_exceptions_short=True, pretty_exceptions_show_locals=False)
9app.add_typer(commands.bus, name="bus", help="Commands for the event bus.")
10app.add_typer(commands.db, name="db", help="Commands for the database.")
11app.add_typer(
12 commands.identity, name="identity", help="Commands for the identity module."
13)
15if __name__ == "__main__":
16 dependencies.configure()
18 app()