mirror of
https://github.com/jlengrand/moderne-docs.git
synced 2026-03-10 08:31:21 +00:00
Update moderne-cli reference to v3.24.1
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
| Component | Current version |
|
||||
| --------------------- | --------------- |
|
||||
| CLI version (Stable) | 3.20.8 |
|
||||
| CLI version (Staging) | 3.24.0 |
|
||||
| CLI version (Staging) | 3.24.1 |
|
||||
|
||||
* [Moderne CLI reference docs](../user-documentation/moderne-cli/cli-reference.md)
|
||||
|
||||
@@ -33,7 +33,7 @@ If everything was configured correctly, you should be able to type `mod` into yo
|
||||
```bash
|
||||
➜ mod
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Usage:
|
||||
|
||||
@@ -157,7 +157,7 @@ cd $HOME/workshop
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Cloning organization from Moderne
|
||||
|
||||
@@ -238,7 +238,7 @@ mod build . --download-only
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -375,7 +375,7 @@ mod run . --recipe DependencyVulnerabilityCheck
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -499,7 +499,7 @@ mod study . --last-recipe-run --data-table VulnerabilityReport
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Found recipe run 20240904083238-wRnHo
|
||||
|
||||
@@ -606,7 +606,7 @@ mod run . --recipe CommonStaticAnalysis
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -691,7 +691,7 @@ mod git checkout . -b workshop-changes --last-recipe-run
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Found recipe run 20240904084031-xdbaB
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ If everything was configured correctly, you should be able to type `mod` into yo
|
||||
```bash
|
||||
➜ mod
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Usage:
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ mod config java jdk list
|
||||
```shell
|
||||
➜ moderne-cli git:(main) ✗ mod config java jdk list
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Listing available JDKs
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ Here is what the results look like if everything ran correctly:
|
||||
```bash
|
||||
➜ mod git clone csv ./spring-data repos.csv --filter=tree:0
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Reading CSV file
|
||||
|
||||
@@ -200,7 +200,7 @@ Notice that you didn't need to configure Maven or Gradle, select Java versions,
|
||||
```bash
|
||||
➜ mod build ./spring-data
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -255,7 +255,7 @@ To view the diff, you can command + click on the file (or ctrl + click if on Win
|
||||
```bash
|
||||
➜ mod run ./spring-data --recipe CommonStaticAnalysis
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -329,7 +329,7 @@ MOD SUCCEEDED in (2m 6s)
|
||||
```bash
|
||||
➜ mod run ./spring-data --recipe UpgradeToJava17
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -422,7 +422,7 @@ You should see:
|
||||
```bash
|
||||
➜ mod study ./spring-data --last-recipe-run --data-table SourcesFileResults
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Found recipe run 20240430092847-434iK
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ After that, we'll provide some additional examples that show other capabilities
|
||||
```
|
||||
➜ mod
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Usage:
|
||||
|
||||
@@ -101,7 +101,7 @@ mod config recipes moderne install UpgradeSpringBoot_3_2
|
||||
```shell
|
||||
➜ mod config recipes moderne install UpgradeSpringBoot_3_2
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
[1] Migrate to Spring Boot 3.2
|
||||
[2] Migrate to Spring Boot 3.1
|
||||
@@ -190,7 +190,7 @@ mod build $HOME/workshop
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -244,7 +244,7 @@ You can preview the changes by command/ctrl clicking on the patch file generated
|
||||
```bash
|
||||
➜ ~ mod run $HOME/workshop --recipe UpgradeSpringBoot_3_2
|
||||
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -309,7 +309,7 @@ mod git clone moderne . "Default"
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Listing repositories from Moderne
|
||||
|
||||
@@ -349,7 +349,7 @@ mod build .
|
||||
<summary>You should see output similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -468,7 +468,7 @@ mod run . --recipe UpgradeToJava17
|
||||
<summary>You should see results similar to the following</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
@@ -555,7 +555,7 @@ mod study . --last-recipe-run --data-table SourcesFileResults
|
||||
<summary>You should see results similar to the following.</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
Found recipe run 20240429093354-reHx5
|
||||
|
||||
@@ -657,7 +657,7 @@ mod run . --recipe org.openrewrite.staticanalysis.CommonStaticAnalysis
|
||||
<summary>You should see results similar to:</summary>
|
||||
|
||||
```bash
|
||||
Moderne CLI 3.24.0
|
||||
Moderne CLI 3.24.1
|
||||
|
||||
> Selecting repositories
|
||||
|
||||
|
||||
Reference in New Issue
Block a user