You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -239,15 +239,18 @@ It behaves similar with properties: In case a property value doesn't match its d
239
239
It might be tedious to validate that all your templates are working especially in a larger project. To validate the ones that are not dependent on data from the node creation dialog (less complex templates) you can utilize this command:
240
240
241
241
```sh
242
-
flow nodetemplate:validate
242
+
flow nodetemplate:validate [<options>]
243
243
```
244
244
245
+
**options:**
246
+
- `--site`: the Neos site, which determines the content repository. Defaults to the first available one.
247
+
245
248
In case everything is okay it will succeed with `X NodeType templates validated.`.
246
249
247
250
But in case you either have a syntax error in your template or the template does not match the node structure (illegal properties) you will be warned:
248
251
249
252
```
250
-
76 of 78 NodeType template validated. 2 could not be build standalone.
253
+
Content repository "default": 76 of 78 NodeType template validated. 2 could not be build standalone.
251
254
252
255
My.NodeType:Bing
253
256
Property "someLegacyProperty" in NodeType "My.NodeType:Bing" | PropertyIgnoredException(Because property is not declared in NodeType. Got value `"bg-gray-100"`., 1685869035209)
@@ -266,9 +269,15 @@ When creating a more complex node template (to create multiple pages and content
0 commit comments