Skip to content

Commit

Permalink
Release picocli version 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jan 1, 2021
1 parent d68b723 commit 0b22c13
Show file tree
Hide file tree
Showing 168 changed files with 7,136 additions and 4,507 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The user manual has an [example](https://picocli.info/#_guice_example) of integr

### Releases
* [All Releases](https://github.com/remkop/picocli/releases)
* Latest: 4.5.2 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.5.2)
* Latest: 4.6.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.6.0)
* Older: Picocli 4.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0)
* Older: Picocli 3.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.0.0)
* Older: Picocli 2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v2.0.0)
Expand Down Expand Up @@ -246,9 +246,9 @@ If you like picocli, there are a few things you can do to help:
* Upvote my [Quora answer](https://www.quora.com/What-is-the-best-way-to-parse-command-line-arguments-with-Java/answer/Remko-Popma) to "What is the best way to parse command-line arguments with Java?"
* Upvote my [StackOverflow answer](https://stackoverflow.com/a/43780433/1446916) to "How do I parse command line arguments in Java?"

If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [![picocli](https://img.shields.io/badge/picocli-4.5.2-green.svg)](https://github.com/remkop/picocli)
If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [![picocli](https://img.shields.io/badge/picocli-4.6.0-green.svg)](https://github.com/remkop/picocli)
```
[![picocli](https://img.shields.io/badge/picocli-4.5.2-green.svg)](https://github.com/remkop/picocli)
[![picocli](https://img.shields.io/badge/picocli-4.6.0-green.svg)](https://github.com/remkop/picocli)
```


Expand Down Expand Up @@ -336,41 +336,41 @@ See the [source code](https://github.com/remkop/picocli/blob/master/src/main/jav

### Gradle
```
implementation 'info.picocli:picocli:4.5.2'
implementation 'info.picocli:picocli:4.6.0'
```
### Maven
```
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.5.2</version>
<version>4.6.0</version>
</dependency>
```
### Scala SBT
```
libraryDependencies += "info.picocli" % "picocli" % "4.5.2"
libraryDependencies += "info.picocli" % "picocli" % "4.6.0"
```
### Ivy
```
<dependency org="info.picocli" name="picocli" rev="4.5.2" />
<dependency org="info.picocli" name="picocli" rev="4.6.0" />
```
### Grape
```groovy
@Grapes(
@Grab(group='info.picocli', module='picocli', version='4.5.2')
@Grab(group='info.picocli', module='picocli', version='4.6.0')
)
```
### Leiningen
```
[info.picocli/picocli "4.5.2"]
[info.picocli/picocli "4.6.0"]
```
### Buildr
```
'info.picocli:picocli:jar:4.5.2'
'info.picocli:picocli:jar:4.6.0'
```

### JBang
```
//DEPS info.picocli:picocli:4.5.2
//DEPS info.picocli:picocli:4.6.0
```

4 changes: 3 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# picocli Release Notes


# <a name="4.6.0"></a> Picocli 4.6.0 (UNRELEASED)
# <a name="4.6.0"></a> Picocli 4.6.0
The picocli community is pleased to announce picocli 4.6.0.

This release contains new features, bug fixes and other enhancements.

## <a name="4.6.0-community-contributions"></a> Community Contributions

This release contains many, many community contributions, for which I am extremely grateful. Let's give them some credit!

* [Andreas Deininger](https://github.com/deining) has been contributing to the documentation and other areas for a long time, but recently went into overdrive :-) and contributed many, many new pull requests to improve the documentation. The user manual and Quick Guide now have a "foldable" table of contents, and examples in tabs, with many additional examples in Kotlin, Scala and Groovy. A lot of work went into this! Many thanks, Andreas!
* [Marko Mackic](https://github.com/MarkoMackic) contributed a pull request to add `IModelTransformer` API for user-defined model transformations after initialization and before parsing.
* [Sualeh Fatehi](https://github.com/sualeh) contributed a pull request to the `picocli-shell-jline3` module that adds a built-in `clear` command and improves the `help` command.
Expand Down
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,22 @@ task bumpVersion {
ant.replaceregexp(match: "rev=\"$projectPreviousVersionRegex\"", replace: "rev=\\\"$version\\\"", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
}
// Downloads section, Grape
ant.replaceregexp(match: "module='picocli', version=\'$projectPreviousVersionRegex\'\\)", replace: "module='picocli', version=\'$version\')", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
}
// Downloads section, Leiningen
ant.replaceregexp(match: "info.picocli/picocli \"$projectPreviousVersionRegex\"", replace: "info.picocli/picocli \"$version\"", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
}
// Downloads section, Buildr
ant.replaceregexp(match: "info.picocli:picocli:jar:$projectPreviousVersionRegex", replace: "info.picocli:picocli:jar:$version", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
}
// Running the Application and Packaging sections
ant.replaceregexp(match: "picocli-${projectPreviousVersionRegex}.jar", replace: "picocli-${version}.jar", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
fileset(dir: 'docs', includes: 'quick-guide.adoc')
}
ant.replaceregexp(match: releaseDatePreviousRegex, replace: releaseDate, flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
Expand Down
Loading

0 comments on commit 0b22c13

Please sign in to comment.