Griffon Guide 0.9.5-rc2 - Reference Documentation

# create-addon

## Purpose

The `create-addon` command will create a Griffon addon artifact.

## Examples

    griffon create-addon

## Description

Creates a Griffon addon artifact. Addons are usually packaged by a plugin and installed into other applications.

Addons contribute new runtime capabilities to applications. Refer to the section on Plugin Development in the user guide for more information on developing plugins and addons for Griffon.

Usage:

    griffon create-addon [name]

The `name` parameter is optional if `create-addon` was invoked inside a plugin project.

Arguments:

- `name` - Name of the addon to create. It must match the name of the plugin that contains it.

Options:

- `app-version` - Version to be set on the addon. Defaults to 0.1.
- `archetype` - Archetype to be searched for templates. Defaults to default.
- `file-type` - Source file type. Defaults to groovy.
- `inplace` - If true creates the addon in the current directory. Defaults to false.