Coverage for tests / assets / cli / extended_app_cli.py: 100%
18 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-02-09 12:36 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-02-09 12:36 +0000
1import typer 1abcdefgh
3sub_sub_app = typer.Typer() 1abcdefgh
6@sub_sub_app.command() 1abcdefgh
7def sub_sub_command(): 1abcdefgh
8 typer.echo("sub_sub_command") 1abcdefgh
11sub_app = typer.Typer() 1abcdefgh
12sub_app.add_typer(sub_sub_app, name="sub") 1abcdefgh
15@sub_app.command() 1abcdefgh
16def hello(): 1abcdefgh
17 typer.echo("hello there") 1abcdefgh
20@sub_app.command() 1abcdefgh
21def bye(): 1abcdefgh
22 typer.echo("bye bye") 1abcdefgh
25cli = typer.Typer() 1abcdefgh
26cli.add_typer(sub_app) 1abcdefgh
29@cli.command() 1abcdefgh
30def top(): 1abcdefgh
31 typer.echo("top") 1abcdefgh