Am I right in thinking that probably there is no option to change the value from the command line?
For example something like this:
knife data bag edit my_data_bag host1 ...action "upgrade"
So then second line will be changed from "remove" to "upgrade":
{
"id": "host1",
"action": "remove"
}
I know that I can do it from file, but I wanted to provide simpler process for different teams. It would be easier to provide command and not files to edit. It requires some understanding to edit json file and passing to the knife. Also there can be difficulties to edit json for hundreds of boxes.
Maybe you see a good way to simplify this? The goal is to provide simple process like few commands rather than editing files.