Create XML file

Apache 2.0

Create a new XML file.

org.openrewrite.xml.CreateXmlFile

Required

File path of new file.

Optional

Multiline text content for the file.

overwriteExistingBoolean

If there is an existing file, should it be overwritten.

mod run . --recipe=org.openrewrite.xml.CreateXmlFile \ -P relativeFileName=foo/bar/baz.xml

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