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