Delete TOML table row
Apache 2.0Delete a TOML table row when one of its values matches the specified matcher.
org. openrewrite. toml. DeleteTableRowRequired
The name of the TOML array table to delete (e.g., 'package.contributors').
The key within a table row to match on.
The value to match. Can be a regular expression if useRegex is true.
Optional
useRegexBoolean
Whether to interpret the value as a regular expression. Default is false.
mod run . --recipe= org. openrewrite. toml. DeleteTableRow \
-P tableName= package. contributors \
-P identifyingKey= name \
-P identifyingValue= 'example-*'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.