Change TOML value

Apache 2.0

Change the value of a TOML key.

org.openrewrite.toml.ChangeValue

Required

A TOML path expression to locate a key.

The new value for the key.

mod run . --recipe=org.openrewrite.toml.ChangeValue \ -P keyPath=package.version \ -P newValue='"2.0.0"'

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