@provartesting/provardx-cli 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/Utility/errorCode.d.ts +1 -1
- package/lib/Utility/errorCode.js +1 -2
- package/lib/Utility/errorCode.js.map +1 -1
- package/lib/Utility/errorHandler.d.ts +1 -1
- package/lib/Utility/errorHandler.js +2 -7
- package/lib/Utility/errorHandler.js.map +1 -1
- package/lib/Utility/fileSupport.d.ts +1 -0
- package/lib/Utility/fileSupport.js +8 -36
- package/lib/Utility/fileSupport.js.map +1 -1
- package/lib/Utility/jsonSupport.js +4 -11
- package/lib/Utility/jsonSupport.js.map +1 -1
- package/lib/Utility/propertyFileValidator.d.ts +1 -1
- package/lib/Utility/propertyFileValidator.js +26 -44
- package/lib/Utility/propertyFileValidator.js.map +1 -1
- package/lib/Utility/provarConfig.d.ts +1 -1
- package/lib/Utility/provarConfig.js +3 -7
- package/lib/Utility/provarConfig.js.map +1 -1
- package/lib/Utility/provardxExecutor.d.ts +7 -0
- package/lib/Utility/provardxExecutor.js +31 -0
- package/lib/Utility/provardxExecutor.js.map +1 -0
- package/lib/Utility/sfProvarCommandResult.d.ts +1 -1
- package/lib/Utility/sfProvarCommandResult.js +1 -5
- package/lib/Utility/sfProvarCommandResult.js.map +1 -1
- package/lib/Utility/stringSupport.d.ts +2 -0
- package/lib/Utility/stringSupport.js +12 -7
- package/lib/Utility/stringSupport.js.map +1 -1
- package/lib/Utility/userSupport.d.ts +15 -0
- package/lib/Utility/userSupport.js +56 -0
- package/lib/Utility/userSupport.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/generate.d.ts +3 -3
- package/lib/commands/provar/automation/config/generate.js +70 -0
- package/lib/commands/provar/automation/config/generate.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/get.d.ts +1 -1
- package/lib/commands/provar/automation/config/get.js +74 -0
- package/lib/commands/provar/automation/config/get.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/load.d.ts +2 -2
- package/lib/commands/provar/automation/config/load.js +55 -0
- package/lib/commands/provar/automation/config/load.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/set.d.ts +1 -1
- package/lib/commands/provar/automation/config/set.js +85 -0
- package/lib/commands/provar/automation/config/set.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/validate.d.ts +1 -1
- package/lib/commands/provar/automation/config/validate.js +31 -0
- package/lib/commands/provar/automation/config/validate.js.map +1 -0
- package/lib/commands/provar/automation/metadata/download.d.ts +13 -0
- package/lib/commands/provar/automation/metadata/download.js +94 -0
- package/lib/commands/provar/automation/metadata/download.js.map +1 -0
- package/lib/constants/commandConstants.d.ts +6 -5
- package/lib/constants/commandConstants.js +8 -10
- package/lib/constants/commandConstants.js.map +1 -1
- package/lib/constants/errorMessages.js +2 -5
- package/lib/constants/errorMessages.js.map +1 -1
- package/lib/constants/propertyFileContent.d.ts +24 -0
- package/lib/constants/propertyFileContent.js +25 -0
- package/lib/constants/propertyFileContent.js.map +1 -0
- package/lib/constants/propertyFileSchema.d.ts +7 -0
- package/lib/constants/propertyFileSchema.js +9 -4
- package/lib/constants/propertyFileSchema.js.map +1 -1
- package/lib/constants/sfCommandConstants.d.ts +4 -0
- package/lib/constants/sfCommandConstants.js +6 -0
- package/lib/constants/sfCommandConstants.js.map +1 -0
- package/messages/provar.metadata.download.md +23 -0
- package/messages/sf.provar.config.generate.md +3 -3
- package/messages/sf.provar.config.get.md +3 -3
- package/messages/sf.provar.config.load.md +3 -3
- package/messages/sf.provar.config.set.md +3 -3
- package/messages/sf.provar.config.validate.md +3 -3
- package/oclif.manifest.json +341 -73
- package/package.json +37 -48
- package/lib/commands/sf/provar/config/generate.js +0 -102
- package/lib/commands/sf/provar/config/generate.js.map +0 -1
- package/lib/commands/sf/provar/config/get.js +0 -106
- package/lib/commands/sf/provar/config/get.js.map +0 -1
- package/lib/commands/sf/provar/config/load.js +0 -87
- package/lib/commands/sf/provar/config/load.js.map +0 -1
- package/lib/commands/sf/provar/config/set.js +0 -117
- package/lib/commands/sf/provar/config/set.js.map +0 -1
- package/lib/commands/sf/provar/config/validate.js +0 -40
- package/lib/commands/sf/provar/config/validate.js.map +0 -1
- package/lib/constants/propertyFileContent.json +0 -24
package/oclif.manifest.json
CHANGED
|
@@ -1,143 +1,411 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.3",
|
|
3
2
|
"commands": {
|
|
4
|
-
"
|
|
5
|
-
"id": "sf:provar:config:generate",
|
|
6
|
-
"summary": "Summary of a command.",
|
|
7
|
-
"description": "Generate a boilerplate property file.",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
10
|
-
"pluginAlias": "@provartesting/provardx-cli",
|
|
11
|
-
"pluginType": "core",
|
|
3
|
+
"provar:automation:config:generate": {
|
|
12
4
|
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Generates a boilerplate ProvarDX properties file.",
|
|
13
7
|
"examples": [
|
|
14
|
-
"Generates
|
|
8
|
+
"Generates a boilerplate ProvarDX properties file at the given path :\n<%= config.bin %> <%= command.id %> --properties-file 'propertiesFile path'"
|
|
15
9
|
],
|
|
16
10
|
"flags": {
|
|
17
11
|
"json": {
|
|
18
|
-
"name": "json",
|
|
19
|
-
"type": "boolean",
|
|
20
12
|
"description": "Format output as json.",
|
|
21
13
|
"helpGroup": "GLOBAL",
|
|
22
|
-
"
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
23
17
|
},
|
|
24
18
|
"properties-file": {
|
|
25
|
-
"name": "properties-file",
|
|
26
|
-
"type": "option",
|
|
27
19
|
"char": "p",
|
|
28
|
-
"
|
|
20
|
+
"name": "properties-file",
|
|
29
21
|
"required": true,
|
|
30
|
-
"
|
|
22
|
+
"summary": "Provardx-properties file path.",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
31
26
|
},
|
|
32
27
|
"no-prompt": {
|
|
33
|
-
"name": "no-prompt",
|
|
34
|
-
"type": "boolean",
|
|
35
28
|
"char": "n",
|
|
29
|
+
"name": "no-prompt",
|
|
36
30
|
"summary": "Don't prompt to confirm overwriting of the properties file if it already exists and overwrite it by default.",
|
|
37
|
-
"allowNo": false
|
|
31
|
+
"allowNo": false,
|
|
32
|
+
"type": "boolean"
|
|
38
33
|
}
|
|
39
34
|
},
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"id": "sf:provar:config:get",
|
|
44
|
-
"summary": "getting values for different properties inside dx properties.json",
|
|
45
|
-
"description": "Getting values for different properties inside PROPERTIES_FILE_PATH loaded under .sf/config.json file",
|
|
46
|
-
"strict": false,
|
|
47
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
35
|
+
"hasDynamicHelp": false,
|
|
36
|
+
"hiddenAliases": [],
|
|
37
|
+
"id": "provar:automation:config:generate",
|
|
48
38
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
39
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
49
40
|
"pluginType": "core",
|
|
41
|
+
"strict": true,
|
|
42
|
+
"summary": "Generates a boilerplate ProvarDX properties file.",
|
|
43
|
+
"enableJsonFlag": true,
|
|
44
|
+
"isESM": true,
|
|
45
|
+
"relativePath": [
|
|
46
|
+
"lib",
|
|
47
|
+
"commands",
|
|
48
|
+
"provar",
|
|
49
|
+
"automation",
|
|
50
|
+
"config",
|
|
51
|
+
"generate.js"
|
|
52
|
+
],
|
|
53
|
+
"aliasPermutations": [],
|
|
54
|
+
"permutations": [
|
|
55
|
+
"provar:automation:config:generate",
|
|
56
|
+
"automation:provar:config:generate",
|
|
57
|
+
"automation:config:provar:generate",
|
|
58
|
+
"automation:config:generate:provar",
|
|
59
|
+
"provar:config:automation:generate",
|
|
60
|
+
"config:provar:automation:generate",
|
|
61
|
+
"config:automation:provar:generate",
|
|
62
|
+
"config:automation:generate:provar",
|
|
63
|
+
"provar:config:generate:automation",
|
|
64
|
+
"config:provar:generate:automation",
|
|
65
|
+
"config:generate:provar:automation",
|
|
66
|
+
"config:generate:automation:provar",
|
|
67
|
+
"provar:automation:generate:config",
|
|
68
|
+
"automation:provar:generate:config",
|
|
69
|
+
"automation:generate:provar:config",
|
|
70
|
+
"automation:generate:config:provar",
|
|
71
|
+
"provar:generate:automation:config",
|
|
72
|
+
"generate:provar:automation:config",
|
|
73
|
+
"generate:automation:provar:config",
|
|
74
|
+
"generate:automation:config:provar",
|
|
75
|
+
"provar:generate:config:automation",
|
|
76
|
+
"generate:provar:config:automation",
|
|
77
|
+
"generate:config:provar:automation",
|
|
78
|
+
"generate:config:automation:provar"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"provar:automation:config:get": {
|
|
50
82
|
"aliases": [],
|
|
83
|
+
"args": {},
|
|
84
|
+
"description": "Retrieves a value from the loaded properties file.",
|
|
51
85
|
"examples": [
|
|
52
|
-
"
|
|
86
|
+
"Retrieves a value from the loaded properties file\n<%= config.bin %> <%= command.id %> 'key'"
|
|
53
87
|
],
|
|
54
88
|
"flags": {
|
|
55
89
|
"json": {
|
|
56
|
-
"name": "json",
|
|
57
|
-
"type": "boolean",
|
|
58
90
|
"description": "Format output as json.",
|
|
59
91
|
"helpGroup": "GLOBAL",
|
|
60
|
-
"
|
|
92
|
+
"name": "json",
|
|
93
|
+
"allowNo": false,
|
|
94
|
+
"type": "boolean"
|
|
61
95
|
}
|
|
62
96
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"id": "sf:provar:config:load",
|
|
67
|
-
"summary": "Loading provardx-properties.json into system environment variables.",
|
|
68
|
-
"description": "Loading after internally validating the provardx-properties.json file generated via config generate command",
|
|
69
|
-
"strict": true,
|
|
70
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
97
|
+
"hasDynamicHelp": false,
|
|
98
|
+
"hiddenAliases": [],
|
|
99
|
+
"id": "provar:automation:config:get",
|
|
71
100
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
101
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
72
102
|
"pluginType": "core",
|
|
103
|
+
"strict": false,
|
|
104
|
+
"summary": "Retrieves a value from the loaded properties file.",
|
|
105
|
+
"enableJsonFlag": true,
|
|
106
|
+
"isESM": true,
|
|
107
|
+
"relativePath": [
|
|
108
|
+
"lib",
|
|
109
|
+
"commands",
|
|
110
|
+
"provar",
|
|
111
|
+
"automation",
|
|
112
|
+
"config",
|
|
113
|
+
"get.js"
|
|
114
|
+
],
|
|
115
|
+
"aliasPermutations": [],
|
|
116
|
+
"permutations": [
|
|
117
|
+
"provar:automation:config:get",
|
|
118
|
+
"automation:provar:config:get",
|
|
119
|
+
"automation:config:provar:get",
|
|
120
|
+
"automation:config:get:provar",
|
|
121
|
+
"provar:config:automation:get",
|
|
122
|
+
"config:provar:automation:get",
|
|
123
|
+
"config:automation:provar:get",
|
|
124
|
+
"config:automation:get:provar",
|
|
125
|
+
"provar:config:get:automation",
|
|
126
|
+
"config:provar:get:automation",
|
|
127
|
+
"config:get:provar:automation",
|
|
128
|
+
"config:get:automation:provar",
|
|
129
|
+
"provar:automation:get:config",
|
|
130
|
+
"automation:provar:get:config",
|
|
131
|
+
"automation:get:provar:config",
|
|
132
|
+
"automation:get:config:provar",
|
|
133
|
+
"provar:get:automation:config",
|
|
134
|
+
"get:provar:automation:config",
|
|
135
|
+
"get:automation:provar:config",
|
|
136
|
+
"get:automation:config:provar",
|
|
137
|
+
"provar:get:config:automation",
|
|
138
|
+
"get:provar:config:automation",
|
|
139
|
+
"get:config:provar:automation",
|
|
140
|
+
"get:config:automation:provar"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"provar:automation:config:load": {
|
|
73
144
|
"aliases": [],
|
|
145
|
+
"args": {},
|
|
146
|
+
"description": "Validates and loads a ProvarDX properties file for later use.",
|
|
74
147
|
"examples": [
|
|
75
|
-
"loads
|
|
148
|
+
"Validates and loads a ProvarDX properties file for later use at the given path\n<%= config.bin %> <%= command.id %> --properties-file 'propertiesFile path'"
|
|
76
149
|
],
|
|
77
150
|
"flags": {
|
|
78
151
|
"json": {
|
|
79
|
-
"name": "json",
|
|
80
|
-
"type": "boolean",
|
|
81
152
|
"description": "Format output as json.",
|
|
82
153
|
"helpGroup": "GLOBAL",
|
|
83
|
-
"
|
|
154
|
+
"name": "json",
|
|
155
|
+
"allowNo": false,
|
|
156
|
+
"type": "boolean"
|
|
84
157
|
},
|
|
85
158
|
"properties-file": {
|
|
86
|
-
"name": "properties-file",
|
|
87
|
-
"type": "option",
|
|
88
159
|
"char": "p",
|
|
89
|
-
"
|
|
160
|
+
"name": "properties-file",
|
|
90
161
|
"required": true,
|
|
91
|
-
"
|
|
162
|
+
"summary": "Path of the properties file to be loaded.",
|
|
163
|
+
"hasDynamicHelp": false,
|
|
164
|
+
"multiple": false,
|
|
165
|
+
"type": "option"
|
|
92
166
|
}
|
|
93
167
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"id": "sf:provar:config:set",
|
|
98
|
-
"summary": "Setting different properties inside dx-properties.json",
|
|
99
|
-
"description": "Setting different properties inside dx-properties.json loaded under .sf/config.json file",
|
|
100
|
-
"strict": false,
|
|
101
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
168
|
+
"hasDynamicHelp": false,
|
|
169
|
+
"hiddenAliases": [],
|
|
170
|
+
"id": "provar:automation:config:load",
|
|
102
171
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
172
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
103
173
|
"pluginType": "core",
|
|
174
|
+
"strict": true,
|
|
175
|
+
"summary": "Validates and loads a ProvarDX properties file for later use.",
|
|
176
|
+
"enableJsonFlag": true,
|
|
177
|
+
"isESM": true,
|
|
178
|
+
"relativePath": [
|
|
179
|
+
"lib",
|
|
180
|
+
"commands",
|
|
181
|
+
"provar",
|
|
182
|
+
"automation",
|
|
183
|
+
"config",
|
|
184
|
+
"load.js"
|
|
185
|
+
],
|
|
186
|
+
"aliasPermutations": [],
|
|
187
|
+
"permutations": [
|
|
188
|
+
"provar:automation:config:load",
|
|
189
|
+
"automation:provar:config:load",
|
|
190
|
+
"automation:config:provar:load",
|
|
191
|
+
"automation:config:load:provar",
|
|
192
|
+
"provar:config:automation:load",
|
|
193
|
+
"config:provar:automation:load",
|
|
194
|
+
"config:automation:provar:load",
|
|
195
|
+
"config:automation:load:provar",
|
|
196
|
+
"provar:config:load:automation",
|
|
197
|
+
"config:provar:load:automation",
|
|
198
|
+
"config:load:provar:automation",
|
|
199
|
+
"config:load:automation:provar",
|
|
200
|
+
"provar:automation:load:config",
|
|
201
|
+
"automation:provar:load:config",
|
|
202
|
+
"automation:load:provar:config",
|
|
203
|
+
"automation:load:config:provar",
|
|
204
|
+
"provar:load:automation:config",
|
|
205
|
+
"load:provar:automation:config",
|
|
206
|
+
"load:automation:provar:config",
|
|
207
|
+
"load:automation:config:provar",
|
|
208
|
+
"provar:load:config:automation",
|
|
209
|
+
"load:provar:config:automation",
|
|
210
|
+
"load:config:provar:automation",
|
|
211
|
+
"load:config:automation:provar"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
"provar:automation:config:set": {
|
|
104
215
|
"aliases": [],
|
|
216
|
+
"args": {},
|
|
217
|
+
"description": "Sets a property in the loaded properties file.",
|
|
105
218
|
"examples": [
|
|
106
|
-
"
|
|
219
|
+
"Sets a property in the loaded properties file with resp. values\n<%= config.bin %> <%= command.id %> 'key'='value'"
|
|
107
220
|
],
|
|
108
221
|
"flags": {
|
|
109
222
|
"json": {
|
|
110
|
-
"name": "json",
|
|
111
|
-
"type": "boolean",
|
|
112
223
|
"description": "Format output as json.",
|
|
113
224
|
"helpGroup": "GLOBAL",
|
|
114
|
-
"
|
|
225
|
+
"name": "json",
|
|
226
|
+
"allowNo": false,
|
|
227
|
+
"type": "boolean"
|
|
115
228
|
}
|
|
116
229
|
},
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"id": "sf:provar:config:validate",
|
|
121
|
-
"summary": "Validate the loaded provardx-properties.json against schema.",
|
|
122
|
-
"description": "Validating provardx-properties.json against the schema for all the needed properties with their expected values.",
|
|
123
|
-
"strict": true,
|
|
124
|
-
"pluginName": "@provartesting/provardx-cli",
|
|
230
|
+
"hasDynamicHelp": false,
|
|
231
|
+
"hiddenAliases": [],
|
|
232
|
+
"id": "provar:automation:config:set",
|
|
125
233
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
234
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
126
235
|
"pluginType": "core",
|
|
236
|
+
"strict": false,
|
|
237
|
+
"summary": "Sets a property in the loaded properties file.",
|
|
238
|
+
"enableJsonFlag": true,
|
|
239
|
+
"isESM": true,
|
|
240
|
+
"relativePath": [
|
|
241
|
+
"lib",
|
|
242
|
+
"commands",
|
|
243
|
+
"provar",
|
|
244
|
+
"automation",
|
|
245
|
+
"config",
|
|
246
|
+
"set.js"
|
|
247
|
+
],
|
|
248
|
+
"aliasPermutations": [],
|
|
249
|
+
"permutations": [
|
|
250
|
+
"provar:automation:config:set",
|
|
251
|
+
"automation:provar:config:set",
|
|
252
|
+
"automation:config:provar:set",
|
|
253
|
+
"automation:config:set:provar",
|
|
254
|
+
"provar:config:automation:set",
|
|
255
|
+
"config:provar:automation:set",
|
|
256
|
+
"config:automation:provar:set",
|
|
257
|
+
"config:automation:set:provar",
|
|
258
|
+
"provar:config:set:automation",
|
|
259
|
+
"config:provar:set:automation",
|
|
260
|
+
"config:set:provar:automation",
|
|
261
|
+
"config:set:automation:provar",
|
|
262
|
+
"provar:automation:set:config",
|
|
263
|
+
"automation:provar:set:config",
|
|
264
|
+
"automation:set:provar:config",
|
|
265
|
+
"automation:set:config:provar",
|
|
266
|
+
"provar:set:automation:config",
|
|
267
|
+
"set:provar:automation:config",
|
|
268
|
+
"set:automation:provar:config",
|
|
269
|
+
"set:automation:config:provar",
|
|
270
|
+
"provar:set:config:automation",
|
|
271
|
+
"set:provar:config:automation",
|
|
272
|
+
"set:config:provar:automation",
|
|
273
|
+
"set:config:automation:provar"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"provar:automation:config:validate": {
|
|
127
277
|
"aliases": [],
|
|
278
|
+
"args": {},
|
|
279
|
+
"description": "Checks if the loaded properties file has all the required properties set.",
|
|
128
280
|
"examples": [
|
|
129
|
-
"
|
|
281
|
+
"Checks if the loaded properties file has all the required properties set\n<%= config.bin %> <%= command.id %>'"
|
|
130
282
|
],
|
|
131
283
|
"flags": {
|
|
132
284
|
"json": {
|
|
285
|
+
"description": "Format output as json.",
|
|
286
|
+
"helpGroup": "GLOBAL",
|
|
133
287
|
"name": "json",
|
|
134
|
-
"
|
|
288
|
+
"allowNo": false,
|
|
289
|
+
"type": "boolean"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"hasDynamicHelp": false,
|
|
293
|
+
"hiddenAliases": [],
|
|
294
|
+
"id": "provar:automation:config:validate",
|
|
295
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
296
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
297
|
+
"pluginType": "core",
|
|
298
|
+
"strict": true,
|
|
299
|
+
"summary": "Checks if the loaded properties file has all the required properties set.",
|
|
300
|
+
"enableJsonFlag": true,
|
|
301
|
+
"isESM": true,
|
|
302
|
+
"relativePath": [
|
|
303
|
+
"lib",
|
|
304
|
+
"commands",
|
|
305
|
+
"provar",
|
|
306
|
+
"automation",
|
|
307
|
+
"config",
|
|
308
|
+
"validate.js"
|
|
309
|
+
],
|
|
310
|
+
"aliasPermutations": [],
|
|
311
|
+
"permutations": [
|
|
312
|
+
"provar:automation:config:validate",
|
|
313
|
+
"automation:provar:config:validate",
|
|
314
|
+
"automation:config:provar:validate",
|
|
315
|
+
"automation:config:validate:provar",
|
|
316
|
+
"provar:config:automation:validate",
|
|
317
|
+
"config:provar:automation:validate",
|
|
318
|
+
"config:automation:provar:validate",
|
|
319
|
+
"config:automation:validate:provar",
|
|
320
|
+
"provar:config:validate:automation",
|
|
321
|
+
"config:provar:validate:automation",
|
|
322
|
+
"config:validate:provar:automation",
|
|
323
|
+
"config:validate:automation:provar",
|
|
324
|
+
"provar:automation:validate:config",
|
|
325
|
+
"automation:provar:validate:config",
|
|
326
|
+
"automation:validate:provar:config",
|
|
327
|
+
"automation:validate:config:provar",
|
|
328
|
+
"provar:validate:automation:config",
|
|
329
|
+
"validate:provar:automation:config",
|
|
330
|
+
"validate:automation:provar:config",
|
|
331
|
+
"validate:automation:config:provar",
|
|
332
|
+
"provar:validate:config:automation",
|
|
333
|
+
"validate:provar:config:automation",
|
|
334
|
+
"validate:config:provar:automation",
|
|
335
|
+
"validate:config:automation:provar"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"provar:automation:metadata:download": {
|
|
339
|
+
"aliases": [],
|
|
340
|
+
"args": {},
|
|
341
|
+
"description": "Download any required metadata for a specified Provar Salesforce connection.",
|
|
342
|
+
"examples": [
|
|
343
|
+
"<%= config.bin %> <%= command.id %>"
|
|
344
|
+
],
|
|
345
|
+
"flags": {
|
|
346
|
+
"json": {
|
|
135
347
|
"description": "Format output as json.",
|
|
136
348
|
"helpGroup": "GLOBAL",
|
|
137
|
-
"
|
|
349
|
+
"name": "json",
|
|
350
|
+
"allowNo": false,
|
|
351
|
+
"type": "boolean"
|
|
352
|
+
},
|
|
353
|
+
"connections": {
|
|
354
|
+
"char": "c",
|
|
355
|
+
"name": "connections",
|
|
356
|
+
"required": true,
|
|
357
|
+
"summary": "Comma-separated list of names of Provar Salesforce connections to use, as defined in the project.",
|
|
358
|
+
"hasDynamicHelp": false,
|
|
359
|
+
"multiple": false,
|
|
360
|
+
"type": "option"
|
|
138
361
|
}
|
|
139
362
|
},
|
|
140
|
-
"
|
|
363
|
+
"hasDynamicHelp": false,
|
|
364
|
+
"hiddenAliases": [],
|
|
365
|
+
"id": "provar:automation:metadata:download",
|
|
366
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
367
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
368
|
+
"pluginType": "core",
|
|
369
|
+
"strict": true,
|
|
370
|
+
"summary": "Download any required metadata for a specified Provar Salesforce connection.",
|
|
371
|
+
"enableJsonFlag": true,
|
|
372
|
+
"isESM": true,
|
|
373
|
+
"relativePath": [
|
|
374
|
+
"lib",
|
|
375
|
+
"commands",
|
|
376
|
+
"provar",
|
|
377
|
+
"automation",
|
|
378
|
+
"metadata",
|
|
379
|
+
"download.js"
|
|
380
|
+
],
|
|
381
|
+
"aliasPermutations": [],
|
|
382
|
+
"permutations": [
|
|
383
|
+
"provar:automation:metadata:download",
|
|
384
|
+
"automation:provar:metadata:download",
|
|
385
|
+
"automation:metadata:provar:download",
|
|
386
|
+
"automation:metadata:download:provar",
|
|
387
|
+
"provar:metadata:automation:download",
|
|
388
|
+
"metadata:provar:automation:download",
|
|
389
|
+
"metadata:automation:provar:download",
|
|
390
|
+
"metadata:automation:download:provar",
|
|
391
|
+
"provar:metadata:download:automation",
|
|
392
|
+
"metadata:provar:download:automation",
|
|
393
|
+
"metadata:download:provar:automation",
|
|
394
|
+
"metadata:download:automation:provar",
|
|
395
|
+
"provar:automation:download:metadata",
|
|
396
|
+
"automation:provar:download:metadata",
|
|
397
|
+
"automation:download:provar:metadata",
|
|
398
|
+
"automation:download:metadata:provar",
|
|
399
|
+
"provar:download:automation:metadata",
|
|
400
|
+
"download:provar:automation:metadata",
|
|
401
|
+
"download:automation:provar:metadata",
|
|
402
|
+
"download:automation:metadata:provar",
|
|
403
|
+
"provar:download:metadata:automation",
|
|
404
|
+
"download:provar:metadata:automation",
|
|
405
|
+
"download:metadata:provar:automation",
|
|
406
|
+
"download:metadata:automation:provar"
|
|
407
|
+
]
|
|
141
408
|
}
|
|
142
|
-
}
|
|
409
|
+
},
|
|
410
|
+
"version": "0.0.5"
|
|
143
411
|
}
|
package/package.json
CHANGED
|
@@ -1,43 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provartesting/provardx-cli",
|
|
3
3
|
"description": "A plugin for the Salesforce CLI to orchestrate testing activities and report quality metrics to Provar Manager",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@oclif/core": "^
|
|
8
|
-
"@salesforce/core": "^5.
|
|
9
|
-
"@salesforce/kit": "^3.0.
|
|
10
|
-
"@salesforce/sf-plugins-core": "^
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
7
|
+
"@oclif/core": "^3.18.1",
|
|
8
|
+
"@salesforce/core": "^6.5.1",
|
|
9
|
+
"@salesforce/kit": "^3.0.15",
|
|
10
|
+
"@salesforce/sf-plugins-core": "^7.1.4",
|
|
11
|
+
"@salesforce/ts-types": "^2.0.9",
|
|
12
|
+
"cli-ux": "^6.0.9",
|
|
13
|
+
"jsonschema": "^1.4.1"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@
|
|
17
|
-
"@salesforce/
|
|
18
|
-
"@salesforce/dev-scripts": "^
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"@types/chai": "^4.3.10",
|
|
23
|
-
"@types/inquirer": "^9.0.3",
|
|
24
|
-
"@types/mocha": "^10.0.4",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
26
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
27
|
-
"chai": "^4.3.10",
|
|
28
|
-
"eslint": "^8.50.0",
|
|
29
|
-
"eslint-config-prettier": "^8.5.0",
|
|
30
|
-
"eslint-config-salesforce": "^2.0.2",
|
|
31
|
-
"eslint-config-salesforce-typescript": "^1.1.2",
|
|
32
|
-
"eslint-plugin-import": "2.28.1",
|
|
33
|
-
"eslint-plugin-jsdoc": "^46.4.6",
|
|
34
|
-
"eslint-plugin-sf-plugin": "^1.16.2",
|
|
35
|
-
"husky": "^7.0.4",
|
|
36
|
-
"mocha": "^9.2.2",
|
|
37
|
-
"nyc": "^15.1.0",
|
|
38
|
-
"oclif": "^3.17.2",
|
|
39
|
-
"prettier": "^2.8.8",
|
|
40
|
-
"pretty-quick": "^3.1.3",
|
|
16
|
+
"@oclif/plugin-command-snapshot": "^5.0.2",
|
|
17
|
+
"@salesforce/cli-plugins-testkit": "^5.1.7",
|
|
18
|
+
"@salesforce/dev-scripts": "^8.3.0",
|
|
19
|
+
"eslint-plugin-sf-plugin": "^1.17.2",
|
|
20
|
+
"mochawesome": "^7.1.3",
|
|
21
|
+
"oclif": "^4.3.4",
|
|
41
22
|
"shx": "0.3.4",
|
|
42
23
|
"sinon": "10.0.0",
|
|
43
24
|
"ts-node": "^10.9.1",
|
|
@@ -45,7 +26,7 @@
|
|
|
45
26
|
"wireit": "^0.14.0"
|
|
46
27
|
},
|
|
47
28
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
29
|
+
"node": ">=18.0.0"
|
|
49
30
|
},
|
|
50
31
|
"files": [
|
|
51
32
|
"/lib",
|
|
@@ -55,13 +36,12 @@
|
|
|
55
36
|
"keywords": [
|
|
56
37
|
"force",
|
|
57
38
|
"salesforce",
|
|
58
|
-
"sfdx",
|
|
59
39
|
"salesforcedx",
|
|
60
|
-
"
|
|
40
|
+
"sf",
|
|
61
41
|
"sf-plugin",
|
|
62
|
-
"
|
|
42
|
+
"sfdx",
|
|
43
|
+
"sfdx-plugin"
|
|
63
44
|
],
|
|
64
|
-
"main": "lib/index.js",
|
|
65
45
|
"oclif": {
|
|
66
46
|
"commands": "./lib/commands",
|
|
67
47
|
"bin": "sf",
|
|
@@ -70,20 +50,26 @@
|
|
|
70
50
|
"@oclif/plugin-help"
|
|
71
51
|
],
|
|
72
52
|
"topics": {
|
|
73
|
-
"
|
|
74
|
-
"description": "commands to
|
|
53
|
+
"provar": {
|
|
54
|
+
"description": "CLI commands to interact with Provar.",
|
|
75
55
|
"subtopics": {
|
|
76
|
-
"
|
|
77
|
-
"description": "commands
|
|
56
|
+
"automation": {
|
|
57
|
+
"description": "These commands are used to interact with Provar Automation.",
|
|
78
58
|
"subtopics": {
|
|
79
59
|
"config": {
|
|
80
|
-
"description": "commands to generate and manipulate provardx-properties file"
|
|
60
|
+
"description": "commands to generate and manipulate provardx-properties file."
|
|
61
|
+
},
|
|
62
|
+
"subtopics": {
|
|
63
|
+
"metadata": {
|
|
64
|
+
"description": "commands to download metadata for required connections."
|
|
65
|
+
}
|
|
81
66
|
}
|
|
82
67
|
}
|
|
83
68
|
}
|
|
84
69
|
}
|
|
85
70
|
}
|
|
86
|
-
}
|
|
71
|
+
},
|
|
72
|
+
"flexibleTaxonomy": true
|
|
87
73
|
},
|
|
88
74
|
"scripts": {
|
|
89
75
|
"build": "wireit",
|
|
@@ -147,9 +133,10 @@
|
|
|
147
133
|
"output": []
|
|
148
134
|
},
|
|
149
135
|
"test:compile": {
|
|
150
|
-
"command": "tsc -p \"./test\" --pretty
|
|
136
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
151
137
|
"files": [
|
|
152
|
-
"test/**/*.ts"
|
|
138
|
+
"test/**/*.ts",
|
|
139
|
+
"**/tsconfig.json"
|
|
153
140
|
],
|
|
154
141
|
"output": []
|
|
155
142
|
},
|
|
@@ -204,5 +191,7 @@
|
|
|
204
191
|
],
|
|
205
192
|
"output": []
|
|
206
193
|
}
|
|
207
|
-
}
|
|
208
|
-
|
|
194
|
+
},
|
|
195
|
+
"exports": "./lib/index.js",
|
|
196
|
+
"type": "module"
|
|
197
|
+
}
|