Spring Shell
Spring Shell 提供交互式的 Shell 可让你使用简单的基于 Spring 的编程模型来开发命令。
示例代码:
@Component
public class HelloWorldCommands implements CommandMarker {
// use any Spring annotations for Dependency Injection or other Spring
// interfaces as required.
// methods with @Cli annotations go here
}
评论
