create-service

Purpose

The create-service command will create a Griffon service class for the given base name.

Examples

griffon 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 griffon-app/services directory.

A service class encapsulates business logic and is delegated to by controllers to perform the core logic of a Griffon application.

Note that this command is merely for convenience and you can also create services in your favorite text editor or IDE if you choose.

Usage:

griffon create-service [name]

Arguments:

Options: