Closed mattlqx closed 3 years ago
I think the use-case you describe is quite common. That feature proposal is a great idea. I will give it a try on the weekend :+1:
I guess I'm trying to inform you what I'm up to by opening these. I already have it done, but was dependent on the prior PR. 🙂 I also did notice some bugs with regex matching that I'll fix soon too as well.
After that though, I think I can take a break. lol
Haha ok. Well in that case, thanks again Matt. That is great news :bow:
Fixed by #74
While the
replace
command will be a powerful way to make changes to a Vault store, it may be difficult to limit replacements in cases where you only want to change a particular key across many paths.For example, if you have the following Vault structure:
And you only want to change
first-key
's value fromweak-value
tostrong-value
, you can't presently do that with the replace command without also changingsecond-key
's value. This is a contrived example, but most of the time, you will indeed want to limit changing values to a particular key.