All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ework.profiles.web.2023.0.1.source-code.create-interceptor.yml Maven / Gradle / Ivy

description:
    - Creates an Interceptor
    - usage: 'create-interceptor [interceptor name]'
    - completer: org.grails.cli.interactive.completers.DomainClassCompleter
    - argument: "Interceptor name"
      description: "The name of the Interceptor"
    - flag: force
      description: Whether to override existing files

steps:
 - command: render
   template: templates/artifacts/Interceptor.groovy
   convention: Interceptor
   destination: app/controllers/@artifact.package.path@/@[email protected]
 - command: render
   template: templates/testing/Interceptor.groovy
   convention: Interceptor
   destination: src/test/groovy/@artifact.package.path@/@[email protected]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy