create-service command will create a Grails service class for the given base name.
grails create-service book
Description Creates a service for the give base name. For example for a base name
book a service called
BookService will be created in the
grails-app/services directory.A service class encapsulates business logic and is delegated to by controllers to perform the core logic of a Grails application. For more information on tags refer to the section on Services in the user guide.
Note that this command is merely for convenience and you can also create controllers in your favourite text editor or IDE if you choose.
grails create-service [name]
CreatedFile - When the service has been created