ework.profiles.web.2023.0.1.source-code.create-service.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of web Show documentation
Show all versions of web Show documentation
A Grace profile for Web applications
description:
- Creates a Service
- usage: 'create-service [service name]'
- completer: org.grails.cli.interactive.completers.DomainClassCompleter
- argument: "Service Name"
description: "The name of the Service"
- flag: force
description: Whether to override existing files
steps:
- command: render
template: templates/artifacts/Service.groovy
destination: app/services/@artifact.package.path@/@[email protected]
convention: Service
- command: render
template: templates/testing/Service.groovy
destination: src/test/groovy/@artifact.package.path@/@[email protected]
convention: Service