Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoCLI V2 returns `-- fields` surrounded in double quotes, V1 didn’t
There is a pretty big breaking change in the CLI V2.
It now returns fields wrapped in double quotes.
Is this intended behavior? Any simple suggestion for getting it back to returning without thos...
Former Member
4 years agoHey @raybb , thank you for reaching out to us!
I was able to reproduce this, it seems to be indeed a bug. I've filed an internal issue and will take it up with the team during our next team meeting.
In the meantime, there is a new command in CLIv2 that allows you retrieving field values in a more native fashion: op read
. Did you already get to give it a try? Running op read op://<vault name or ID>/<item name or ID>/notesPlain
should retrieve the correct value.
Let us know if this is helpful for you!
Best,
Horia