Renato Alves:
> Hi everyone,
> 
> Would it be possible to include an option in "pass show" to behave like
> "pass find" and if only one entry is matched, use it?

I'd personally like it very much to have this kind of functionality

> The interface I have in mind is something like:
> 
> % pass -f mozilla
> (stderr) Found unique match web/mozilla.org/username
> (stdout) <decrypted password>
> (exitcode) 0
> 
> % pass -f google
> (stderr) Multiple matches found:
> (stdout) Search Terms: google
> (stdout) └── web
> (stdout)     └── google.com
> (stdout)         ├── user
> (stdout)         └── anotheruser
> (exitcode) 1
> 
> % pass -f googleano
> (stderr) Found unique match web/google.com/anotheruser
> (stdout) <decrypted password>
> (exitcode) 0
> 
> 
> where "pass -f" == "pass show -f" and -f stands for "--find" or "--fuzzy".


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to