ework.profiles.base.2023.0.1.source-code.create-domain-class.yml Maven / Gradle / Ivy
description:
- Creates a Domain Class
- usage: 'create-domain-class [domain class name]'
- argument: Domain Class Name
description: The name of the domain class
- flag: force
description: Whether to override existing files
steps:
- command: render
template: templates/artifacts/DomainClass.groovy
destination: app/domain/@artifact.package.path@/@[email protected]
- command: render
template: templates/testing/DomainClass.groovy
destination: src/test/groovy/@artifact.package.path@/@[email protected]