CLIv2 item get does not support field "title"
Hi,
CLI 2.7.1 doesn't appear to support retrieving a list of titles (item names) from a vault.
In CLI1 it was possible using:
./op list items --vault "Test_vault" | ./op get item - --fields title
In CLI2 I can do it using jq:
./op item list --vault "TEST_vault" --format=json | jq --raw-output '.[].title'
or if I want UUID instead of title I can do:
./op item list --vault "TEST_vault" --format=json | jq --raw-output '.[].id'
But it would be neater to upgrade my existing scripts to CLI2 if I didn't have to change to using jq.
1Password Version: CLI 2.7.1
Extension Version: Not Provided
OS Version: Oracle Linux
Browser:_ Not Provided
0
Comments
-
Thankyou!
0 -
Thank you!
0
This discussion has been closed.