Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
5 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 ...
Former Member
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?