Create TOML file

Apache 2.0

Create a new TOML file.

org.openrewrite.toml.CreateTomlFile

Required

File path of the new file.

Optional

Multiline text content for the file.

URL to fetch the TOML file contents from a remote source.

overwriteExistingBoolean

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

mod run . --recipe=org.openrewrite.toml.CreateTomlFile \ -P relativeFileName=pyproject.toml

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