mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
14 lines
188 B
Python
14 lines
188 B
Python
import typer
|
|
|
|
from .pass_gen import generate_password
|
|
|
|
app = typer.Typer()
|
|
|
|
|
|
@app.command()
|
|
def main() -> None:
|
|
typer.echo(generate_password(0))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app()
|