Hello everyone, nice to meet you all.

Assuming I have secrets stored in zx2c4.com as follows:

    hunter2
    [email protected]

I can do the following:

    pass -c zx2c4.com    -> sends hunter2 to clipboard
    pass -c2 zx2c4.com   -> sends [email protected] to the clipboard
    pass zx2c4.com       -> sends hunter2 to stdout
    ?????                -> how to send [email protected] to stdout?

I'd like to know if there's a way to send arbitrary lines to stdout,
as can be done to the clipboard. Alternatively, commit 3a108277 seems
to allow extraction of fields other than the password, but only for
emacs.  Does something similar exist from the command line?  Meaning,
if I modified my file as such:

    hunter2
    email: [email protected]

could I do something like

    pass zx2c4.com :email -> send [email protected] to stdout

Best regards,
Steve V

Reply via email to