Name | Type | Required | Default | Hint |
name | string | true | Name of the module to create. | |
author | string | false | Whoever wrote this module | |
authorURL | string | false | The author's URL | |
description | string | false | The description for this module | |
version | string | false | 1.0.0 | The symantic version number: major.minior.patch |
cfmapping | string | false | A CF app mapping to create that points to the root of this module | |
modelNamespace | string | false | The namespace to use when mapping the models in this module | |
dependencies | string | false | The list of dependencies for this module | |
directory | string | false | modules | The base directory to create your model in and creates the directory if it does not exist. |
script | boolean | false | true | Generate content in script markup or tag markup |
Create a new module in an existing ColdBox application. Make sure you are running this command in the root
of your app for it to find the correct folder.
coldbox create module myModule