Skip to content

Commit eb60aa0

Browse files
Cli schema update (#883)
This is an automated daily update. Co-authored-by: Tolgee Machine <[email protected]>
1 parent ae3cace commit eb60aa0

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

static/cli-schema.json

+16-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,22 @@
5050
"push": {
5151
"type": "object",
5252
"properties": {
53+
"filesTemplate": {
54+
"description": "A template that describes the structure of the local files and their location with file [structure template format](https://docs.tolgee.io/tolgee-cli/push-pull-strings#file-structure-template-format).\n\nExample: `./public/{namespace}/{languageTag}.json`",
55+
"anyOf": [
56+
{
57+
"type": "string"
58+
},
59+
{
60+
"type": "array",
61+
"items": {
62+
"type": "string"
63+
}
64+
}
65+
]
66+
},
5367
"files": {
54-
"description": "Define, which files should be pushed and attach language/namespace to them. By default Tolgee pushes all files specified here, you can filter them by languages and namespaces properties.",
68+
"description": "More explicit alternative to `filesTemplate`. Define, which files should be pushed and attach language/namespace to them. By default Tolgee pushes all files specified here, you can filter them by languages and namespaces properties.",
5569
"type": "array",
5670
"items": {
5771
"$ref": "#/$defs/fileMatch"
@@ -146,7 +160,7 @@
146160
"type": "boolean"
147161
},
148162
"fileStructureTemplate": {
149-
"description": "Defines exported file structure: https://tolgee.io/tolgee-cli/push-pull-strings#file-structure-template-format",
163+
"description": "Defines exported file structure: https://docs.tolgee.io/tolgee-cli/push-pull-strings#file-structure-template-format",
150164
"type": "string"
151165
},
152166
"emptyDir": {

0 commit comments

Comments
 (0)