mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
feat: pretty print
This commit is contained in:
parent
cdc2dbe984
commit
89beba48cc
1 changed files with 4 additions and 2 deletions
|
|
@ -24,8 +24,10 @@ def main(
|
|||
|
||||
subprocess.run("pbcopy", universal_newlines=True, input=password)
|
||||
|
||||
typer.echo(f"🔐 {password}")
|
||||
typer.echo("The password has been copied to your clipboard 😉")
|
||||
typer.echo(typer.style(f"🔐 {password}", fg=typer.colors.GREEN, bold=True))
|
||||
typer.echo(
|
||||
"The password has been copied to your clipboard 😉\nPaste it using cmd + v"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue