monetschemist commented on issue #13111:
URL: https://github.com/apache/grails-core/issues/13111#issuecomment-2785122198

   @xpusostomos I think you need to re-read the relevant information.  If 
you're just trying to create a controller with no scaffolding, then
   
   ```
   grails create-controller org.bookstore.Book
   ```
   
   works fine.  But if you want scaffolding from a domain class, then you need 
to use the ```./gradlew``` command, for example
   
   ```
   ./gradlew runCommand -Pargs="generate-all org.bookstore.Book"
   ```
   
   See [this 
page](https://docs.grails.org/snapshot/ref/Command%20Line/generate-all.html), 
mentioned above, for example.  Look partway down to see the title "Gradle 
runCommand generate-all Command"
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to