我已经通过在CentOS 6.2上下载和卸载zip来安装Grails 3.
grails --version
显示
| Grails Version: 3.1.10
| Groovy Version: 2.4.7
| JVM Version: 1.7.0_111
grails list-plugins
显示
Usage:
create-app [NAME] --profile=web
create-plugin [NAME] --profile=web-plugin
| Available Profiles
--------------------
* angular - A profile for creating applications using AngularJS
* rest-api - Profile for REST API applications
* base - The base profile extended by other profiles
* plugin - Profile for plugins designed to work across all profiles
* web - Profile for Web applications
* web-plugin - Profile for Plugins designed for Web applications
Type 'grails help' or 'grails -h' for more information.
与grails list-profiles
大致相同。
我认为list-plugins
列出了中央存储库中Grails可用的所有插件。
这是Grails 3.1.10中的错误吗? (这是下载的最新版本以及sdkman尝试安装的版本。)
答案 0 :(得分:0)
大多数Grails命令必须在现有应用程序或插件中运行,create-app
和create-plugin
是例外,因此用法消息告诉您的是什么。由于list-plugins
无法在现有应用/插件之外工作(我不确定为什么会这样),您会看到这种低信息响应。
您可以看到所有可用的Grails 3插件here。