grails / grails-forge-ui

Apache License 2.0
2 stars 2 forks source link

Forge suggests invalid CLI command #38

Closed matrei closed 9 months ago

matrei commented 1 year ago

Description

When having selected application type "Plugin" and clicking on "Generate Project/Commands", an invalid command is suggested.

Task List

Steps to Reproduce

  1. Go to https://start.grails.org
  2. Select - Application type: Plugin
  3. Click "Generate Project" and select "Commands"
  4. Copy the CLI Command suggested (grails create-plugin-app --servlet=tomcat --jdk=11 --gorm=hibernate --test=spock com.example.demo)
  5. Open a terminal with Grails 6 installed and run the command.

Expected Behaviour

A Grails project should be created.

Actual Behaviour

An error message is displayed:

Unmatched arguments from index 0: 'create-plugin-app', '--servlet=tomcat', '--jdk=11', '--gorm=hibernate', '--test=spock', 'com.example.demo'
Did you mean: grails create-plugin or grails create-web-plugin or grails create-webapp?

Environment Information