mgnl create-component <name>

This command creates a new component template

Arguments

NameDescription
nameThe name of the new component template. The name cannot contain spaces

Options

NameDescription
-p, --path <path>The path to the light module you want to add the component template to
-a, --available <<path-to-page[@area]>>The page you want to make the component available to
-g, --autogenerate <<path-to-page[@area]>>Add this parameter to autogenerate the component instead of providing plain availability
-P, --prototype <prototype>The name of the prototype variant to create the component