[pass] "pass find" as part of "pass show"
Gabriel Filion
gabster at lelutin.ca
Fri Mar 25 05:26:06 CET 2016
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".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160325/12069188/attachment.asc>
More information about the Password-Store
mailing list