Unable to use "op get item option"

mohitora
mohitora
Community Member
edited May 2020 in CLI

I am trying to automate some of our routine task and since we are storing 1password as our vault, so using onepassword command line for the password retrieval.
I am taking reference from here

The problem which I am facing is related to extracting of password using uuid. Its not working for me somehow.
Below is the command I am using.

op get item --fields password
is actual uuid, extracted from the vault.

Getting below error
[LOG] 2020/05/31 19:47:13 (ERROR) unknown flag: --fields
Usage:
op get item [flags]

Flags:
-h, --help get help for get item
--include-trash Include items in the Trash. Always on for an item specified by UUID.
--share-link Return a shareable link for the item.
--vault Look for the item in . Specify by UUID or name.

Any Idea what could be missing here ?


1Password Version: 0.9.4
Extension Version: Not Provided
OS Version: OS Catalina 10.15.4
Sync Type: Not Provided

Comments

This discussion has been closed.