$ grace generate-views [Domain Class]
generate-views
Description
Generates the Gson Views.
Arguments
Name |
Description |
Required |
Domain Class |
The name of the Domain Class |
true |
Flags
Name |
Description |
Type |
force |
Whether to overwrite existing files |
boolean, default: false |
Usage
Examples
$ grace generate-views Post
| Rendered template index.gson to destination app/views/post/index.gson
| Rendered template show.gson to destination app/views/post/show.gson
| Rendered template _domain.gson to destination app/views/post/_post.gson
| Scaffolding completed for app/domain/com/example/Post.groovy