Delete key
Apache 2.0Delete a YAML mapping entry key.
org. openrewrite. yaml. DeleteKeyRequired
A JsonPath expression to locate a YAML entry.
Optional
A glob expression representing a file path to search for (relative to the project root). Blank/null matches all.
mod run . --recipe= org. openrewrite. yaml. DeleteKey \
-P keyPath= '$. source. kind'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.