Skip to content

felipeg48/spring-shell

 
 

Repository files navigation

Spring Shell is an shell skeleton that can be easily extended with commands using a Spring based programming model. Spring Shell eases the creation of interactive console applications, featuring ANSI coloring, TAB completion, history browsing, etc.

To witness possibilities of Spring Shell, have a look at the Spring XD Shell.

The latest release version is 1.1.0.RELEASE, while the development version is 1.2.0.BUILD-SNAPSHOT.

Useful links

Artifacts

<!-- used for Spring GA Releases releases, artifacts are also in maven central -->
<repository>
 <!-- Release -->
 <id>spring-release</id>
 <name>Spring Maven RELEASE Repository</name>
 <url>http://repo.springframework.org/release</url>
</repository>

<!-- libs-release artifacts that may not be in maven central -->
<repository>
 <id>libs-release</id>
 <name>Spring Maven libs-release Repository</name>
 <url>http://repo.springframework.org/libs-release</url>
</repository>

<dependency>
 <groupId>org.springframework.shell</groupId>
 <artifactId>spring-shell</artifactId>
 <version>1.1.0.RELEASE</version>
</dependency>

<!-- used for nightly builds -->
<repository>
 <!-- Snapshots -->
 <id>spring-snapshot</id>
 <name>Spring Maven SNAPSHOT Repository</name>
 <url>http://repo.springframework.org/libs-snapshot</url>
</repository>

<dependency>
  <groupId>org.springframework.shell</groupId>
  <artifactId>spring-shell</artifactId>
  <version>1.2.0.BUILD-SNAPSHOT</version>
</dependency>
  • Gradle:

repositories {
   maven { url "http://repo.springsource.org/lib-release" }
}

dependencies {
   compile "org.springframework.shell:spring-shell:1.1.0.RELEASE"
}

Building

Spring Shell is built with Gradle. To build Spring Shell, run

./gradlew

Running Example

cd samples/helloworld
./gradlew installApp
cd build/install/helloworld/bin
helloworld

Contributing

Here are some ways for you to get involved in the community:

  • Get involved with the Spring community on Stack Overflow. Please help out on the dedicated SO tag by responding to questions and joining the debate.

  • Create JIRA tickets for bugs and new features and comment and vote on the ones that you are interested in. Github is for social coding: if you want to write code, we encourage contributions through pull requests from forks of this repository. If you want to contribute code this way, please reference a JIRA tracker ticket covering the specific issue you are addressing. Before we accept a non-trivial patch or pull request we will need you to sign the contributor’s agreement. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.

About

Spring based interactive shell

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%