Coverage for kwai/kwai_cli.py: 0%
8 statements
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
1"""Module that starts the CLI for kwai."""
3import typer
5from kwai import cli
7app = typer.Typer(pretty_exceptions_short=True, pretty_exceptions_show_locals=False)
8app.add_typer(cli.bus, name="bus", help="Commands for the event bus.")
9app.add_typer(cli.db, name="db", help="Commands for the database.")
10app.add_typer(cli.identity, name="identity", help="Commands for the identity module.")
12if __name__ == "__main__":
13 app()