blob: 8537e6ff59ec53e94c8adaf5402f46fb646a41c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import codecs
from typing_extensions import assert_type
import click
@click.command()
@click.password_option()
def encrypt(password: str) -> None:
click.echo(f"encoded: to {codecs.encode(password, 'rot13')}")
assert_type(encrypt, click.Command)
|