Skip to content

Commit a773a4d

Browse files
authored
Merge pull request #211 from cfengine/update-syntax-description-1786570284
Updated syntax-description.json
2 parents 3498b64 + 5057055 commit a773a4d

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

src/cfengine_cli/syntax-description.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4264,7 +4264,7 @@
42644264
"format": {
42654265
"cached": false,
42664266
"category": "data",
4267-
"collecting": false,
4267+
"collecting": true,
42684268
"minArgs": 1,
42694269
"parameters": [
42704270
{
@@ -7091,6 +7091,26 @@
70917091
"status": "normal",
70927092
"variadic": true
70937093
},
7094+
"validfiledata": {
7095+
"cached": false,
7096+
"category": "io",
7097+
"collecting": false,
7098+
"parameters": [
7099+
{
7100+
"description": "File name to read",
7101+
"range": "\"?(/.*)",
7102+
"type": "string"
7103+
},
7104+
{
7105+
"description": "Type of data to read",
7106+
"range": "CSV,YAML,JSON,ENV,auto",
7107+
"type": "option"
7108+
}
7109+
],
7110+
"returnType": "context",
7111+
"status": "normal",
7112+
"variadic": false
7113+
},
70947114
"validjson": {
70957115
"cached": false,
70967116
"category": "data",

0 commit comments

Comments
 (0)