Skip to content
Myr

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 file

Take it

1import 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)