mirror of
https://github.com/jlengrand/picocli.git
synced 2026-03-10 08:41:17 +00:00
Prepare for next development cycle
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
= Autocomplete for Java Command Line Applications
|
||||
//:author: Remko Popma
|
||||
//:email: rpopma@apache.org
|
||||
:revnumber: 4.1.1
|
||||
:revnumber: 4.1.2-SNAPSHOT
|
||||
:revdate: 2019-11-27
|
||||
:toc: left
|
||||
:numbered:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= picocli - a mighty tiny command line interface
|
||||
//:author: Remko Popma
|
||||
//:email: rpopma@apache.org
|
||||
:revnumber: 4.1.1
|
||||
:revnumber: 4.1.2-SNAPSHOT
|
||||
:revdate: 2019-11-27
|
||||
:toc: left
|
||||
:numbered:
|
||||
@@ -106,7 +106,7 @@ Below are examples of configuring Gradle or Maven to use picocli as an external
|
||||
|
||||
==== Gradle
|
||||
----
|
||||
compile 'info.picocli:picocli:4.1.1'
|
||||
compile 'info.picocli:picocli:4.1.2-SNAPSHOT'
|
||||
----
|
||||
|
||||
==== Maven
|
||||
@@ -114,7 +114,7 @@ compile 'info.picocli:picocli:4.1.1'
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli</artifactId>
|
||||
<version>4.1.1</version>
|
||||
<version>4.1.2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
----
|
||||
|
||||
@@ -157,7 +157,7 @@ https://immutables.github.io/apt.html[This page] shows the steps to configure Ec
|
||||
<path>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli-codegen</artifactId>
|
||||
<version>4.1.1</version>
|
||||
<version>4.1.2-SNAPSHOT</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
@@ -173,8 +173,8 @@ See the https://github.com/remkop/picocli/tree/master/picocli-codegen[`picocli-c
|
||||
===== Gradle
|
||||
```
|
||||
dependencies {
|
||||
compile 'info.picocli:picocli:4.1.1'
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.1.1'
|
||||
compile 'info.picocli:picocli:4.1.2-SNAPSHOT'
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.1.2-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
@@ -5183,7 +5183,7 @@ The script body is executed if the user input was valid and did not request usag
|
||||
|
||||
[source,groovy]
|
||||
----
|
||||
@Grab('info.picocli:picocli-groovy:4.1.1')
|
||||
@Grab('info.picocli:picocli-groovy:4.1.2-SNAPSHOT')
|
||||
@Command(name = "myScript",
|
||||
mixinStandardHelpOptions = true, // add --help and --version options
|
||||
description = "@|bold Groovy script|@ @|underline picocli|@ example")
|
||||
@@ -5204,7 +5204,7 @@ assert this.commandLine.commandName == "myScript"
|
||||
----
|
||||
|
||||
WARNING: When upgrading scripts to picocli 4.0, just changing the version number is not enough!
|
||||
Scripts should use `@Grab('info.picocli:picocli-groovy:4.1.1')`. The old artifact id `@Grab('info.picocli:picocli:4.1.1')` will not work,
|
||||
Scripts should use `@Grab('info.picocli:picocli-groovy:4.1.2-SNAPSHOT')`. The old artifact id `@Grab('info.picocli:picocli:4.1.2-SNAPSHOT')` will not work,
|
||||
because the `@picocli.groovy.PicocliScript` annotation class and supporting classes have been moved into a separate module, `picocli-groovy`.
|
||||
|
||||
|
||||
@@ -5213,7 +5213,7 @@ NOTE: When using a Groovy version older than 2.4.7, use this workaround for the
|
||||
|
||||
[source,groovy]
|
||||
----
|
||||
@Grab('info.picocli:picocli-groovy:4.1.1')
|
||||
@Grab('info.picocli:picocli-groovy:4.1.2-SNAPSHOT')
|
||||
@GrabExclude('org.codehaus.groovy:groovy-all') // work around GROOVY-7613
|
||||
...
|
||||
----
|
||||
@@ -5349,7 +5349,7 @@ See the <<Source,source code>> below. Copy and paste it into a file called `Comm
|
||||
|
||||
=== Gradle
|
||||
----
|
||||
compile 'info.picocli:picocli:4.1.1'
|
||||
compile 'info.picocli:picocli:4.1.2-SNAPSHOT'
|
||||
----
|
||||
|
||||
=== Maven
|
||||
@@ -5357,19 +5357,19 @@ compile 'info.picocli:picocli:4.1.1'
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli</artifactId>
|
||||
<version>4.1.1</version>
|
||||
<version>4.1.2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
----
|
||||
|
||||
=== Scala SBT
|
||||
----
|
||||
libraryDependencies += "info.picocli" % "picocli" % "4.1.1"
|
||||
libraryDependencies += "info.picocli" % "picocli" % "4.1.2-SNAPSHOT"
|
||||
----
|
||||
|
||||
=== Ivy
|
||||
|
||||
----
|
||||
<dependency org="info.picocli" name="picocli" rev="4.1.1" />
|
||||
<dependency org="info.picocli" name="picocli" rev="4.1.2-SNAPSHOT" />
|
||||
----
|
||||
|
||||
=== Source
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= Programmatic API
|
||||
//:author: Remko Popma
|
||||
//:email: rpopma@apache.org
|
||||
:revnumber: 4.1.1
|
||||
:revnumber: 4.1.2-SNAPSHOT
|
||||
:revdate: 2019-11-27
|
||||
:toc: left
|
||||
:numbered:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= Quick Guide
|
||||
//:author: Remko Popma
|
||||
//:email: rpopma@apache.org
|
||||
:revnumber: 4.1.1
|
||||
:revnumber: 4.1.2-SNAPSHOT
|
||||
:revdate: 2019-11-27
|
||||
:toc: left
|
||||
:numbered:
|
||||
|
||||
@@ -13,12 +13,12 @@ junitVersion = 4.12
|
||||
springBootVersion = 2.1.6.RELEASE
|
||||
|
||||
# projectPreviousReleaseVersion is non-SNAPSHOT, only published releases
|
||||
projectPreviousReleaseVersion = 4\\.1\\.0
|
||||
projectPreviousReleaseVersion = 4\\.1\\.1
|
||||
# projectPreviousVersionRegex may be a SNAPSHOT
|
||||
projectPreviousVersionRegex = 4\\.1\\.1-SNAPSHOT
|
||||
projectVersion = 4.1.1
|
||||
projectPreviousVersionRegex = 4\\.1\\.1
|
||||
projectVersion = 4.1.2-SNAPSHOT
|
||||
|
||||
releaseDate = 2019-11-27
|
||||
releaseDatePreviousRegex = 2019\\-11\\-22
|
||||
releaseDatePreviousRegex = 2019\\-11\\-27
|
||||
|
||||
systemRulesVersion = 1.17.1
|
||||
|
||||
@@ -17,9 +17,9 @@ dependencies {
|
||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||
}
|
||||
dependencies {
|
||||
compile 'info.picocli:picocli:4.1.0'
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.1.0'
|
||||
//compileOnly 'info.picocli:picocli-codegen:4.1.0' // in pre-Gradle 4.6
|
||||
compile 'info.picocli:picocli:4.1.1'
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.1.1'
|
||||
//compileOnly 'info.picocli:picocli-codegen:4.1.1' // in pre-Gradle 4.6
|
||||
}
|
||||
compileJava {
|
||||
// minimum 1.6
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<path>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli-codegen</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
@@ -80,7 +80,7 @@
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -56,12 +56,12 @@
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli-codegen</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -10,7 +10,7 @@ This module was introduced in picocli 4.0; in previous versions these classes we
|
||||
## Example
|
||||
|
||||
```groovy
|
||||
@Grab('info.picocli:picocli-groovy:4.1.0')
|
||||
@Grab('info.picocli:picocli-groovy:4.1.1')
|
||||
@Command(description = "Print a checksum of each specified FILE.",
|
||||
mixinStandardHelpOptions = true,
|
||||
version = 'checksum v1.2.3',
|
||||
|
||||
@@ -20,14 +20,14 @@ Maven:
|
||||
<dependency>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli-spring-boot-starter</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
Gradle:
|
||||
```
|
||||
dependencies {
|
||||
compile "info.picocli:picocli-spring-boot-starter:4.1.0"
|
||||
compile "info.picocli:picocli-spring-boot-starter:4.1.1"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ import static picocli.CommandLine.Help.Column.Overflow.WRAP;
|
||||
public class CommandLine {
|
||||
|
||||
/** This is picocli version {@value}. */
|
||||
public static final String VERSION = "4.1.1";
|
||||
public static final String VERSION = "4.1.2-SNAPSHOT";
|
||||
|
||||
private final Tracer tracer = new Tracer();
|
||||
private final CommandSpec commandSpec;
|
||||
|
||||
@@ -143,7 +143,7 @@ public class CommandLineTest {
|
||||
}
|
||||
@Test
|
||||
public void testVersion() {
|
||||
assertEquals("4.1.1", CommandLine.VERSION);
|
||||
assertEquals("4.1.2-SNAPSHOT", CommandLine.VERSION);
|
||||
}
|
||||
@Test
|
||||
public void testArrayPositionalParametersAreReplacedNotAppendedTo() {
|
||||
|
||||
Reference in New Issue
Block a user