Skip to content

Commit

Permalink
Release picocli version 4.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Oct 14, 2020
1 parent c5dbdc9 commit 3410dd8
Show file tree
Hide file tree
Showing 162 changed files with 4,334 additions and 2,985 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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.1 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.5.1)
* Latest: 4.5.2 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.5.2)
* 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 @@ -238,9 +238,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.5.1-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.5.2-green.svg)](https://github.com/remkop/picocli)
```
[![picocli](https://img.shields.io/badge/picocli-4.5.1-green.svg)](https://github.com/remkop/picocli)
[![picocli](https://img.shields.io/badge/picocli-4.5.2-green.svg)](https://github.com/remkop/picocli)
```


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

### Gradle
```
compile 'info.picocli:picocli:4.5.1'
compile 'info.picocli:picocli:4.5.2'
```
### Maven
```
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.5.1</version>
<version>4.5.2</version>
</dependency>
```
### Scala SBT
```
libraryDependencies += "info.picocli" % "picocli" % "4.5.1"
libraryDependencies += "info.picocli" % "picocli" % "4.5.2"
```
### Ivy
```
<dependency org="info.picocli" name="picocli" rev="4.5.1" />
<dependency org="info.picocli" name="picocli" rev="4.5.2" />
```
### Grape
```groovy
@Grapes(
@Grab(group='info.picocli', module='picocli', version='4.5.1')
@Grab(group='info.picocli', module='picocli', version='4.5.2')
)
```
### Leiningen
```
[info.picocli/picocli "4.5.1"]
[info.picocli/picocli "4.5.2"]
```
### Buildr
```
'info.picocli:picocli:jar:4.5.1'
'info.picocli:picocli:jar:4.5.2'
```
4 changes: 2 additions & 2 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# picocli Release Notes

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

This release contains bug fixes and enhancements:
Expand All @@ -13,7 +13,7 @@ This release contains bug fixes and enhancements:
* The user manual now has tabs showing examples in languages other than Java.
This is a work in progress: many examples still only have a Java version.
Contributions welcome!
* Many, many documentation enhancements, most of which were contributed by the community.
* Many, many documentation enhancements, most of which contributed by the community.

Many thanks to the picocli community who contributed 28 pull requests in this release!
Please see the Fixed Issues section below for the individual contributors. Great work!
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ publishing {

/*
Release procedure:
1. edit version numbers: remove -SNAPSHOT classifier
1. edit version numbers: remove -SNAPSHOT classifier; edit releaseDate
2. gradlew bumpVersion
3. check modified files
4. gradlew clean build
Expand Down
80 changes: 78 additions & 2 deletions docs/A-Whirlwind-Tour-of-Picocli.html
Original file line number Diff line number Diff line change
Expand Up @@ -1475,13 +1475,89 @@
});
});
</script>
<style>
.hidden {
display: none;
}

.switch {
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #7a2518;
display: inline-block;
}

.switch--item {
padding: 10px;
background-color: #ffffff;
color: #7a2518;
display: inline-block;
cursor: pointer;
}

.switch--item.selected {
background-color: #7a2519;
color: #ffffff;
}

</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js"></script>
<script type="text/javascript">
function addBlockSwitches() {
$('.primary').each(function() {
primary = $(this);
createSwitchItem(primary, createBlockSwitch(primary)).item.addClass("selected");
primary.children('.title').remove();
});
$('.secondary').each(function(idx, node) {
secondary = $(node);
primary = findPrimary(secondary);
switchItem = createSwitchItem(secondary, primary.children('.switch'));
switchItem.content.addClass('hidden');
findPrimary(secondary).append(switchItem.content);
secondary.remove();
});
}

function createBlockSwitch(primary) {
blockSwitch = $('<div class="switch"></div>');
primary.prepend(blockSwitch);
return blockSwitch;
}

function findPrimary(secondary) {
candidate = secondary.prev();
while (!candidate.is('.primary')) {
candidate = candidate.prev();
}
return candidate;
}

function createSwitchItem(block, blockSwitch) {
blockName = block.children('.title').text();
content = block.children('.content').first().append(block.next('.colist'));
item = $('<div class="switch--item">' + blockName + '</div>');
item.on('click', '', content, function(e) {
$(this).addClass('selected');
$(this).siblings().removeClass('selected');
e.data.siblings('.content').addClass('hidden');
e.data.removeClass('hidden');
});
blockSwitch.append(item);
return {'item': item, 'content': content};
}

$(addBlockSwitches);

</script>

</head>
<body class="article">
<div id="header">
<h1>A Whirlwind Tour of Picocli</h1>
<div class="details">
<span id="author" class="author">Remko Popma</span><br>
<span id="revnumber">version 4.5.1</span>
<span id="revnumber">version 4.5.2</span>
</div>
</div>
<div id="content">
Expand Down Expand Up @@ -2919,7 +2995,7 @@ <h2 id="_conclusion">Conclusion</h2>
</div>
<div id="footer">
<div id="footer-text">
Version 4.5.1<br>
Version 4.5.2<br>
Last updated 2020-10-03 16:17:11 +0900
</div>
</div>
Expand Down
Loading

0 comments on commit 3410dd8

Please sign in to comment.