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

1"""Module for starting the cli.""" 

2 

3import typer 

4 

5from kwai.cli import commands, dependencies 

6 

7 

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) 

14 

15if __name__ == "__main__": 

16 dependencies.configure() 

17 

18 app()