-
Notifications
You must be signed in to change notification settings - Fork 68
/
task.json
83 lines (83 loc) · 2.43 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"id": "6D9895EB-8056-4111-B4B3-7B80FD383E44",
"name": "JSONTokenizer",
"friendlyName": "Tokenize File",
"description": "Tokenizes a file.",
"author": "Colin Dembovsky (colinsalmcorner.com)",
"helpMarkDown": "[More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/Tokenizer)",
"category": "Utility",
"visibility": [
"Build",
"Release"
],
"version": {
"Major": "1",
"Minor": "2",
"Patch": "30"
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "Tokenize file(s)",
"inputs": [
{
"name": "sourcePath",
"type": "filePath",
"label": "Source Path",
"defaultValue": "",
"helpMarkDown": "Path to the file(s) containing files to tokenize. Leave empty to use the sources directory. NOTE: this is case sensitive for non-Windows systems. This should be a path containing the file, not the file itself.",
"required": false
},
{
"name": "filePattern",
"type": "string",
"label": "File Pattern",
"defaultValue": "appsettings.json",
"helpMarkDown": "File pattern to find in source path. Supports minimatch. NOTE: this is case sensitive for non-Windows systems.",
"required": true
},
{
"name": "tokenizeType",
"type": "pickList",
"label": "Tokenize Type",
"defaultValue": "json",
"helpMarkDown": "Type of tokenization",
"required": true,
"options": {
"Json": "Json"
}
},
{
"name": "includes",
"type": "string",
"label": "Includes",
"defaultValue": "ConnectionStrings.DefaultConnection",
"helpMarkDown": "Comma-separated list of keys to tokenize. If left empty, all values are tokenized.",
"required": false
},
{
"name": "excludes",
"type": "string",
"label": "Excludes",
"defaultValue": "LogLevel",
"helpMarkDown": "Comma-separated list of keys NOT to tokenize. You should not specify both include and exclude.",
"required": false
},
{
"name": "nullBehavior",
"type": "pickList",
"label": "Null Behavior",
"defaultValue": "warning",
"helpMarkDown": "Action to take when properties are null: write warning or throw error.",
"required": false,
"options": {
"warning": "Warning",
"error": "Error"
}
}
],
"execution": {
"Node16": {
"target": "tokenizer.js",
"argumentFormat": ""
}
}
}