Create Properties file

Apache 2.0

Create a new Properties file.

org.openrewrite.properties.CreatePropertiesFile

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.properties.CreatePropertiesFile \ -P relativeFileName=foo/bar/baz.properties

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