(Quick Reference)

install-templates

Purpose

Copies the the templates used by Grails during code generation to your project directory

Examples

grails install-templates

Description

Usage:

grails 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.

Gradle runCommand install-templates

Purpose

Copies the templates used by Grails during code generation to your project directory

Examples

$ ./gradlew runCommand -Pargs="install-templates"

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.