Coverage for docs_src/subcommands/tutorial003/main.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-09-09 18:26 +0000

1import typer 1abcdefgh

2 

3import items 1abcdefgh

4import lands 1abcdefgh

5import users 1abcdefgh

6 

7app = typer.Typer() 1abcdefgh

8app.add_typer(users.app, name="users") 1abcdefgh

9app.add_typer(items.app, name="items") 1abcdefgh

10app.add_typer(lands.app, name="lands") 1abcdefgh

11 

12if __name__ == "__main__": 1abcdefgh

13 app() 1abcdefgh