Spring ROO 类似控制台应用程序

发布于 2024-08-16 11:38:22 字数 54 浏览 7 评论 0原文

我正在寻找构建一个控制台驱动的应用程序,它有点像 Spring ROO 控制台,有什么想法吗?

I am looking to build a console driven application, which would somewhat like look like the Spring ROO Console, any ideas ?.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

桃扇骨 2024-08-23 11:38:22

Spring Roo shell 基于 JLine,但包含大量以可用性为导向的设计元素,而 JLine 中不存在这些元素。您可以阅读 shell 哲学 部分Roo 参考指南简要介绍了其中一些增强功能。我们还集成了 JANSI,为 Windows 用户提供彩色外壳。

我们打算在适当的时候将 shell 从 Spring Roo 中分离出来,并创建一个名为“Spring Shell”的单独项目。不过,这项工作的时间表尚未最终确定。同时,如果您从 SVN 签出 Roo,您将能够使用具有最小依赖性和 Roo 特定约定的 shell。使用 @Cli* 注释来设置 shell 命令也非常简单,您可以在 Roo 源代码的其余部分中看到这方面的示例。

The Spring Roo shell is based on JLine, but contains a large number of design elements oriented around usability that are not present in JLine. You can read the shell philosophy section of the Roo reference guide for a brief treatment of some of these enhancements. We've also integrated JANSI to provide a colour shell for Windows users.

We intend to split out the shell from Spring Roo in due course and create a separate project called "Spring Shell". The timeframe for this work has not been finalised, though. In the meantime if you checkout Roo from SVN you'll be able to get use the shell with minimal dependencies and Roo-specific conventions. Using the @Cli* annotations to setup shell commands is also very easy, and you can see examples of this in the remainder of the Roo source code.

猫弦 2024-08-23 11:38:22

我根据 SVN 中的 spring ROO 代码添加了几个定制的 shell。

我尝试在 shell 级别挂钩或者更确切地说(黑客)它,并使用插件更合适的机制。 OSGi 可能会稍后出现在官方 Spring Shell 中?

ps roo/shell 是构建工具/软件的平台。

伟大的工作

I have spiked a couple of bespoke shells based on the spring ROO code in SVN.

I tried hooking or rather (hacking) it in at both the shell level and also using the addon more appropriate mechanism. Possibly OSGi will come later to the official Spring Shell?

ps the roo/shell rocks as a platform for building tool/software.

great work

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文