Coverage for tests / assets / cli / extended_app_cli.py: 100%

18 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-11-18 11:12 +0000

1import typer 1abcdefghij

2 

3sub_sub_app = typer.Typer() 1abcdefghij

4 

5 

6@sub_sub_app.command() 1abcdefghij

7def sub_sub_command(): 1abcdefghij

8 typer.echo("sub_sub_command") 1abcdefghij

9 

10 

11sub_app = typer.Typer() 1abcdefghij

12sub_app.add_typer(sub_sub_app, name="sub") 1abcdefghij

13 

14 

15@sub_app.command() 1abcdefghij

16def hello(): 1abcdefghij

17 typer.echo("hello there") 1abcdefghij

18 

19 

20@sub_app.command() 1abcdefghij

21def bye(): 1abcdefghij

22 typer.echo("bye bye") 1abcdefghij

23 

24 

25cli = typer.Typer() 1abcdefghij

26cli.add_typer(sub_app) 1abcdefghij

27 

28 

29@cli.command() 1abcdefghij

30def top(): 1abcdefghij

31 typer.echo("top") 1abcdefghij