typing_password_option.py
This file
Path
tests/typing/typing_password_option.py
14 lines · 255 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–14why, one step back1import codecs23from typing_extensions import assert_type45import click678@click.command()9@click.password_option()10def encrypt(password: str) -> None:11 click.echo(f"encoded: to {codecs.encode(password, 'rot13')}")121314assert_type(encrypt, click.Command)