typing_version_option.py
This file
Path
tests/typing/typing_version_option.py
16 lines · 288 bytes · Python
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 9ce34f2 point at it.
Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2
lines 1–16why, one step back1"""2From https://click.palletsprojects.com/en/stable/options/#callbacks-and-eager-options.3"""45from typing_extensions import assert_type67import click8910@click.command()11@click.version_option("0.1")12def hello() -> None:13 click.echo("Hello World!")141516assert_type(hello, click.Command)