avahowell/masterkey

clip - echo username

Closed this issue · 2 comments

What do you think of clip echoing the username, and maybe other metadata, but not password? So more like get except passwords never shown. Seems like there should be some way to recall your username if you've forgotten it without also showing password.

Almost as good would be a clear command to remove from screen anything recently shown.
(unrelated, I wonder if https://github.com/abiosoft/ishell would save you some work supporting commands)

As of 11ffe3b the clip command now echoes back the username or meta name that was used to copy the credential, for example:

masterkey [vault.db] > clip github.com
johnathanhowell@github.com copied to clipboard, will clear in 30 seconds
masterkey [vault.db] > clip github.com 2fa
2fa@github.com copied to clipboard, will clear in 30 seconds

I agree that a clear command, as well as command history, would be a nice addition to the repl package. I'll take a look at ishell as well.

nice!