Skip to content
Browse files


  • Loading branch information...
Raggaer committed Jun 2, 2019
1 parent 940c555 commit 1a460a553516262857553577da734cc0737dc50f
Showing with 16 additions and 0 deletions.
  1. +16 −0
@@ -15,6 +15,22 @@ This application does not handle authentication, you should use `op signin` befo
Its recommended to signin everytime you want to retrieve a password. You can do the `eval ...` trick and keep the terminal session ope,
that way you can use `opcli` before your session ends.

This tool is meant to be used on your terminal, maybe creating a helper function to quickly access your secure passwords:

# Function to retrieve 1Password items using opcli
function pwget {
if [ -n "$1" ]; then
if [ -z "${OP_SESSION_my}" ]; then
eval $(op signin)
opcli -c "get" -s "item" -i "$1" --pw
echo "Provide an item to retrieve the password!"

## Get an item

In order to retrieve an item, you need to use the following flags:

0 comments on commit 1a460a5

Please sign in to comment.
You can’t perform that action at this time.