forked from cobbzilla/merge-yml
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes, the array items should be written into based on the index rather than added to the other array.
There should be an option for choosing between modes, like -DarrayMerge=(append|index|<mapKey>). Or perhaps the YAML could contain some metavalues, like:
foo:
- content: this will be overwritten
- content: this will stay
---
foo:
- yamlMerge.mode: index
content: a new value for array[0]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request