mgnl create-content-type <name>
This command creates a content type
Arguments
Name | Description |
---|---|
name | The name of the new content type. The name cannot contain spaces |
Options
Name | Description |
---|---|
-a | Creates also a new app that references the content type. With the -a option, the command is functionally equivalent to the create-app command |
-p, --path <path> | The path to the light module where you want to create the content type |
-P, --prototype <prototype> | The name of the prototype variant to create the content type |