$ ./gradlew runCommand -Pargs="install-templates"
install-templates
Purpose
Copies the templates used by Grails during code generation to your project directory
Examples
Description
Usage:
$ ./gradlew runCommand -Pargs="install-templates"
The install-templates
command will copy the templates Grails uses for all code generation activities to the application’s src/main/templates/scaffolding
directory.