Registry / cli / spring-shell

spring-shell

JSON →
library1.2.0.RELEASEjavamavenunverified

Spring Shell provides a framework for building interactive command-line applications in Java.

<dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell</artifactId> <version>1.2.0.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-SHELL
S
spring-shell
clijavav1.2.0.RELEASE
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShellComponent
org.springframework.shell.standard.ShellComponent

Annotate a class with @ShellComponent and methods with @ShellMethod to create CLI commands.

import org.springframework.shell.standard.ShellComponent; import org.springframework.shell.standard.ShellMethod; @ShellComponent public class MyCommands { @ShellMethod("Say hello") public String hello() { return "Hello World"; } }
Debug
Known issues
breakingSpring Shell 1.x is outdated; consider upgrading to 2.x or 3.x for new projects.
fix
Use org.springframework.shell:spring-shell-starter for modern versions.
affects: <=1.2.0.RELEASE
Upgrade
Version history
1.2.0.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
spring-shell — mvn dependency:get spring-shell · libregistry