Append to sequence
Apache 2.0Append item to YAML sequence.
org. openrewrite. yaml. AppendToSequenceRequired
A JsonPath expression to locate a YAML sequence.
The new value to be appended to the sequence.
Optional
If specified, the item will only be appended if the existing sequence matches these values. Separate values with commas.
matchExistingSequenceValuesInAnyOrderBoolean
If specified in combination with the above parameter, the item will only be appended if the existing sequence has the specified values in any order.
mod run . --recipe= org. openrewrite. yaml. AppendToSequence \
-P sequencePath= '$. universe. planets' \
-P value= earthInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.