$ grace create-interceptor [Interceptor Name]
create-interceptor
Description
Creates an Interceptor.
Arguments
Name |
Description |
Required |
Interceptor Name |
The name of the Interceptor |
true |
Flags
Name |
Description |
Type |
force |
Whether to overwrite existing files |
boolean, default: false |
Usage
Examples
$ grace create-interceptor Example
| Created app/controllers/com/example/ExampleInterceptor.groovy
| Created src/test/groovy/com/example/ExampleInterceptorSpec.groovy