Delete content

Apache 2.0

Delete HCL content by path.

org.openrewrite.hcl.DeleteContent

Required

A JSONPath expression specifying the block to delete.

mod run . --recipe=org.openrewrite.hcl.DeleteContent \ -P contentPath='$.provider'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.