A CLI tool and a collection of OpenRewrite recipes for automated code transformations across YAML, Gradle, Java/Kotlin, and Spring projects.
It wraps OpenRewrite's runtime into a user-friendly CLI that can run recipes by name, integrate with GitHub Actions, and work with Dependabot PRs.
Installation:
brew install allwriteRun a recipe by friendly name:
allwrite run springBoot/upgrade 3 4Run a recipe by fully-qualified name:
allwrite run --recipe pl.allegro.tech.allwrite.recipes.SpringBoot4The allwrite CLI comes with all the free OpenRewrite migrations bundled (Java/Kotlin refactoring, Spring Boot upgrades, etc.).
In addition, it provides a collection of custom recipes that aim to fill the gaps. See RECIPES.md for the full list.
If you're a library maintainer and want to automate the migration process for your users (or just have prepared a recipe that may be useful for others), we would love to see your contribution! ❤️