Spring Shell JCommander Adapter

Adapter classes to allow JCommander type annotations and parsing via Spring Shell 2

License

License

Categories

Categories

JCommander User Interface CLI
GroupId

GroupId

org.springframework.shell
ArtifactId

ArtifactId

spring-shell-jcommander-adapter
Last Version

Last Version

2.0.1.RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

Spring Shell JCommander Adapter
Adapter classes to allow JCommander type annotations and parsing via Spring Shell 2
Project Organization

Project Organization

Pivotal Software, Inc.

Download spring-shell-jcommander-adapter

How to add to project

<!-- https://jarcasting.com/artifacts/org.springframework.shell/spring-shell-jcommander-adapter/ -->
<dependency>
    <groupId>org.springframework.shell</groupId>
    <artifactId>spring-shell-jcommander-adapter</artifactId>
    <version>2.0.1.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/org.springframework.shell/spring-shell-jcommander-adapter/
implementation 'org.springframework.shell:spring-shell-jcommander-adapter:2.0.1.RELEASE'
// https://jarcasting.com/artifacts/org.springframework.shell/spring-shell-jcommander-adapter/
implementation ("org.springframework.shell:spring-shell-jcommander-adapter:2.0.1.RELEASE")
'org.springframework.shell:spring-shell-jcommander-adapter:jar:2.0.1.RELEASE'
<dependency org="org.springframework.shell" name="spring-shell-jcommander-adapter" rev="2.0.1.RELEASE">
  <artifact name="spring-shell-jcommander-adapter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.springframework.shell', module='spring-shell-jcommander-adapter', version='2.0.1.RELEASE')
)
libraryDependencies += "org.springframework.shell" % "spring-shell-jcommander-adapter" % "2.0.1.RELEASE"
[org.springframework.shell/spring-shell-jcommander-adapter "2.0.1.RELEASE"]

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework.shell : spring-shell-core jar 2.0.1.RELEASE
com.beust : jcommander Optional jar 1.48

test (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 1.5.8.RELEASE
org.assertj : assertj-core jar 3.8.0

Project Modules

There are no modules declared in this project.

Spring Shell 3

Spring Shell 3 is a work to solely depend on Spring Boot 2.x and not trying to keep any backward compatibility with older Spring Shell 1.x nor Spring Boot 1.x.

Building

./mvnw package

Running

The project comes with a sample application, showcasing the various ways you can write commands.

./mvnw install
./mvnw -pl spring-shell-samples spring-boot:run

From there, try typing help or help <commmand> at the shell prompt.

org.springframework.shell

Spring

Versions

Version
2.0.1.RELEASE
2.0.0.RELEASE