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

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

There is a newer version: 2023.2.0-M1
Show newest version
description:
    - Creates a Controller
    - usage: 'create-controller [controller name]'
    - completer: org.grails.cli.interactive.completers.DomainClassCompleter
    - argument: Controller Name
      description: The name of the Controller
    - flag: force
      description: Whether to override existing files
steps:
 - command: render
   template: templates/artifacts/Controller.groovy
   convention: Controller
   destination: app/controllers/@artifact.package.path@/@[email protected]
 - command: render
   template: templates/testing/Controller.groovy
   convention: Controller
   destination: src/test/groovy/@artifact.package.path@/@[email protected]
 - command: mkdir
   location: app/views/@artifact.propertyName@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy