(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")