Coverage for docs_src/commands/one_or_multiple/tutorial001.py: 100%
8 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-09 18:26 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-09 18:26 +0000
1import typer 1habcdefg
3app = typer.Typer() 1habcdefg
6@app.command() 1habcdefg
7def create(): 1abcdefg
8 print("Creating user: Hiro Hamada") 1habcdefg
11@app.callback() 1habcdefg
12def callback(): 1abcdefg
13 pass 1habcdefg
16if __name__ == "__main__": 1habcdefg
17 app() 1habcdefg