Skip to content

Commit

Permalink
Update moderne-cli reference to v3.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 23, 2024
1 parent e4750eb commit 6e30e4f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 25 deletions.
2 changes: 1 addition & 1 deletion releases/cli-releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
| Component | Current version |
| --------------------- | --------------- |
| CLI version (Stable) | 3.17.2 |
| CLI version (Staging) | 3.18.2 |
| CLI version (Staging) | 3.18.3 |

* [Moderne CLI reference docs](../user-documentation/moderne-cli/cli-reference.md)
1 change: 0 additions & 1 deletion user-documentation/moderne-cli/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4882,7 +4882,6 @@ mod git sync moderne /path/to/organization
| Name | Description |
| ---- | ----------- |
| path | The absolute or relative path on disk to a directory containing one or more checked-out Git repositories that you want to operate on. This typically takes the form of targeting a single, checked-out copy of a Git repository or it can be a folder containing a collection of Git repositories that will be discovered by recursively scanning the initial provided directory. |
| organizationPath | The directory which contains the organization. |

### Options

Expand Down
14 changes: 7 additions & 7 deletions user-documentation/moderne-cli/getting-started/cli-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ If everything was configured correctly, you should be able to type `mod` into yo
```bash
➜ mod

Moderne CLI 3.18.2
Moderne CLI 3.18.3

Usage:

Expand Down Expand Up @@ -255,7 +255,7 @@ cd $HOME/workshop
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Listing repositories from Moderne

Expand Down Expand Up @@ -338,7 +338,7 @@ mod build .
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -469,7 +469,7 @@ mod run . --recipe DependencyVulnerabilityCheck
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -586,7 +586,7 @@ mod study . --last-recipe-run --data-table VulnerabilityReport
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

Found recipe run 20240716083055-NH4Xb

Expand Down Expand Up @@ -696,7 +696,7 @@ mod run . --recipe CommonStaticAnalysis
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -784,7 +784,7 @@ mod git checkout . -b workshop-changes --last-recipe-run
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3

Found recipe run 20240717084152-vY22R

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If everything was configured correctly, you should be able to type `mod` into yo
```bash
➜ mod

Moderne CLI 3.18.2
Moderne CLI 3.18.3

Usage:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mod config java jdk list
```shell
➜ moderne-cli git:(main) ✗ mod config java jdk list

Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Listing available JDKs

Expand Down
10 changes: 5 additions & 5 deletions user-documentation/workshops/air-gapped-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.2
Moderne CLI 3.18.3

> Reading CSV file

Expand Down Expand Up @@ -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.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -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.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -329,7 +329,7 @@ MOD SUCCEEDED in (2m 6s)
```bash
➜ mod run ./spring-data --recipe UpgradeToJava17

Moderne CLI 3.18.2
Moderne CLI 3.18.3

> Selecting repositories

Expand Down Expand Up @@ -422,7 +422,7 @@ You should see:
```bash
➜ mod study ./spring-data --last-recipe-run --data-table SourcesFileResults

Moderne CLI 3.18.2
Moderne CLI 3.18.3

Found recipe run 20240430092847-434iK

Expand Down
18 changes: 9 additions & 9 deletions user-documentation/workshops/moderne-cli-exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ After that, we'll provide some additional examples that show other capabilities
```
➜ mod
Moderne CLI 3.18.2
Moderne CLI 3.18.3
Usage:
Expand Down Expand Up @@ -101,7 +101,7 @@ mod config recipes moderne install UpgradeSpringBoot_3_2
```shell
➜ mod config recipes moderne install UpgradeSpringBoot_3_2

Moderne CLI 3.18.2
Moderne CLI 3.18.3

[1] Migrate to Spring Boot 3.2
[2] Migrate to Spring Boot 3.1
Expand Down Expand Up @@ -190,7 +190,7 @@ mod build $HOME/workshop
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3
> Selecting repositories
Expand Down Expand Up @@ -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.18.2
Moderne CLI 3.18.3
> Selecting repositories
Expand Down Expand Up @@ -309,7 +309,7 @@ mod git clone moderne . "Default"
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3
> Listing repositories from Moderne
Expand Down Expand Up @@ -349,7 +349,7 @@ mod build .
<summary>You should see output similar to the following.</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3
> Selecting repositories
Expand Down Expand Up @@ -468,7 +468,7 @@ mod run . --recipe UpgradeToJava17
<summary>You should see results similar to the following</summary>
```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3
> Selecting repositories
Expand Down Expand Up @@ -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.18.2
Moderne CLI 3.18.3
Found recipe run 20240429093354-reHx5
Expand Down Expand Up @@ -657,7 +657,7 @@ mod run . --recipe org.openrewrite.staticanalysis.CommonStaticAnalysis
<summary>You should see results similar to:</summary>

```bash
Moderne CLI 3.18.2
Moderne CLI 3.18.3
> Selecting repositories
Expand Down

0 comments on commit 6e30e4f

Please sign in to comment.