2016-08-14 2 views
0

Ich habe Grails 3 installiert, indem ich die Zip auf CentOS 6.2 heruntergeladen und entladen habe.Grails 3 List-Plugins listet Profile auf

grails --version zeigt

| Grails Version: 3.1.10 

| Groovy Version: 2.4.7 

| JVM Version: 1.7.0_111 

grails list-plugins zeigt

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. 

die meist das gleiche wie grails list-profiles.

Ich dachte list-plugins aufgelistet alle Plugins, die für Grails in einem zentralen Repository zur Verfügung standen.

Ist das ein Fehler in Grails 3.1.10? (Welches ist die neueste Version für den Download und die Version, die sdkman versucht, auch zu installieren).

Antwort

0

Die meisten Grails-Befehle müssen in einer vorhandenen Anwendung oder einem vorhandenen Plug-in ausgeführt werden, wobei create-app und Ausnahmen sind. Das ist es, was Ihnen die Verwendungsnachricht sagt. Da list-plugins nicht funktioniert außerhalb einer vorhandenen App/Plugin (ich bin mir nicht sicher, warum tbh) Sie sehen diese Low-Information-Antwort.

Sie können alle verfügbaren Grails 3 Plugins here sehen.