[PATCH] show: allow specifying keys instead of line numbers for --clip

Alexander Gehrke mailinglists-pass at qwertyuiop.de
Tue Jun 5 14:03:05 CEST 2018


Hi,

Several of the browser integrations expect user names and similar information
in multiline entries to be formatted as "key: value", e.g. "login: myusername",
so this is the format I use for all my entries.

This patch allows easy access to those fields from the cli, by letting --clip
(and --qrcode) also accept such a key instead of a line number.
E.g. "pass show foo --clip=login".

Alexander Gehrke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-show-allow-specifying-keys-instead-of-line-numbers-f.patch
Type: text/x-diff
Size: 3226 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180605/3abb1753/attachment.patch>


More information about the Password-Store mailing list