grails / grails-forge-ui

Apache License 2.0
2 stars 2 forks source link

Problem With Generated CLI Commands #40

Open osscontributor opened 7 months ago

osscontributor commented 7 months ago

Related but separate from https://github.com/grails/grails-forge-ui/issues/38.

The UI currently generates CLI commands like the following:

grails create-rest_api --servlet=tomcat --jdk=11 --gorm=hibernate --test=spock com.example.demo

I believe create-rest_api is invalid and should be create-restapi.

Screenshot 2024-03-05 at 1 36 16 PM

https://github.com/grails/grails-forge-ui/blob/d3ef27dbfd25a16850201f413f7c473bd4cb0072/app/launch/src/micronaut/creators/ToCli.js#L21 may end up being a point of interest.

Thank you for your help!