Debian Codegraph @

tests/typing/typing_help_option.py

raw
1 from typing_extensions import assert_type
2
3 import asyncclick as click
4
5
6 @click.command()
7 @click.help_option("-h", "--help")
8 def hello() -> None:
9 """Simple program that greets NAME for a total of COUNT times."""
10 click.echo("Hello!")
11
12
13 assert_type(hello, click.Command)