Type: New Feature
Affects Version/s: None
Fix Version/s: 3.0.0
The commands create-page and create-component should be able to create a JS model optionally.
Proposed option: -m or -jsm.
On the template definition add this line:
Create an additional file in the same directory as the template def. and script are created. File name must be <template-name>.js.
Add dummy code to the model file such as this:
mgnl create-<page/component> newPageOrComponent -P with-js-model