From 995eaef2f686192ba4bd2f9403277e492552eefb Mon Sep 17 00:00:00 2001 From: Joseph Hoare Date: Wed, 4 Dec 2024 14:54:30 +0000 Subject: [PATCH] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0ae3837..8d6c82b 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,7 @@ Astra has been developed and tested at Alfa to improve the velocity at which lar * For cases needing a more bespoke approach, [astra-core](./astra-core/README.md) also provides an SPI for writing your own custom `ASTOperation`s. See the `astra-core` README for further details. * For very simple cases, there is also a command line interface which exposes a small subset of Astra's refactoring operations. Please see [astra-cli](./astra-cli/README.md) for more information. * Astra can also be run as a plugin during your build e.g. `mvn org.alfasoftware:astra-maven-plugin:2.4.2:refactor -Dastra.usecase=org.my.MyUseCase` though this requires `MyUseCase` to be available on your classpath. Therefore it is often better to amend your pom so that Astra can be used when needed and the UseCase can be retrieved from a separate library e.g. - -``` + ``` @@ -38,8 +37,8 @@ Astra has been developed and tested at Alfa to improve the velocity at which lar -``` -Then, as the plugin and version is defined, you can simply invoke `mvn astra:refactor -Dastra.usecase=org.my.MyUseCase` + ``` + Then, as the plugin and version is defined, you can simply invoke `mvn astra:refactor -Dastra.usecase=org.my.MyUseCase` ## Why would I use Astra? A simple and common use case is renaming a method, and updating all the callers of that method so that they use the new name.