(Quick Reference)

create-service-class

Purpose

The create-service-class generates a service for a domain class

Examples

grails create-service-class Person
grails create-service-class "*"

Description

Given at least one domain class, this command creates a service for it.

Usage:

grails create-service-class [domainClass]

Arguments:

  • domainClass - Either a domain class name (case-sensitive) without its package or a wildcard (*). If you specify the wildcard the artifacts will be generated for all domain classes.