mgnl create-content-type <name>

This command creates a content type

Arguments

NameDescription
nameThe name of the new content type. The name cannot contain spaces

Options

NameDescription
-aCreates 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