Coverage for tests/assets/cli/extended_app_cli.py: 100%
18 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_sub_app = typer.Typer() 1abcdefghi
6@sub_sub_app.command() 1abcdefghi
7def sub_sub_command(): 1abcdefghi
8 typer.echo("sub_sub_command") 1abcdefghi
11sub_app = typer.Typer() 1abcdefghi
12sub_app.add_typer(sub_sub_app, name="sub") 1abcdefghi
15@sub_app.command() 1abcdefghi
16def hello(): 1abcdefghi
17 typer.echo("hello there") 1abcdefghi
20@sub_app.command() 1abcdefghi
21def bye(): 1abcdefghi
22 typer.echo("bye bye") 1abcdefghi
25cli = typer.Typer() 1abcdefghi
26cli.add_typer(sub_app) 1abcdefghi
29@cli.command() 1abcdefghi
30def top(): 1abcdefghi
31 typer.echo("top") 1abcdefghi