$ grace create-controller [Controller Name]
create-controller
Description
Creates a Controller.
Arguments
Name |
Description |
Required |
Controller Name |
The name of the Controller |
true |
Flags
Name |
Description |
Type |
force |
Whether to overwrite existing files |
boolean, default: false |
Usage
Examples
$ grace create-controller Post
| Created app/controllers/grace/demos/PostController.groovy
| Created src/test/groovy/grace/demos/PostControllerSpec.groovy