Warning
This repo is still work-in-progress, please wait for the first non-snapshot release!
What is allwrite? It's all you need for automatic code migrations!
- a CLI tool for running recipes via friendly names
- a collection of recipes, filling the gaps in vanilla OpenRewrite
- a GitHub action integrating with Dependabot (coming soon)
- a GitHub workflow that can be externally orchestrated (coming soon)
Installation:
brew tap allegro/tap
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.SpringBoot4List available recipes:
allwrite lsList all available recipes (the output will be huge):
allwrite ls -a
# or
allwrite ls --allThe 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! ❤️