红联Linux门户
Linux帮助

Spring Shell 2.0 M1发布,完全重写后的首个版本

发布时间:2017-09-19 22:08:04来源:红联作者:lovsher
Spring Shell 2.0 M1 是 Spring Shell 2.x 的首个里程碑版,开发者花了两年时间进行完全重写,将利用更新的组件(如 JLine 3 ),应用更好的模块化功能。

版本亮点:

A long requested feature, positional parameters are now supported (can even mix and match, to some extent)

Use of the standard Spring conversion API allows re-use of many existing converters, while Shell 1 had its own dedicated approach

Building on top of JLine 3 brings nice user experience enhancements, such as navigating among completion proposals using TAB

Integration with the bean validation API makes commands more expressive

The new help command is way more useful than it used to be, resembling the output of a man page

Commands parameters that accept a collection or an array value may now specify a non default arity

Another long requested feature, multi-line commands are now supported

Turning commands on and off is still supported, with a more natural programming model now as well as the ability to provide an explanation of why a command is currently unavailable

Spring Shell 提供了一个交互式 Shell ,它允许您使用一个简单的基于 Spring 的编程模型来提供命令。

软件详情:https://spring.io/blog/2017/09/18/introducing-spring-shell-2-0m1

下载地址:http://projects.spring.io/spring-shell/

来自:开源中国社区
文章评论

共有 0 条评论