Coverage for tests / assets / cli / multi_app_cli.py: 100%
13 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-11-18 11:12 +0000
1import typer 1abcdefghij
3sub_app = typer.Typer() 1abcdefghij
6@sub_app.command() 1abcdefghij
7def hello(): 1abcdefghij
8 typer.echo("sub hello") 1abcdefghij
11@sub_app.command() 1abcdefghij
12def bye(): 1abcdefghij
13 typer.echo("sub bye") 1abcdefghij
16cli = typer.Typer() 1abcdefghij
17cli.add_typer(sub_app, name="sub") 1abcdefghij
20@cli.command() 1abcdefghij
21def top(): 1abcdefghij
22 typer.echo("top") 1abcdefghij