Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
Anonymous
4 years ago[32] Set value from other variable / assignment
The simple use case is to copy one value somewhere else.
Let's say I have an Item as follow
MyItem
- oldSection
- a_var=value
For the basic "copy.paste" use case, I would ...
Anonymous
4 years agoHey @ebreton !
First off, I apologize, as it has been a while since our last correspondence.
I've filed an internal issue to look into the design for such referencing functionality on the value side of the assignment.
My first concern is that simply referencing another field would be ambiguous as to whether or not the CLI should assign the raw value a.b or resolve that field.
For the time being, would you be able to assign op item get MyItem --field a_var to a variable, and pass that variable into the op item edit command?