From 13b637f85149b9051824920a2e48dfda62253ffb Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Wed, 12 Feb 2020 07:40:15 +0900 Subject: [PATCH] Release picocli version 4.2.0 --- README.md | 20 +- RELEASE-NOTES.md | 2 +- build.gradle | 7 +- docs/A-Whirlwind-Tour-of-Picocli.html | 4 +- docs/announcing-picocli-1.0.html | 4 +- docs/apidocs/allclasses-frame.html | 6 +- docs/apidocs/allclasses-noframe.html | 6 +- docs/apidocs/constant-values.html | 47 +- docs/apidocs/deprecated-list.html | 124 +-- docs/apidocs/help-doc.html | 8 +- docs/apidocs/index-all.html | 163 +++- docs/apidocs/index.html | 4 +- docs/apidocs/overview-summary.html | 10 +- docs/apidocs/overview-tree.html | 8 +- .../AutoComplete.GenerateCompletion.html | 8 +- docs/apidocs/picocli/AutoComplete.html | 8 +- .../picocli/CommandLine.AbstractHandler.html | 8 +- ...ommandLine.AbstractParseResultHandler.html | 8 +- .../apidocs/picocli/CommandLine.ArgGroup.html | 8 +- docs/apidocs/picocli/CommandLine.Command.html | 71 +- .../CommandLine.DefaultExceptionHandler.html | 8 +- .../CommandLine.DuplicateNameException.html | 8 +- ...e.DuplicateOptionAnnotationsException.html | 8 +- .../CommandLine.ExecutionException.html | 8 +- .../apidocs/picocli/CommandLine.ExitCode.html | 8 +- .../picocli/CommandLine.Help.Ansi.IStyle.html | 8 +- .../picocli/CommandLine.Help.Ansi.Style.html | 8 +- .../picocli/CommandLine.Help.Ansi.Text.html | 62 +- .../picocli/CommandLine.Help.Ansi.html | 33 +- .../CommandLine.Help.ColorScheme.Builder.html | 63 +- .../picocli/CommandLine.Help.ColorScheme.html | 203 ++++- .../CommandLine.Help.Column.Overflow.html | 8 +- .../picocli/CommandLine.Help.Column.html | 8 +- .../CommandLine.Help.IOptionRenderer.html | 8 +- .../CommandLine.Help.IParamLabelRenderer.html | 8 +- .../CommandLine.Help.IParameterRenderer.html | 8 +- .../picocli/CommandLine.Help.Layout.html | 8 +- .../CommandLine.Help.TextTable.Cell.html | 8 +- .../picocli/CommandLine.Help.TextTable.html | 159 +++- .../picocli/CommandLine.Help.Visibility.html | 8 +- docs/apidocs/picocli/CommandLine.Help.html | 161 ++-- .../picocli/CommandLine.HelpCommand.html | 8 +- .../CommandLine.IDefaultValueProvider.html | 8 +- .../CommandLine.IExceptionHandler.html | 8 +- .../CommandLine.IExceptionHandler2.html | 8 +- ...ommandLine.IExecutionExceptionHandler.html | 8 +- .../CommandLine.IExecutionStrategy.html | 8 +- .../CommandLine.IExitCodeExceptionMapper.html | 8 +- .../CommandLine.IExitCodeGenerator.html | 8 +- .../apidocs/picocli/CommandLine.IFactory.html | 8 +- ...CommandLine.IHelpCommandInitializable.html | 8 +- ...ommandLine.IHelpCommandInitializable2.html | 8 +- .../picocli/CommandLine.IHelpFactory.html | 8 +- .../CommandLine.IHelpSectionRenderer.html | 8 +- ...mmandLine.INegatableOptionTransformer.html | 8 +- .../CommandLine.IParameterConsumer.html | 8 +- ...ommandLine.IParameterExceptionHandler.html | 8 +- .../CommandLine.IParseResultHandler.html | 8 +- .../CommandLine.IParseResultHandler2.html | 8 +- .../picocli/CommandLine.ITypeConverter.html | 8 +- .../picocli/CommandLine.IVersionProvider.html | 8 +- .../CommandLine.InitializationException.html | 8 +- ...ommandLine.MaxValuesExceededException.html | 8 +- ...CommandLine.MissingParameterException.html | 8 +- ...andLine.MissingTypeConverterException.html | 8 +- docs/apidocs/picocli/CommandLine.Mixin.html | 11 +- ...ommandLine.Model.ArgGroupSpec.Builder.html | 8 +- .../CommandLine.Model.ArgGroupSpec.html | 8 +- .../picocli/CommandLine.Model.ArgSpec.html | 10 +- .../CommandLine.Model.CommandSpec.html | 126 ++- .../CommandLine.Model.IAnnotatedElement.html | 8 +- .../picocli/CommandLine.Model.IGetter.html | 8 +- .../picocli/CommandLine.Model.IOrdered.html | 8 +- .../picocli/CommandLine.Model.IScope.html | 8 +- .../picocli/CommandLine.Model.ISetter.html | 8 +- .../picocli/CommandLine.Model.ITypeInfo.html | 8 +- .../picocli/CommandLine.Model.Messages.html | 8 +- .../CommandLine.Model.MethodParam.html | 8 +- .../CommandLine.Model.OptionSpec.Builder.html | 8 +- .../picocli/CommandLine.Model.OptionSpec.html | 8 +- .../picocli/CommandLine.Model.ParserSpec.html | 8 +- ...ine.Model.PositionalParamSpec.Builder.html | 8 +- ...CommandLine.Model.PositionalParamSpec.html | 8 +- ...ommandLine.Model.UnmatchedArgsBinding.html | 8 +- .../CommandLine.Model.UsageMessageSpec.html | 212 ++++- docs/apidocs/picocli/CommandLine.Model.html | 8 +- ...ndLine.MutuallyExclusiveArgsException.html | 8 +- docs/apidocs/picocli/CommandLine.Option.html | 13 +- ...ommandLine.OverwrittenOptionException.html | 8 +- .../CommandLine.ParameterException.html | 8 +- ...ommandLine.ParameterIndexGapException.html | 8 +- .../picocli/CommandLine.Parameters.html | 13 +- .../picocli/CommandLine.ParentCommand.html | 8 +- .../CommandLine.ParseResult.Builder.html | 8 +- .../CommandLine.ParseResult.GroupMatch.html | 8 +- ...dLine.ParseResult.GroupMatchContainer.html | 8 +- .../picocli/CommandLine.ParseResult.html | 42 +- .../picocli/CommandLine.PicocliException.html | 8 +- ...CommandLine.PropertiesDefaultProvider.html | 8 +- docs/apidocs/picocli/CommandLine.Range.html | 8 +- .../CommandLine.RegexTransformer.Builder.html | 12 +- .../picocli/CommandLine.RegexTransformer.html | 8 +- docs/apidocs/picocli/CommandLine.RunAll.html | 8 +- .../apidocs/picocli/CommandLine.RunFirst.html | 8 +- docs/apidocs/picocli/CommandLine.RunLast.html | 22 +- docs/apidocs/picocli/CommandLine.Spec.html | 8 +- .../CommandLine.TypeConversionException.html | 8 +- .../picocli/CommandLine.Unmatched.html | 8 +- ...ommandLine.UnmatchedArgumentException.html | 8 +- docs/apidocs/picocli/CommandLine.html | 261 +++--- docs/apidocs/picocli/package-frame.html | 6 +- docs/apidocs/picocli/package-summary.html | 8 +- docs/apidocs/picocli/package-tree.html | 18 +- docs/apidocs/serialized-form.html | 8 +- docs/autocomplete.adoc | 2 +- docs/autocomplete.html | 6 +- docs/groovy-2.5-clibuilder-renewal-part1.html | 4 +- docs/groovy-2.5-clibuilder-renewal-part2.html | 4 +- docs/groovy-2.5-clibuilder-renewal.html | 4 +- docs/index.adoc | 30 +- docs/index.html | 766 ++++++++++++++---- docs/man/gen-manpage.html | 46 +- docs/man/gen-proxy-config.html | 49 +- docs/man/gen-reflect-config.html | 43 +- docs/man/gen-resource-config.html | 45 +- docs/man/generate-completion.html | 4 +- docs/man/index.html | 4 +- docs/man/picocli.AutoComplete.html | 9 +- docs/migrating-from-commons-cli.html | 4 +- docs/picocli-2.0-do-more-with-less.html | 4 +- ...icocli-2.0-groovy-scripts-on-steroids.html | 4 +- docs/picocli-on-graalvm.html | 4 +- docs/picocli-programmatic-api.adoc | 2 +- docs/picocli-programmatic-api.html | 6 +- docs/quick-guide.adoc | 2 +- docs/quick-guide.html | 6 +- gradle.properties | 4 +- picocli-codegen/README.adoc | 34 +- .../graalvm/DynamicProxyConfigGenerator.java | 2 +- .../aot/graalvm/JniConfigGenerator.java | 2 +- .../graalvm/ReflectionConfigGenerator.java | 2 +- .../aot/graalvm/ResourceConfigGenerator.java | 2 +- .../docgen/manpage/ManPageGenerator.java | 2 +- .../build.gradle | 4 +- .../example-gradle-project/build.gradle | 6 +- .../example-maven-project-shading/pom.xml | 4 +- .../example-maven-project-simple/pom.xml | 4 +- .../repeatable-subcmds-example.kts | 4 +- picocli-groovy/README.md | 2 +- picocli-spring-boot-starter/README.md | 4 +- src/main/java/picocli/AutoComplete.java | 4 +- src/main/java/picocli/CommandLine.java | 2 +- src/test/java/picocli/AutoCompleteTest.java | 4 +- src/test/java/picocli/CommandLineTest.java | 2 +- 154 files changed, 2589 insertions(+), 1106 deletions(-) diff --git a/README.md b/README.md index d4f88cd6..4fae6531 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,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.1.4 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.1.4) +* Latest: 4.2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.2.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) @@ -187,9 +187,9 @@ If you like picocli, there are a few things you can do to help: * Upvote my [StackOverflow answer](https://stackoverflow.com/a/43780433/1446916) to "How do I parse command line arguments in Java?" * Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives? -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.1.4-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.2.0-green.svg)](https://github.com/remkop/picocli) ``` -[![picocli](https://img.shields.io/badge/picocli-4.1.4-green.svg)](https://github.com/remkop/picocli) +[![picocli](https://img.shields.io/badge/picocli-4.2.0-green.svg)](https://github.com/remkop/picocli) ``` @@ -277,35 +277,35 @@ See the [source code](https://github.com/remkop/picocli/blob/master/src/main/jav ### Gradle ``` -compile 'info.picocli:picocli:4.1.4' +compile 'info.picocli:picocli:4.2.0' ``` ### Maven ``` info.picocli picocli - 4.1.4 + 4.2.0 ``` ### Scala SBT ``` -libraryDependencies += "info.picocli" % "picocli" % "4.1.4" +libraryDependencies += "info.picocli" % "picocli" % "4.2.0" ``` ### Ivy ``` - + ``` ### Grape ```groovy @Grapes( - @Grab(group='info.picocli', module='picocli', version='4.1.4') + @Grab(group='info.picocli', module='picocli', version='4.2.0') ) ``` ### Leiningen ``` -[info.picocli/picocli "4.1.4"] +[info.picocli/picocli "4.2.0"] ``` ### Buildr ``` -'info.picocli:picocli:jar:4.1.4' +'info.picocli:picocli:jar:4.2.0' ``` diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 6a6116e0..9ba750f2 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,6 @@ # picocli Release Notes -# Picocli 4.2.0 (UNRELEASED) +# Picocli 4.2.0 The picocli community is pleased to announce picocli 4.2.0. This release adds support for Repeatable Subcommands: when a command is marked as `@Command(subcommandsRepeatable = true)` it becomes possible to specify that command's subcommands multiple times on the command line. diff --git a/build.gradle b/build.gradle index 3dc42569..c2dd0bd9 100644 --- a/build.gradle +++ b/build.gradle @@ -276,10 +276,11 @@ task bumpReadmeVersion { } task bumpVersion { doLast { - ant.replaceregexp(match: "\"$projectPreviousVersionRegex\"", replace: "\"$version\"", flags: 'g', byline: true, encoding: 'UTF8') { + ant.replaceregexp(match: "$projectPreviousVersionRegex", replace: "$version", flags: 'g', byline: true, encoding: 'UTF8') { fileset(dir: 'src/main/java/picocli', includes: 'CommandLine.java') fileset(dir: 'src/test/java/picocli', includes: 'CommandLineTest.java') fileset(dir: 'src/main/java/picocli', includes: 'AutoComplete.java') + fileset(dir: 'src/test/java/picocli', includes: 'AutoCompleteTest.java') fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'DynamicProxyConfigGenerator.java') fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'JniConfigGenerator.java') fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'ReflectionConfigGenerator.java') @@ -304,6 +305,10 @@ task bumpVersion { ant.replaceregexp(match: ":picocli-groovy:$projectPreviousVersionRegex", replace: ":picocli-groovy:$version", flags: 'g', byline: true, encoding: 'UTF8') { fileset(dir: 'docs', includes: 'index.adoc') } + // Spring Boot section + ant.replaceregexp(match: ":picocli-spring-boot-starter:$projectPreviousVersionRegex", replace: ":picocli-spring-boot-starter:$version", flags: 'g', byline: true, encoding: 'UTF8') { + fileset(dir: 'docs', includes: 'index.adoc') + } // Downloads section, Gradle ant.replaceregexp(match: ":picocli:$projectPreviousVersionRegex", replace: ":picocli:$version", flags: 'g', byline: true, encoding: 'UTF8') { fileset(dir: 'docs', includes: 'index.adoc') diff --git a/docs/A-Whirlwind-Tour-of-Picocli.html b/docs/A-Whirlwind-Tour-of-Picocli.html index eb4f8dc9..ae32115f 100644 --- a/docs/A-Whirlwind-Tour-of-Picocli.html +++ b/docs/A-Whirlwind-Tour-of-Picocli.html @@ -528,7 +528,7 @@ table.CodeRay td.code>pre{padding:0}

A Whirlwind Tour of Picocli

Remko Popma
-version 4.1.4 +version 4.2.0
@@ -1966,7 +1966,7 @@ sys 0m0.002s
diff --git a/docs/announcing-picocli-1.0.html b/docs/announcing-picocli-1.0.html index bc2dc7ba..5eeb7ecb 100644 --- a/docs/announcing-picocli-1.0.html +++ b/docs/announcing-picocli-1.0.html @@ -528,7 +528,7 @@ table.CodeRay td.code>pre{padding:0}

Announcing picocli 1.0 - a mighty tiny command line interface

Remko Popma
-version 4.1.4, +version 4.2.0, 2017-09-10
@@ -652,7 +652,7 @@ CommandLine.usage(new AnsiDescription(), diff --git a/docs/apidocs/allclasses-frame.html b/docs/apidocs/allclasses-frame.html index 1baef8fa..46350b02 100644 --- a/docs/apidocs/allclasses-frame.html +++ b/docs/apidocs/allclasses-frame.html @@ -2,9 +2,9 @@ - -All Classes (picocli 4.1.4 API) - + +All Classes (picocli 4.2.0 API) + diff --git a/docs/apidocs/allclasses-noframe.html b/docs/apidocs/allclasses-noframe.html index 5fcfce8a..9046fb25 100644 --- a/docs/apidocs/allclasses-noframe.html +++ b/docs/apidocs/allclasses-noframe.html @@ -2,9 +2,9 @@ - -All Classes (picocli 4.1.4 API) - + +All Classes (picocli 4.2.0 API) + diff --git a/docs/apidocs/constant-values.html b/docs/apidocs/constant-values.html index a8321feb..f460c3a6 100644 --- a/docs/apidocs/constant-values.html +++ b/docs/apidocs/constant-values.html @@ -2,9 +2,9 @@ - -Constant Field Values (picocli 4.1.4 API) - + +Constant Field Values (picocli 4.2.0 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,14 +12,14 @@ @@ -12,13 +12,13 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,13 +12,13 @@ diff --git a/docs/apidocs/picocli/package-summary.html b/docs/apidocs/picocli/package-summary.html index bc1a25b1..f766e685 100644 --- a/docs/apidocs/picocli/package-summary.html +++ b/docs/apidocs/picocli/package-summary.html @@ -2,9 +2,9 @@ - -picocli (picocli 4.1.4 API) - + +picocli (picocli 4.2.0 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@