Registry / cli / spring-shell

spring-shell

JSON →
library1.2.0.RELEASEjavamavenunverified

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

cli
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.

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 footguns
breakingSpring Shell 1.x is outdated; consider upgrading to 2.x or 3.x for new projects.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources