(Quick Reference)

init

Purpose

The init command initialises the appropriate directory structure for a Grails application and sets some common variables for use by the calling script. It is typically used as an include.

Examples

Command line:

grails init

or as an include:

includeTargets << grailsScript("_GrailsInit")