mgnl create-component <name>
This command creates a new component template
Arguments
| Name | Description |
|---|
name | The name of the new component template. The name cannot contain spaces |
Options
| Name | Description |
|---|
-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 |