Skip to content
Myr

typing_help_option.py

This file

Path

tests/typing/typing_help_option.py

13 lines · 262 bytes · Python

Last changed by

Not known.

History of this file

Take it

1from typing_extensions import assert_type23import click456@click.command()7@click.help_option("-h", "--help")8def hello() -> None:9    """Simple program that greets NAME for a total of COUNT times."""10    click.echo("Hello!")111213assert_type(hello, click.Command)