@kitalive/sfdx-plugin 1.0.0 → 1.0.1
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 +14 -14
- package/lib/bulk.js +220 -0
- package/lib/bulk.js.map +1 -0
- package/lib/commands/kit/data/bulk/delete.js +105 -0
- package/lib/commands/kit/data/bulk/delete.js.map +1 -0
- package/lib/commands/kit/data/bulk/insert.js +7 -0
- package/lib/commands/kit/data/bulk/insert.js.map +1 -0
- package/lib/commands/kit/data/bulk/query.js +70 -0
- package/lib/commands/kit/data/bulk/query.js.map +1 -0
- package/lib/commands/kit/data/bulk/update.js +7 -0
- package/lib/commands/kit/data/bulk/update.js.map +1 -0
- package/lib/commands/kit/data/bulk/upsert.js +22 -0
- package/lib/commands/kit/data/bulk/upsert.js.map +1 -0
- package/lib/commands/kit/data/csv/convert.js +154 -0
- package/lib/commands/kit/data/csv/convert.js.map +1 -0
- package/lib/commands/kit/graphql/editor.js +37 -0
- package/lib/commands/kit/graphql/editor.js.map +1 -0
- package/lib/commands/kit/layout/assignments/deploy.js +35 -0
- package/lib/commands/kit/layout/assignments/deploy.js.map +1 -0
- package/lib/commands/kit/layout/assignments/retrieve.js +124 -0
- package/lib/commands/kit/layout/assignments/retrieve.js.map +1 -0
- package/lib/commands/kit/metadata/dependencies.js +182 -0
- package/lib/commands/kit/metadata/dependencies.js.map +1 -0
- package/lib/commands/kit/object/fields/describe.js +84 -0
- package/lib/commands/kit/object/fields/describe.js.map +1 -0
- package/lib/commands/kit/object/fields/setup.js +261 -0
- package/lib/commands/kit/object/fields/setup.js.map +1 -0
- package/lib/commands/kit/script/execute.js +73 -0
- package/lib/commands/kit/script/execute.js.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/metadata.js +82 -0
- package/lib/metadata.js.map +1 -0
- package/lib/server.js +43 -0
- package/lib/server.js.map +1 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/lib/utils.js +87 -0
- package/lib/utils.js.map +1 -0
- package/oclif.manifest.json +1846 -2
- package/package.json +1 -2
package/oclif.manifest.json
CHANGED
|
@@ -1,4 +1,1848 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commands": {
|
|
3
|
-
|
|
2
|
+
"commands": {
|
|
3
|
+
"kit:graphql:editor": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "It can interact with Salesforce GraphQL API using [GraphiQL](https://github.com/graphql/graphiql)",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %>",
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --port 8080"
|
|
10
|
+
],
|
|
11
|
+
"flags": {
|
|
12
|
+
"json": {
|
|
13
|
+
"description": "Format output as json.",
|
|
14
|
+
"helpGroup": "GLOBAL",
|
|
15
|
+
"name": "json",
|
|
16
|
+
"allowNo": false,
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"flags-dir": {
|
|
20
|
+
"helpGroup": "GLOBAL",
|
|
21
|
+
"name": "flags-dir",
|
|
22
|
+
"summary": "Import flag values from a directory.",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
},
|
|
27
|
+
"browser": {
|
|
28
|
+
"char": "b",
|
|
29
|
+
"name": "browser",
|
|
30
|
+
"summary": "browser to use",
|
|
31
|
+
"hasDynamicHelp": false,
|
|
32
|
+
"multiple": false,
|
|
33
|
+
"options": [
|
|
34
|
+
"chrome",
|
|
35
|
+
"firefox",
|
|
36
|
+
"edge"
|
|
37
|
+
],
|
|
38
|
+
"type": "option"
|
|
39
|
+
},
|
|
40
|
+
"port": {
|
|
41
|
+
"char": "p",
|
|
42
|
+
"name": "port",
|
|
43
|
+
"summary": "local server port number",
|
|
44
|
+
"default": 3000,
|
|
45
|
+
"hasDynamicHelp": false,
|
|
46
|
+
"multiple": false,
|
|
47
|
+
"type": "option"
|
|
48
|
+
},
|
|
49
|
+
"target-org": {
|
|
50
|
+
"char": "o",
|
|
51
|
+
"name": "target-org",
|
|
52
|
+
"noCacheDefault": true,
|
|
53
|
+
"required": true,
|
|
54
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
55
|
+
"hasDynamicHelp": true,
|
|
56
|
+
"multiple": false,
|
|
57
|
+
"type": "option"
|
|
58
|
+
},
|
|
59
|
+
"api-version": {
|
|
60
|
+
"description": "Override the api version used for api requests made by this command",
|
|
61
|
+
"name": "api-version",
|
|
62
|
+
"hasDynamicHelp": false,
|
|
63
|
+
"multiple": false,
|
|
64
|
+
"type": "option"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"hasDynamicHelp": true,
|
|
68
|
+
"hiddenAliases": [],
|
|
69
|
+
"id": "kit:graphql:editor",
|
|
70
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
71
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
72
|
+
"pluginType": "core",
|
|
73
|
+
"strict": true,
|
|
74
|
+
"summary": "Open the GraphQL Editor in a browser",
|
|
75
|
+
"enableJsonFlag": true,
|
|
76
|
+
"isESM": true,
|
|
77
|
+
"relativePath": [
|
|
78
|
+
"lib",
|
|
79
|
+
"commands",
|
|
80
|
+
"kit",
|
|
81
|
+
"graphql",
|
|
82
|
+
"editor.js"
|
|
83
|
+
],
|
|
84
|
+
"aliasPermutations": [],
|
|
85
|
+
"permutations": [
|
|
86
|
+
"kit:graphql:editor",
|
|
87
|
+
"graphql:kit:editor",
|
|
88
|
+
"graphql:editor:kit",
|
|
89
|
+
"kit:editor:graphql",
|
|
90
|
+
"editor:kit:graphql",
|
|
91
|
+
"editor:graphql:kit"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"kit:metadata:dependencies": {
|
|
95
|
+
"aliases": [],
|
|
96
|
+
"args": {},
|
|
97
|
+
"examples": [
|
|
98
|
+
"<%= config.bin %> <%= command.id %>"
|
|
99
|
+
],
|
|
100
|
+
"flags": {
|
|
101
|
+
"json": {
|
|
102
|
+
"description": "Format output as json.",
|
|
103
|
+
"helpGroup": "GLOBAL",
|
|
104
|
+
"name": "json",
|
|
105
|
+
"allowNo": false,
|
|
106
|
+
"type": "boolean"
|
|
107
|
+
},
|
|
108
|
+
"flags-dir": {
|
|
109
|
+
"helpGroup": "GLOBAL",
|
|
110
|
+
"name": "flags-dir",
|
|
111
|
+
"summary": "Import flag values from a directory.",
|
|
112
|
+
"hasDynamicHelp": false,
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"type": "option"
|
|
115
|
+
},
|
|
116
|
+
"browser": {
|
|
117
|
+
"char": "b",
|
|
118
|
+
"name": "browser",
|
|
119
|
+
"summary": "browser to use",
|
|
120
|
+
"hasDynamicHelp": false,
|
|
121
|
+
"multiple": false,
|
|
122
|
+
"options": [
|
|
123
|
+
"chrome",
|
|
124
|
+
"firefox",
|
|
125
|
+
"edge"
|
|
126
|
+
],
|
|
127
|
+
"type": "option"
|
|
128
|
+
},
|
|
129
|
+
"port": {
|
|
130
|
+
"char": "p",
|
|
131
|
+
"name": "port",
|
|
132
|
+
"summary": "local server port number",
|
|
133
|
+
"default": 3000,
|
|
134
|
+
"hasDynamicHelp": false,
|
|
135
|
+
"multiple": false,
|
|
136
|
+
"type": "option"
|
|
137
|
+
},
|
|
138
|
+
"target-org": {
|
|
139
|
+
"char": "o",
|
|
140
|
+
"name": "target-org",
|
|
141
|
+
"noCacheDefault": true,
|
|
142
|
+
"required": true,
|
|
143
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
144
|
+
"hasDynamicHelp": true,
|
|
145
|
+
"multiple": false,
|
|
146
|
+
"type": "option"
|
|
147
|
+
},
|
|
148
|
+
"api-version": {
|
|
149
|
+
"description": "Override the api version used for api requests made by this command",
|
|
150
|
+
"name": "api-version",
|
|
151
|
+
"hasDynamicHelp": false,
|
|
152
|
+
"multiple": false,
|
|
153
|
+
"type": "option"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"hasDynamicHelp": true,
|
|
157
|
+
"hiddenAliases": [],
|
|
158
|
+
"id": "kit:metadata:dependencies",
|
|
159
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
160
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
161
|
+
"pluginType": "core",
|
|
162
|
+
"strict": true,
|
|
163
|
+
"summary": "Analyze metadata dependencies",
|
|
164
|
+
"enableJsonFlag": true,
|
|
165
|
+
"isESM": true,
|
|
166
|
+
"relativePath": [
|
|
167
|
+
"lib",
|
|
168
|
+
"commands",
|
|
169
|
+
"kit",
|
|
170
|
+
"metadata",
|
|
171
|
+
"dependencies.js"
|
|
172
|
+
],
|
|
173
|
+
"aliasPermutations": [],
|
|
174
|
+
"permutations": [
|
|
175
|
+
"kit:metadata:dependencies",
|
|
176
|
+
"metadata:kit:dependencies",
|
|
177
|
+
"metadata:dependencies:kit",
|
|
178
|
+
"kit:dependencies:metadata",
|
|
179
|
+
"dependencies:kit:metadata",
|
|
180
|
+
"dependencies:metadata:kit"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"kit:script:execute": {
|
|
184
|
+
"aliases": [
|
|
185
|
+
"kit:script"
|
|
186
|
+
],
|
|
187
|
+
"args": {},
|
|
188
|
+
"description": "Available variables in Node.js scripts\n\n- argv: Parsed command line arguments after the file option\n- conn: jsforce Connection\n- context: SfCommand",
|
|
189
|
+
"examples": [
|
|
190
|
+
"Execute from js file:\n<%= config.bin %> <%= command.id %> -f ./path/to/script.js",
|
|
191
|
+
"Execute from js file with arguments:\n<%= config.bin %> <%= command.id %> -f ./path/to/script.js -- --opt1 val1 --opt2 val2 arg1 arg2",
|
|
192
|
+
"Execute in REPL mode:\n<%= config.bin %> <%= command.id %> -o target-org",
|
|
193
|
+
"query a account from org in REPL\n> await conn.query('SELECT Id, Name FROM Account LIMIT 1')"
|
|
194
|
+
],
|
|
195
|
+
"flags": {
|
|
196
|
+
"json": {
|
|
197
|
+
"description": "Format output as json.",
|
|
198
|
+
"helpGroup": "GLOBAL",
|
|
199
|
+
"name": "json",
|
|
200
|
+
"allowNo": false,
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"flags-dir": {
|
|
204
|
+
"helpGroup": "GLOBAL",
|
|
205
|
+
"name": "flags-dir",
|
|
206
|
+
"summary": "Import flag values from a directory.",
|
|
207
|
+
"hasDynamicHelp": false,
|
|
208
|
+
"multiple": false,
|
|
209
|
+
"type": "option"
|
|
210
|
+
},
|
|
211
|
+
"file": {
|
|
212
|
+
"char": "f",
|
|
213
|
+
"name": "file",
|
|
214
|
+
"summary": "The path of the Node.js script file to execute.",
|
|
215
|
+
"hasDynamicHelp": false,
|
|
216
|
+
"multiple": false,
|
|
217
|
+
"type": "option"
|
|
218
|
+
},
|
|
219
|
+
"target-org": {
|
|
220
|
+
"char": "o",
|
|
221
|
+
"name": "target-org",
|
|
222
|
+
"noCacheDefault": true,
|
|
223
|
+
"summary": "Username or alias of the target org.",
|
|
224
|
+
"hasDynamicHelp": true,
|
|
225
|
+
"multiple": false,
|
|
226
|
+
"type": "option"
|
|
227
|
+
},
|
|
228
|
+
"api-version": {
|
|
229
|
+
"description": "Override the api version used for api requests made by this command",
|
|
230
|
+
"name": "api-version",
|
|
231
|
+
"hasDynamicHelp": false,
|
|
232
|
+
"multiple": false,
|
|
233
|
+
"type": "option"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"hasDynamicHelp": true,
|
|
237
|
+
"hiddenAliases": [],
|
|
238
|
+
"id": "kit:script:execute",
|
|
239
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
240
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
241
|
+
"pluginType": "core",
|
|
242
|
+
"strict": false,
|
|
243
|
+
"summary": "Execute Node.js scripts in SfCommand context.",
|
|
244
|
+
"enableJsonFlag": true,
|
|
245
|
+
"isESM": true,
|
|
246
|
+
"relativePath": [
|
|
247
|
+
"lib",
|
|
248
|
+
"commands",
|
|
249
|
+
"kit",
|
|
250
|
+
"script",
|
|
251
|
+
"execute.js"
|
|
252
|
+
],
|
|
253
|
+
"aliasPermutations": [
|
|
254
|
+
"kit:script",
|
|
255
|
+
"script:kit"
|
|
256
|
+
],
|
|
257
|
+
"permutations": [
|
|
258
|
+
"kit:script:execute",
|
|
259
|
+
"script:kit:execute",
|
|
260
|
+
"script:execute:kit",
|
|
261
|
+
"kit:execute:script",
|
|
262
|
+
"execute:kit:script",
|
|
263
|
+
"execute:script:kit"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"kit:data:bulk:delete": {
|
|
267
|
+
"aliases": [],
|
|
268
|
+
"args": {},
|
|
269
|
+
"examples": [
|
|
270
|
+
"Delete Opportunity records with CloseDate older than 2 years:\n<%= config.bin %> <%= command.id %> -q \"SELECT Id FROM Opportunity WHERE CloseDate < LAST_N_YEARS:2\""
|
|
271
|
+
],
|
|
272
|
+
"flags": {
|
|
273
|
+
"json": {
|
|
274
|
+
"description": "Format output as json.",
|
|
275
|
+
"helpGroup": "GLOBAL",
|
|
276
|
+
"name": "json",
|
|
277
|
+
"allowNo": false,
|
|
278
|
+
"type": "boolean"
|
|
279
|
+
},
|
|
280
|
+
"flags-dir": {
|
|
281
|
+
"helpGroup": "GLOBAL",
|
|
282
|
+
"name": "flags-dir",
|
|
283
|
+
"summary": "Import flag values from a directory.",
|
|
284
|
+
"hasDynamicHelp": false,
|
|
285
|
+
"multiple": false,
|
|
286
|
+
"type": "option"
|
|
287
|
+
},
|
|
288
|
+
"query": {
|
|
289
|
+
"char": "q",
|
|
290
|
+
"name": "query",
|
|
291
|
+
"required": true,
|
|
292
|
+
"summary": "SOQL query to delete",
|
|
293
|
+
"hasDynamicHelp": false,
|
|
294
|
+
"multiple": false,
|
|
295
|
+
"type": "option"
|
|
296
|
+
},
|
|
297
|
+
"hard": {
|
|
298
|
+
"name": "hard",
|
|
299
|
+
"summary": "Perform a hard delete",
|
|
300
|
+
"allowNo": false,
|
|
301
|
+
"type": "boolean"
|
|
302
|
+
},
|
|
303
|
+
"concurrency-mode": {
|
|
304
|
+
"aliases": [
|
|
305
|
+
"concurrencymode"
|
|
306
|
+
],
|
|
307
|
+
"deprecateAliases": true,
|
|
308
|
+
"name": "concurrency-mode",
|
|
309
|
+
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
310
|
+
"default": "Parallel",
|
|
311
|
+
"hasDynamicHelp": false,
|
|
312
|
+
"multiple": false,
|
|
313
|
+
"options": [
|
|
314
|
+
"Serial",
|
|
315
|
+
"Parallel"
|
|
316
|
+
],
|
|
317
|
+
"type": "option"
|
|
318
|
+
},
|
|
319
|
+
"batch-size": {
|
|
320
|
+
"aliases": [
|
|
321
|
+
"batchsize"
|
|
322
|
+
],
|
|
323
|
+
"char": "s",
|
|
324
|
+
"deprecateAliases": true,
|
|
325
|
+
"name": "batch-size",
|
|
326
|
+
"summary": "The batch size of the job",
|
|
327
|
+
"default": 10000,
|
|
328
|
+
"hasDynamicHelp": false,
|
|
329
|
+
"multiple": false,
|
|
330
|
+
"type": "option"
|
|
331
|
+
},
|
|
332
|
+
"wait": {
|
|
333
|
+
"char": "w",
|
|
334
|
+
"name": "wait",
|
|
335
|
+
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
336
|
+
"default": 0,
|
|
337
|
+
"hasDynamicHelp": false,
|
|
338
|
+
"multiple": false,
|
|
339
|
+
"type": "option"
|
|
340
|
+
},
|
|
341
|
+
"target-org": {
|
|
342
|
+
"char": "o",
|
|
343
|
+
"name": "target-org",
|
|
344
|
+
"noCacheDefault": true,
|
|
345
|
+
"required": true,
|
|
346
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
347
|
+
"hasDynamicHelp": true,
|
|
348
|
+
"multiple": false,
|
|
349
|
+
"type": "option"
|
|
350
|
+
},
|
|
351
|
+
"api-version": {
|
|
352
|
+
"description": "Override the api version used for api requests made by this command",
|
|
353
|
+
"name": "api-version",
|
|
354
|
+
"hasDynamicHelp": false,
|
|
355
|
+
"multiple": false,
|
|
356
|
+
"type": "option"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"hasDynamicHelp": true,
|
|
360
|
+
"hiddenAliases": [],
|
|
361
|
+
"id": "kit:data:bulk:delete",
|
|
362
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
363
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
364
|
+
"pluginType": "core",
|
|
365
|
+
"strict": true,
|
|
366
|
+
"summary": "Bulk delete records by SOQL select query.",
|
|
367
|
+
"enableJsonFlag": true,
|
|
368
|
+
"isESM": true,
|
|
369
|
+
"relativePath": [
|
|
370
|
+
"lib",
|
|
371
|
+
"commands",
|
|
372
|
+
"kit",
|
|
373
|
+
"data",
|
|
374
|
+
"bulk",
|
|
375
|
+
"delete.js"
|
|
376
|
+
],
|
|
377
|
+
"aliasPermutations": [],
|
|
378
|
+
"permutations": [
|
|
379
|
+
"kit:data:bulk:delete",
|
|
380
|
+
"data:kit:bulk:delete",
|
|
381
|
+
"data:bulk:kit:delete",
|
|
382
|
+
"data:bulk:delete:kit",
|
|
383
|
+
"kit:bulk:data:delete",
|
|
384
|
+
"bulk:kit:data:delete",
|
|
385
|
+
"bulk:data:kit:delete",
|
|
386
|
+
"bulk:data:delete:kit",
|
|
387
|
+
"kit:bulk:delete:data",
|
|
388
|
+
"bulk:kit:delete:data",
|
|
389
|
+
"bulk:delete:kit:data",
|
|
390
|
+
"bulk:delete:data:kit",
|
|
391
|
+
"kit:data:delete:bulk",
|
|
392
|
+
"data:kit:delete:bulk",
|
|
393
|
+
"data:delete:kit:bulk",
|
|
394
|
+
"data:delete:bulk:kit",
|
|
395
|
+
"kit:delete:data:bulk",
|
|
396
|
+
"delete:kit:data:bulk",
|
|
397
|
+
"delete:data:kit:bulk",
|
|
398
|
+
"delete:data:bulk:kit",
|
|
399
|
+
"kit:delete:bulk:data",
|
|
400
|
+
"delete:kit:bulk:data",
|
|
401
|
+
"delete:bulk:kit:data",
|
|
402
|
+
"delete:bulk:data:kit"
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"kit:data:bulk:insert": {
|
|
406
|
+
"aliases": [],
|
|
407
|
+
"args": {},
|
|
408
|
+
"description": "For information about CSV file formats, see [Prepare CSV Files](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) in the Bulk API Developer Guide.",
|
|
409
|
+
"examples": [
|
|
410
|
+
"Insert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
411
|
+
"%s MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
|
|
412
|
+
],
|
|
413
|
+
"flags": {
|
|
414
|
+
"sobject": {
|
|
415
|
+
"char": "s",
|
|
416
|
+
"name": "sobject",
|
|
417
|
+
"required": true,
|
|
418
|
+
"summary": "The SObject name to insert",
|
|
419
|
+
"hasDynamicHelp": false,
|
|
420
|
+
"multiple": false,
|
|
421
|
+
"type": "option"
|
|
422
|
+
},
|
|
423
|
+
"csv-file": {
|
|
424
|
+
"aliases": [
|
|
425
|
+
"csvfile"
|
|
426
|
+
],
|
|
427
|
+
"char": "f",
|
|
428
|
+
"deprecateAliases": true,
|
|
429
|
+
"name": "csv-file",
|
|
430
|
+
"required": true,
|
|
431
|
+
"summary": "The CSV file path that defines the records to insert",
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"multiple": false,
|
|
434
|
+
"type": "option"
|
|
435
|
+
},
|
|
436
|
+
"result-file": {
|
|
437
|
+
"aliases": [
|
|
438
|
+
"resultfile"
|
|
439
|
+
],
|
|
440
|
+
"char": "r",
|
|
441
|
+
"deprecateAliases": true,
|
|
442
|
+
"name": "result-file",
|
|
443
|
+
"summary": "The CSV file path for writing the insert results",
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"encoding": {
|
|
449
|
+
"char": "e",
|
|
450
|
+
"name": "encoding",
|
|
451
|
+
"summary": "The input CSV file encoding",
|
|
452
|
+
"default": "utf8",
|
|
453
|
+
"hasDynamicHelp": false,
|
|
454
|
+
"multiple": false,
|
|
455
|
+
"type": "option"
|
|
456
|
+
},
|
|
457
|
+
"delimiter": {
|
|
458
|
+
"char": "d",
|
|
459
|
+
"name": "delimiter",
|
|
460
|
+
"summary": "The input CSV file delimiter",
|
|
461
|
+
"default": ",",
|
|
462
|
+
"hasDynamicHelp": false,
|
|
463
|
+
"multiple": false,
|
|
464
|
+
"type": "option"
|
|
465
|
+
},
|
|
466
|
+
"quote": {
|
|
467
|
+
"char": "q",
|
|
468
|
+
"name": "quote",
|
|
469
|
+
"summary": "The input CSV file quote character",
|
|
470
|
+
"default": "\"",
|
|
471
|
+
"hasDynamicHelp": false,
|
|
472
|
+
"multiple": false,
|
|
473
|
+
"type": "option"
|
|
474
|
+
},
|
|
475
|
+
"skip-lines": {
|
|
476
|
+
"aliases": [
|
|
477
|
+
"skiplines"
|
|
478
|
+
],
|
|
479
|
+
"deprecateAliases": true,
|
|
480
|
+
"name": "skip-lines",
|
|
481
|
+
"summary": "The number of lines to skip",
|
|
482
|
+
"default": 0,
|
|
483
|
+
"hasDynamicHelp": false,
|
|
484
|
+
"multiple": false,
|
|
485
|
+
"type": "option"
|
|
486
|
+
},
|
|
487
|
+
"trim": {
|
|
488
|
+
"name": "trim",
|
|
489
|
+
"summary": "Trim all white space from columns",
|
|
490
|
+
"allowNo": false,
|
|
491
|
+
"type": "boolean"
|
|
492
|
+
},
|
|
493
|
+
"mapping": {
|
|
494
|
+
"char": "m",
|
|
495
|
+
"name": "mapping",
|
|
496
|
+
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
497
|
+
"hasDynamicHelp": false,
|
|
498
|
+
"multiple": false,
|
|
499
|
+
"type": "option"
|
|
500
|
+
},
|
|
501
|
+
"converter": {
|
|
502
|
+
"char": "c",
|
|
503
|
+
"name": "converter",
|
|
504
|
+
"summary": "The path of the script to convert CSV rows",
|
|
505
|
+
"hasDynamicHelp": false,
|
|
506
|
+
"multiple": false,
|
|
507
|
+
"type": "option"
|
|
508
|
+
},
|
|
509
|
+
"set-null": {
|
|
510
|
+
"aliases": [
|
|
511
|
+
"setnull"
|
|
512
|
+
],
|
|
513
|
+
"deprecateAliases": true,
|
|
514
|
+
"name": "set-null",
|
|
515
|
+
"summary": "Set blank values as null values during insert operations (default: empty field values are ignored)",
|
|
516
|
+
"allowNo": false,
|
|
517
|
+
"type": "boolean"
|
|
518
|
+
},
|
|
519
|
+
"convert-only": {
|
|
520
|
+
"aliases": [
|
|
521
|
+
"convertonly"
|
|
522
|
+
],
|
|
523
|
+
"deprecateAliases": true,
|
|
524
|
+
"name": "convert-only",
|
|
525
|
+
"summary": "Output converted.csv file and skip insert for debugging",
|
|
526
|
+
"allowNo": false,
|
|
527
|
+
"type": "boolean"
|
|
528
|
+
},
|
|
529
|
+
"concurrency-mode": {
|
|
530
|
+
"aliases": [
|
|
531
|
+
"concurrencymode"
|
|
532
|
+
],
|
|
533
|
+
"deprecateAliases": true,
|
|
534
|
+
"name": "concurrency-mode",
|
|
535
|
+
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
536
|
+
"default": "Parallel",
|
|
537
|
+
"hasDynamicHelp": false,
|
|
538
|
+
"multiple": false,
|
|
539
|
+
"options": [
|
|
540
|
+
"Serial",
|
|
541
|
+
"Parallel"
|
|
542
|
+
],
|
|
543
|
+
"type": "option"
|
|
544
|
+
},
|
|
545
|
+
"assignment-rule-id": {
|
|
546
|
+
"aliases": [
|
|
547
|
+
"assignmentruleid"
|
|
548
|
+
],
|
|
549
|
+
"deprecateAliases": true,
|
|
550
|
+
"name": "assignment-rule-id",
|
|
551
|
+
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
552
|
+
"hasDynamicHelp": false,
|
|
553
|
+
"multiple": false,
|
|
554
|
+
"type": "option"
|
|
555
|
+
},
|
|
556
|
+
"batch-size": {
|
|
557
|
+
"aliases": [
|
|
558
|
+
"batchsize"
|
|
559
|
+
],
|
|
560
|
+
"deprecateAliases": true,
|
|
561
|
+
"name": "batch-size",
|
|
562
|
+
"summary": "The batch size of the job",
|
|
563
|
+
"default": 10000,
|
|
564
|
+
"hasDynamicHelp": false,
|
|
565
|
+
"multiple": false,
|
|
566
|
+
"type": "option"
|
|
567
|
+
},
|
|
568
|
+
"wait": {
|
|
569
|
+
"char": "w",
|
|
570
|
+
"name": "wait",
|
|
571
|
+
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
572
|
+
"hasDynamicHelp": false,
|
|
573
|
+
"multiple": false,
|
|
574
|
+
"type": "option"
|
|
575
|
+
},
|
|
576
|
+
"target-org": {
|
|
577
|
+
"char": "o",
|
|
578
|
+
"name": "target-org",
|
|
579
|
+
"noCacheDefault": true,
|
|
580
|
+
"required": true,
|
|
581
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
582
|
+
"hasDynamicHelp": true,
|
|
583
|
+
"multiple": false,
|
|
584
|
+
"type": "option"
|
|
585
|
+
},
|
|
586
|
+
"api-version": {
|
|
587
|
+
"description": "Override the api version used for api requests made by this command",
|
|
588
|
+
"name": "api-version",
|
|
589
|
+
"hasDynamicHelp": false,
|
|
590
|
+
"multiple": false,
|
|
591
|
+
"type": "option"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"hasDynamicHelp": true,
|
|
595
|
+
"hiddenAliases": [],
|
|
596
|
+
"id": "kit:data:bulk:insert",
|
|
597
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
598
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
599
|
+
"pluginType": "core",
|
|
600
|
+
"requiresProject": false,
|
|
601
|
+
"isESM": true,
|
|
602
|
+
"relativePath": [
|
|
603
|
+
"lib",
|
|
604
|
+
"commands",
|
|
605
|
+
"kit",
|
|
606
|
+
"data",
|
|
607
|
+
"bulk",
|
|
608
|
+
"insert.js"
|
|
609
|
+
],
|
|
610
|
+
"aliasPermutations": [],
|
|
611
|
+
"permutations": [
|
|
612
|
+
"kit:data:bulk:insert",
|
|
613
|
+
"data:kit:bulk:insert",
|
|
614
|
+
"data:bulk:kit:insert",
|
|
615
|
+
"data:bulk:insert:kit",
|
|
616
|
+
"kit:bulk:data:insert",
|
|
617
|
+
"bulk:kit:data:insert",
|
|
618
|
+
"bulk:data:kit:insert",
|
|
619
|
+
"bulk:data:insert:kit",
|
|
620
|
+
"kit:bulk:insert:data",
|
|
621
|
+
"bulk:kit:insert:data",
|
|
622
|
+
"bulk:insert:kit:data",
|
|
623
|
+
"bulk:insert:data:kit",
|
|
624
|
+
"kit:data:insert:bulk",
|
|
625
|
+
"data:kit:insert:bulk",
|
|
626
|
+
"data:insert:kit:bulk",
|
|
627
|
+
"data:insert:bulk:kit",
|
|
628
|
+
"kit:insert:data:bulk",
|
|
629
|
+
"insert:kit:data:bulk",
|
|
630
|
+
"insert:data:kit:bulk",
|
|
631
|
+
"insert:data:bulk:kit",
|
|
632
|
+
"kit:insert:bulk:data",
|
|
633
|
+
"insert:kit:bulk:data",
|
|
634
|
+
"insert:bulk:kit:data",
|
|
635
|
+
"insert:bulk:data:kit"
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
"kit:data:bulk:query": {
|
|
639
|
+
"aliases": [],
|
|
640
|
+
"args": {},
|
|
641
|
+
"examples": [
|
|
642
|
+
"Query Account records and save to specified path:\n<%= config.bin %> <%= command.id %> -q \"SELECT Id, Name FROM Account\" -f ./path/to/Account.csv"
|
|
643
|
+
],
|
|
644
|
+
"flags": {
|
|
645
|
+
"json": {
|
|
646
|
+
"description": "Format output as json.",
|
|
647
|
+
"helpGroup": "GLOBAL",
|
|
648
|
+
"name": "json",
|
|
649
|
+
"allowNo": false,
|
|
650
|
+
"type": "boolean"
|
|
651
|
+
},
|
|
652
|
+
"flags-dir": {
|
|
653
|
+
"helpGroup": "GLOBAL",
|
|
654
|
+
"name": "flags-dir",
|
|
655
|
+
"summary": "Import flag values from a directory.",
|
|
656
|
+
"hasDynamicHelp": false,
|
|
657
|
+
"multiple": false,
|
|
658
|
+
"type": "option"
|
|
659
|
+
},
|
|
660
|
+
"query": {
|
|
661
|
+
"char": "q",
|
|
662
|
+
"name": "query",
|
|
663
|
+
"required": true,
|
|
664
|
+
"summary": "SOQL query to export",
|
|
665
|
+
"hasDynamicHelp": false,
|
|
666
|
+
"multiple": false,
|
|
667
|
+
"type": "option"
|
|
668
|
+
},
|
|
669
|
+
"csv-file": {
|
|
670
|
+
"aliases": [
|
|
671
|
+
"csvfile"
|
|
672
|
+
],
|
|
673
|
+
"char": "f",
|
|
674
|
+
"deprecateAliases": true,
|
|
675
|
+
"name": "csv-file",
|
|
676
|
+
"summary": "[default: standard output] Output csv file",
|
|
677
|
+
"hasDynamicHelp": false,
|
|
678
|
+
"multiple": false,
|
|
679
|
+
"type": "option"
|
|
680
|
+
},
|
|
681
|
+
"all": {
|
|
682
|
+
"name": "all",
|
|
683
|
+
"summary": "include deleted or archived records",
|
|
684
|
+
"allowNo": false,
|
|
685
|
+
"type": "boolean"
|
|
686
|
+
},
|
|
687
|
+
"wait": {
|
|
688
|
+
"char": "w",
|
|
689
|
+
"name": "wait",
|
|
690
|
+
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
691
|
+
"default": 5,
|
|
692
|
+
"hasDynamicHelp": false,
|
|
693
|
+
"multiple": false,
|
|
694
|
+
"type": "option"
|
|
695
|
+
},
|
|
696
|
+
"target-org": {
|
|
697
|
+
"char": "o",
|
|
698
|
+
"name": "target-org",
|
|
699
|
+
"noCacheDefault": true,
|
|
700
|
+
"required": true,
|
|
701
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
702
|
+
"hasDynamicHelp": true,
|
|
703
|
+
"multiple": false,
|
|
704
|
+
"type": "option"
|
|
705
|
+
},
|
|
706
|
+
"api-version": {
|
|
707
|
+
"description": "Override the api version used for api requests made by this command",
|
|
708
|
+
"name": "api-version",
|
|
709
|
+
"hasDynamicHelp": false,
|
|
710
|
+
"multiple": false,
|
|
711
|
+
"type": "option"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"hasDynamicHelp": true,
|
|
715
|
+
"hiddenAliases": [],
|
|
716
|
+
"id": "kit:data:bulk:query",
|
|
717
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
718
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
719
|
+
"pluginType": "core",
|
|
720
|
+
"strict": true,
|
|
721
|
+
"summary": "Bulk query records.",
|
|
722
|
+
"enableJsonFlag": true,
|
|
723
|
+
"isESM": true,
|
|
724
|
+
"relativePath": [
|
|
725
|
+
"lib",
|
|
726
|
+
"commands",
|
|
727
|
+
"kit",
|
|
728
|
+
"data",
|
|
729
|
+
"bulk",
|
|
730
|
+
"query.js"
|
|
731
|
+
],
|
|
732
|
+
"aliasPermutations": [],
|
|
733
|
+
"permutations": [
|
|
734
|
+
"kit:data:bulk:query",
|
|
735
|
+
"data:kit:bulk:query",
|
|
736
|
+
"data:bulk:kit:query",
|
|
737
|
+
"data:bulk:query:kit",
|
|
738
|
+
"kit:bulk:data:query",
|
|
739
|
+
"bulk:kit:data:query",
|
|
740
|
+
"bulk:data:kit:query",
|
|
741
|
+
"bulk:data:query:kit",
|
|
742
|
+
"kit:bulk:query:data",
|
|
743
|
+
"bulk:kit:query:data",
|
|
744
|
+
"bulk:query:kit:data",
|
|
745
|
+
"bulk:query:data:kit",
|
|
746
|
+
"kit:data:query:bulk",
|
|
747
|
+
"data:kit:query:bulk",
|
|
748
|
+
"data:query:kit:bulk",
|
|
749
|
+
"data:query:bulk:kit",
|
|
750
|
+
"kit:query:data:bulk",
|
|
751
|
+
"query:kit:data:bulk",
|
|
752
|
+
"query:data:kit:bulk",
|
|
753
|
+
"query:data:bulk:kit",
|
|
754
|
+
"kit:query:bulk:data",
|
|
755
|
+
"query:kit:bulk:data",
|
|
756
|
+
"query:bulk:kit:data",
|
|
757
|
+
"query:bulk:data:kit"
|
|
758
|
+
]
|
|
759
|
+
},
|
|
760
|
+
"kit:data:bulk:update": {
|
|
761
|
+
"aliases": [],
|
|
762
|
+
"args": {},
|
|
763
|
+
"description": "For information about CSV file formats, see [Prepare CSV Files](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) in the Bulk API Developer Guide.",
|
|
764
|
+
"examples": [
|
|
765
|
+
"Update Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
766
|
+
"%s MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
|
|
767
|
+
],
|
|
768
|
+
"flags": {
|
|
769
|
+
"sobject": {
|
|
770
|
+
"char": "s",
|
|
771
|
+
"name": "sobject",
|
|
772
|
+
"required": true,
|
|
773
|
+
"summary": "The SObject name to update",
|
|
774
|
+
"hasDynamicHelp": false,
|
|
775
|
+
"multiple": false,
|
|
776
|
+
"type": "option"
|
|
777
|
+
},
|
|
778
|
+
"csv-file": {
|
|
779
|
+
"aliases": [
|
|
780
|
+
"csvfile"
|
|
781
|
+
],
|
|
782
|
+
"char": "f",
|
|
783
|
+
"deprecateAliases": true,
|
|
784
|
+
"name": "csv-file",
|
|
785
|
+
"required": true,
|
|
786
|
+
"summary": "The CSV file path that defines the records to update",
|
|
787
|
+
"hasDynamicHelp": false,
|
|
788
|
+
"multiple": false,
|
|
789
|
+
"type": "option"
|
|
790
|
+
},
|
|
791
|
+
"result-file": {
|
|
792
|
+
"aliases": [
|
|
793
|
+
"resultfile"
|
|
794
|
+
],
|
|
795
|
+
"char": "r",
|
|
796
|
+
"deprecateAliases": true,
|
|
797
|
+
"name": "result-file",
|
|
798
|
+
"summary": "The CSV file path for writing the update results",
|
|
799
|
+
"hasDynamicHelp": false,
|
|
800
|
+
"multiple": false,
|
|
801
|
+
"type": "option"
|
|
802
|
+
},
|
|
803
|
+
"encoding": {
|
|
804
|
+
"char": "e",
|
|
805
|
+
"name": "encoding",
|
|
806
|
+
"summary": "The input CSV file encoding",
|
|
807
|
+
"default": "utf8",
|
|
808
|
+
"hasDynamicHelp": false,
|
|
809
|
+
"multiple": false,
|
|
810
|
+
"type": "option"
|
|
811
|
+
},
|
|
812
|
+
"delimiter": {
|
|
813
|
+
"char": "d",
|
|
814
|
+
"name": "delimiter",
|
|
815
|
+
"summary": "The input CSV file delimiter",
|
|
816
|
+
"default": ",",
|
|
817
|
+
"hasDynamicHelp": false,
|
|
818
|
+
"multiple": false,
|
|
819
|
+
"type": "option"
|
|
820
|
+
},
|
|
821
|
+
"quote": {
|
|
822
|
+
"char": "q",
|
|
823
|
+
"name": "quote",
|
|
824
|
+
"summary": "The input CSV file quote character",
|
|
825
|
+
"default": "\"",
|
|
826
|
+
"hasDynamicHelp": false,
|
|
827
|
+
"multiple": false,
|
|
828
|
+
"type": "option"
|
|
829
|
+
},
|
|
830
|
+
"skip-lines": {
|
|
831
|
+
"aliases": [
|
|
832
|
+
"skiplines"
|
|
833
|
+
],
|
|
834
|
+
"deprecateAliases": true,
|
|
835
|
+
"name": "skip-lines",
|
|
836
|
+
"summary": "The number of lines to skip",
|
|
837
|
+
"default": 0,
|
|
838
|
+
"hasDynamicHelp": false,
|
|
839
|
+
"multiple": false,
|
|
840
|
+
"type": "option"
|
|
841
|
+
},
|
|
842
|
+
"trim": {
|
|
843
|
+
"name": "trim",
|
|
844
|
+
"summary": "Trim all white space from columns",
|
|
845
|
+
"allowNo": false,
|
|
846
|
+
"type": "boolean"
|
|
847
|
+
},
|
|
848
|
+
"mapping": {
|
|
849
|
+
"char": "m",
|
|
850
|
+
"name": "mapping",
|
|
851
|
+
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
852
|
+
"hasDynamicHelp": false,
|
|
853
|
+
"multiple": false,
|
|
854
|
+
"type": "option"
|
|
855
|
+
},
|
|
856
|
+
"converter": {
|
|
857
|
+
"char": "c",
|
|
858
|
+
"name": "converter",
|
|
859
|
+
"summary": "The path of the script to convert CSV rows",
|
|
860
|
+
"hasDynamicHelp": false,
|
|
861
|
+
"multiple": false,
|
|
862
|
+
"type": "option"
|
|
863
|
+
},
|
|
864
|
+
"set-null": {
|
|
865
|
+
"aliases": [
|
|
866
|
+
"setnull"
|
|
867
|
+
],
|
|
868
|
+
"deprecateAliases": true,
|
|
869
|
+
"name": "set-null",
|
|
870
|
+
"summary": "Set blank values as null values during update operations (default: empty field values are ignored)",
|
|
871
|
+
"allowNo": false,
|
|
872
|
+
"type": "boolean"
|
|
873
|
+
},
|
|
874
|
+
"convert-only": {
|
|
875
|
+
"aliases": [
|
|
876
|
+
"convertonly"
|
|
877
|
+
],
|
|
878
|
+
"deprecateAliases": true,
|
|
879
|
+
"name": "convert-only",
|
|
880
|
+
"summary": "Output converted.csv file and skip update for debugging",
|
|
881
|
+
"allowNo": false,
|
|
882
|
+
"type": "boolean"
|
|
883
|
+
},
|
|
884
|
+
"concurrency-mode": {
|
|
885
|
+
"aliases": [
|
|
886
|
+
"concurrencymode"
|
|
887
|
+
],
|
|
888
|
+
"deprecateAliases": true,
|
|
889
|
+
"name": "concurrency-mode",
|
|
890
|
+
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
891
|
+
"default": "Parallel",
|
|
892
|
+
"hasDynamicHelp": false,
|
|
893
|
+
"multiple": false,
|
|
894
|
+
"options": [
|
|
895
|
+
"Serial",
|
|
896
|
+
"Parallel"
|
|
897
|
+
],
|
|
898
|
+
"type": "option"
|
|
899
|
+
},
|
|
900
|
+
"assignment-rule-id": {
|
|
901
|
+
"aliases": [
|
|
902
|
+
"assignmentruleid"
|
|
903
|
+
],
|
|
904
|
+
"deprecateAliases": true,
|
|
905
|
+
"name": "assignment-rule-id",
|
|
906
|
+
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
907
|
+
"hasDynamicHelp": false,
|
|
908
|
+
"multiple": false,
|
|
909
|
+
"type": "option"
|
|
910
|
+
},
|
|
911
|
+
"batch-size": {
|
|
912
|
+
"aliases": [
|
|
913
|
+
"batchsize"
|
|
914
|
+
],
|
|
915
|
+
"deprecateAliases": true,
|
|
916
|
+
"name": "batch-size",
|
|
917
|
+
"summary": "The batch size of the job",
|
|
918
|
+
"default": 10000,
|
|
919
|
+
"hasDynamicHelp": false,
|
|
920
|
+
"multiple": false,
|
|
921
|
+
"type": "option"
|
|
922
|
+
},
|
|
923
|
+
"wait": {
|
|
924
|
+
"char": "w",
|
|
925
|
+
"name": "wait",
|
|
926
|
+
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
927
|
+
"hasDynamicHelp": false,
|
|
928
|
+
"multiple": false,
|
|
929
|
+
"type": "option"
|
|
930
|
+
},
|
|
931
|
+
"target-org": {
|
|
932
|
+
"char": "o",
|
|
933
|
+
"name": "target-org",
|
|
934
|
+
"noCacheDefault": true,
|
|
935
|
+
"required": true,
|
|
936
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
937
|
+
"hasDynamicHelp": true,
|
|
938
|
+
"multiple": false,
|
|
939
|
+
"type": "option"
|
|
940
|
+
},
|
|
941
|
+
"api-version": {
|
|
942
|
+
"description": "Override the api version used for api requests made by this command",
|
|
943
|
+
"name": "api-version",
|
|
944
|
+
"hasDynamicHelp": false,
|
|
945
|
+
"multiple": false,
|
|
946
|
+
"type": "option"
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
"hasDynamicHelp": true,
|
|
950
|
+
"hiddenAliases": [],
|
|
951
|
+
"id": "kit:data:bulk:update",
|
|
952
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
953
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
954
|
+
"pluginType": "core",
|
|
955
|
+
"requiresProject": false,
|
|
956
|
+
"isESM": true,
|
|
957
|
+
"relativePath": [
|
|
958
|
+
"lib",
|
|
959
|
+
"commands",
|
|
960
|
+
"kit",
|
|
961
|
+
"data",
|
|
962
|
+
"bulk",
|
|
963
|
+
"update.js"
|
|
964
|
+
],
|
|
965
|
+
"aliasPermutations": [],
|
|
966
|
+
"permutations": [
|
|
967
|
+
"kit:data:bulk:update",
|
|
968
|
+
"data:kit:bulk:update",
|
|
969
|
+
"data:bulk:kit:update",
|
|
970
|
+
"data:bulk:update:kit",
|
|
971
|
+
"kit:bulk:data:update",
|
|
972
|
+
"bulk:kit:data:update",
|
|
973
|
+
"bulk:data:kit:update",
|
|
974
|
+
"bulk:data:update:kit",
|
|
975
|
+
"kit:bulk:update:data",
|
|
976
|
+
"bulk:kit:update:data",
|
|
977
|
+
"bulk:update:kit:data",
|
|
978
|
+
"bulk:update:data:kit",
|
|
979
|
+
"kit:data:update:bulk",
|
|
980
|
+
"data:kit:update:bulk",
|
|
981
|
+
"data:update:kit:bulk",
|
|
982
|
+
"data:update:bulk:kit",
|
|
983
|
+
"kit:update:data:bulk",
|
|
984
|
+
"update:kit:data:bulk",
|
|
985
|
+
"update:data:kit:bulk",
|
|
986
|
+
"update:data:bulk:kit",
|
|
987
|
+
"kit:update:bulk:data",
|
|
988
|
+
"update:kit:bulk:data",
|
|
989
|
+
"update:bulk:kit:data",
|
|
990
|
+
"update:bulk:data:kit"
|
|
991
|
+
]
|
|
992
|
+
},
|
|
993
|
+
"kit:data:bulk:upsert": {
|
|
994
|
+
"aliases": [],
|
|
995
|
+
"args": {},
|
|
996
|
+
"description": "For information about CSV file formats, see [Prepare CSV Files](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) in the Bulk API Developer Guide.",
|
|
997
|
+
"examples": [
|
|
998
|
+
"Upsert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
999
|
+
"Upsert MyObject__c with convert.js and external ID\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -i MyExternalId__c -w 10"
|
|
1000
|
+
],
|
|
1001
|
+
"flags": {
|
|
1002
|
+
"sobject": {
|
|
1003
|
+
"char": "s",
|
|
1004
|
+
"name": "sobject",
|
|
1005
|
+
"required": true,
|
|
1006
|
+
"summary": "The SObject name to upsert",
|
|
1007
|
+
"hasDynamicHelp": false,
|
|
1008
|
+
"multiple": false,
|
|
1009
|
+
"type": "option"
|
|
1010
|
+
},
|
|
1011
|
+
"csv-file": {
|
|
1012
|
+
"aliases": [
|
|
1013
|
+
"csvfile"
|
|
1014
|
+
],
|
|
1015
|
+
"char": "f",
|
|
1016
|
+
"deprecateAliases": true,
|
|
1017
|
+
"name": "csv-file",
|
|
1018
|
+
"required": true,
|
|
1019
|
+
"summary": "The CSV file path that defines the records to upsert",
|
|
1020
|
+
"hasDynamicHelp": false,
|
|
1021
|
+
"multiple": false,
|
|
1022
|
+
"type": "option"
|
|
1023
|
+
},
|
|
1024
|
+
"result-file": {
|
|
1025
|
+
"aliases": [
|
|
1026
|
+
"resultfile"
|
|
1027
|
+
],
|
|
1028
|
+
"char": "r",
|
|
1029
|
+
"deprecateAliases": true,
|
|
1030
|
+
"name": "result-file",
|
|
1031
|
+
"summary": "The CSV file path for writing the upsert results",
|
|
1032
|
+
"hasDynamicHelp": false,
|
|
1033
|
+
"multiple": false,
|
|
1034
|
+
"type": "option"
|
|
1035
|
+
},
|
|
1036
|
+
"encoding": {
|
|
1037
|
+
"char": "e",
|
|
1038
|
+
"name": "encoding",
|
|
1039
|
+
"summary": "The input CSV file encoding",
|
|
1040
|
+
"default": "utf8",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"delimiter": {
|
|
1046
|
+
"char": "d",
|
|
1047
|
+
"name": "delimiter",
|
|
1048
|
+
"summary": "The input CSV file delimiter",
|
|
1049
|
+
"default": ",",
|
|
1050
|
+
"hasDynamicHelp": false,
|
|
1051
|
+
"multiple": false,
|
|
1052
|
+
"type": "option"
|
|
1053
|
+
},
|
|
1054
|
+
"quote": {
|
|
1055
|
+
"char": "q",
|
|
1056
|
+
"name": "quote",
|
|
1057
|
+
"summary": "The input CSV file quote character",
|
|
1058
|
+
"default": "\"",
|
|
1059
|
+
"hasDynamicHelp": false,
|
|
1060
|
+
"multiple": false,
|
|
1061
|
+
"type": "option"
|
|
1062
|
+
},
|
|
1063
|
+
"skip-lines": {
|
|
1064
|
+
"aliases": [
|
|
1065
|
+
"skiplines"
|
|
1066
|
+
],
|
|
1067
|
+
"deprecateAliases": true,
|
|
1068
|
+
"name": "skip-lines",
|
|
1069
|
+
"summary": "The number of lines to skip",
|
|
1070
|
+
"default": 0,
|
|
1071
|
+
"hasDynamicHelp": false,
|
|
1072
|
+
"multiple": false,
|
|
1073
|
+
"type": "option"
|
|
1074
|
+
},
|
|
1075
|
+
"trim": {
|
|
1076
|
+
"name": "trim",
|
|
1077
|
+
"summary": "Trim all white space from columns",
|
|
1078
|
+
"allowNo": false,
|
|
1079
|
+
"type": "boolean"
|
|
1080
|
+
},
|
|
1081
|
+
"mapping": {
|
|
1082
|
+
"char": "m",
|
|
1083
|
+
"name": "mapping",
|
|
1084
|
+
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"multiple": false,
|
|
1087
|
+
"type": "option"
|
|
1088
|
+
},
|
|
1089
|
+
"converter": {
|
|
1090
|
+
"char": "c",
|
|
1091
|
+
"name": "converter",
|
|
1092
|
+
"summary": "The path of the script to convert CSV rows",
|
|
1093
|
+
"hasDynamicHelp": false,
|
|
1094
|
+
"multiple": false,
|
|
1095
|
+
"type": "option"
|
|
1096
|
+
},
|
|
1097
|
+
"set-null": {
|
|
1098
|
+
"aliases": [
|
|
1099
|
+
"setnull"
|
|
1100
|
+
],
|
|
1101
|
+
"deprecateAliases": true,
|
|
1102
|
+
"name": "set-null",
|
|
1103
|
+
"summary": "Set blank values as null values during upsert operations (default: empty field values are ignored)",
|
|
1104
|
+
"allowNo": false,
|
|
1105
|
+
"type": "boolean"
|
|
1106
|
+
},
|
|
1107
|
+
"convert-only": {
|
|
1108
|
+
"aliases": [
|
|
1109
|
+
"convertonly"
|
|
1110
|
+
],
|
|
1111
|
+
"deprecateAliases": true,
|
|
1112
|
+
"name": "convert-only",
|
|
1113
|
+
"summary": "Output converted.csv file and skip upsert for debugging",
|
|
1114
|
+
"allowNo": false,
|
|
1115
|
+
"type": "boolean"
|
|
1116
|
+
},
|
|
1117
|
+
"concurrency-mode": {
|
|
1118
|
+
"aliases": [
|
|
1119
|
+
"concurrencymode"
|
|
1120
|
+
],
|
|
1121
|
+
"deprecateAliases": true,
|
|
1122
|
+
"name": "concurrency-mode",
|
|
1123
|
+
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
1124
|
+
"default": "Parallel",
|
|
1125
|
+
"hasDynamicHelp": false,
|
|
1126
|
+
"multiple": false,
|
|
1127
|
+
"options": [
|
|
1128
|
+
"Serial",
|
|
1129
|
+
"Parallel"
|
|
1130
|
+
],
|
|
1131
|
+
"type": "option"
|
|
1132
|
+
},
|
|
1133
|
+
"assignment-rule-id": {
|
|
1134
|
+
"aliases": [
|
|
1135
|
+
"assignmentruleid"
|
|
1136
|
+
],
|
|
1137
|
+
"deprecateAliases": true,
|
|
1138
|
+
"name": "assignment-rule-id",
|
|
1139
|
+
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
1140
|
+
"hasDynamicHelp": false,
|
|
1141
|
+
"multiple": false,
|
|
1142
|
+
"type": "option"
|
|
1143
|
+
},
|
|
1144
|
+
"batch-size": {
|
|
1145
|
+
"aliases": [
|
|
1146
|
+
"batchsize"
|
|
1147
|
+
],
|
|
1148
|
+
"deprecateAliases": true,
|
|
1149
|
+
"name": "batch-size",
|
|
1150
|
+
"summary": "The batch size of the job",
|
|
1151
|
+
"default": 10000,
|
|
1152
|
+
"hasDynamicHelp": false,
|
|
1153
|
+
"multiple": false,
|
|
1154
|
+
"type": "option"
|
|
1155
|
+
},
|
|
1156
|
+
"wait": {
|
|
1157
|
+
"char": "w",
|
|
1158
|
+
"name": "wait",
|
|
1159
|
+
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
1160
|
+
"hasDynamicHelp": false,
|
|
1161
|
+
"multiple": false,
|
|
1162
|
+
"type": "option"
|
|
1163
|
+
},
|
|
1164
|
+
"target-org": {
|
|
1165
|
+
"char": "o",
|
|
1166
|
+
"name": "target-org",
|
|
1167
|
+
"noCacheDefault": true,
|
|
1168
|
+
"required": true,
|
|
1169
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1170
|
+
"hasDynamicHelp": true,
|
|
1171
|
+
"multiple": false,
|
|
1172
|
+
"type": "option"
|
|
1173
|
+
},
|
|
1174
|
+
"api-version": {
|
|
1175
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1176
|
+
"name": "api-version",
|
|
1177
|
+
"hasDynamicHelp": false,
|
|
1178
|
+
"multiple": false,
|
|
1179
|
+
"type": "option"
|
|
1180
|
+
},
|
|
1181
|
+
"external-id": {
|
|
1182
|
+
"aliases": [
|
|
1183
|
+
"externalid"
|
|
1184
|
+
],
|
|
1185
|
+
"char": "i",
|
|
1186
|
+
"deprecateAliases": true,
|
|
1187
|
+
"name": "external-id",
|
|
1188
|
+
"required": true,
|
|
1189
|
+
"summary": "The column name of the external ID",
|
|
1190
|
+
"default": "Id",
|
|
1191
|
+
"hasDynamicHelp": false,
|
|
1192
|
+
"multiple": false,
|
|
1193
|
+
"type": "option"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"hasDynamicHelp": true,
|
|
1197
|
+
"hiddenAliases": [],
|
|
1198
|
+
"id": "kit:data:bulk:upsert",
|
|
1199
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1200
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1201
|
+
"pluginType": "core",
|
|
1202
|
+
"requiresProject": false,
|
|
1203
|
+
"isESM": true,
|
|
1204
|
+
"relativePath": [
|
|
1205
|
+
"lib",
|
|
1206
|
+
"commands",
|
|
1207
|
+
"kit",
|
|
1208
|
+
"data",
|
|
1209
|
+
"bulk",
|
|
1210
|
+
"upsert.js"
|
|
1211
|
+
],
|
|
1212
|
+
"aliasPermutations": [],
|
|
1213
|
+
"permutations": [
|
|
1214
|
+
"kit:data:bulk:upsert",
|
|
1215
|
+
"data:kit:bulk:upsert",
|
|
1216
|
+
"data:bulk:kit:upsert",
|
|
1217
|
+
"data:bulk:upsert:kit",
|
|
1218
|
+
"kit:bulk:data:upsert",
|
|
1219
|
+
"bulk:kit:data:upsert",
|
|
1220
|
+
"bulk:data:kit:upsert",
|
|
1221
|
+
"bulk:data:upsert:kit",
|
|
1222
|
+
"kit:bulk:upsert:data",
|
|
1223
|
+
"bulk:kit:upsert:data",
|
|
1224
|
+
"bulk:upsert:kit:data",
|
|
1225
|
+
"bulk:upsert:data:kit",
|
|
1226
|
+
"kit:data:upsert:bulk",
|
|
1227
|
+
"data:kit:upsert:bulk",
|
|
1228
|
+
"data:upsert:kit:bulk",
|
|
1229
|
+
"data:upsert:bulk:kit",
|
|
1230
|
+
"kit:upsert:data:bulk",
|
|
1231
|
+
"upsert:kit:data:bulk",
|
|
1232
|
+
"upsert:data:kit:bulk",
|
|
1233
|
+
"upsert:data:bulk:kit",
|
|
1234
|
+
"kit:upsert:bulk:data",
|
|
1235
|
+
"upsert:kit:bulk:data",
|
|
1236
|
+
"upsert:bulk:kit:data",
|
|
1237
|
+
"upsert:bulk:data:kit"
|
|
1238
|
+
]
|
|
1239
|
+
},
|
|
1240
|
+
"kit:data:csv:convert": {
|
|
1241
|
+
"aliases": [],
|
|
1242
|
+
"args": {},
|
|
1243
|
+
"examples": [
|
|
1244
|
+
"Convert csv file using mapping file and output to standard output:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -m ./path/to/mapping.json",
|
|
1245
|
+
"Convert csv file using script and output to specified path:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -f ./path/to/output.csv -c ./path/to/convert.js"
|
|
1246
|
+
],
|
|
1247
|
+
"flags": {
|
|
1248
|
+
"json": {
|
|
1249
|
+
"description": "Format output as json.",
|
|
1250
|
+
"helpGroup": "GLOBAL",
|
|
1251
|
+
"name": "json",
|
|
1252
|
+
"allowNo": false,
|
|
1253
|
+
"type": "boolean"
|
|
1254
|
+
},
|
|
1255
|
+
"flags-dir": {
|
|
1256
|
+
"helpGroup": "GLOBAL",
|
|
1257
|
+
"name": "flags-dir",
|
|
1258
|
+
"summary": "Import flag values from a directory.",
|
|
1259
|
+
"hasDynamicHelp": false,
|
|
1260
|
+
"multiple": false,
|
|
1261
|
+
"type": "option"
|
|
1262
|
+
},
|
|
1263
|
+
"input": {
|
|
1264
|
+
"char": "i",
|
|
1265
|
+
"name": "input",
|
|
1266
|
+
"summary": "[default: standard input] The path of the input CSV file",
|
|
1267
|
+
"hasDynamicHelp": false,
|
|
1268
|
+
"multiple": false,
|
|
1269
|
+
"type": "option"
|
|
1270
|
+
},
|
|
1271
|
+
"output": {
|
|
1272
|
+
"char": "f",
|
|
1273
|
+
"name": "output",
|
|
1274
|
+
"summary": "[default: standard output] The path of the output CSV file",
|
|
1275
|
+
"hasDynamicHelp": false,
|
|
1276
|
+
"multiple": false,
|
|
1277
|
+
"type": "option"
|
|
1278
|
+
},
|
|
1279
|
+
"encoding": {
|
|
1280
|
+
"char": "e",
|
|
1281
|
+
"name": "encoding",
|
|
1282
|
+
"summary": "The input CSV file encoding",
|
|
1283
|
+
"default": "utf8",
|
|
1284
|
+
"hasDynamicHelp": false,
|
|
1285
|
+
"multiple": false,
|
|
1286
|
+
"type": "option"
|
|
1287
|
+
},
|
|
1288
|
+
"delimiter": {
|
|
1289
|
+
"char": "d",
|
|
1290
|
+
"name": "delimiter",
|
|
1291
|
+
"summary": "The input CSV file delimiter",
|
|
1292
|
+
"default": ",",
|
|
1293
|
+
"hasDynamicHelp": false,
|
|
1294
|
+
"multiple": false,
|
|
1295
|
+
"type": "option"
|
|
1296
|
+
},
|
|
1297
|
+
"quote": {
|
|
1298
|
+
"char": "q",
|
|
1299
|
+
"name": "quote",
|
|
1300
|
+
"summary": "The input CSV file quote character",
|
|
1301
|
+
"default": "\"",
|
|
1302
|
+
"hasDynamicHelp": false,
|
|
1303
|
+
"multiple": false,
|
|
1304
|
+
"type": "option"
|
|
1305
|
+
},
|
|
1306
|
+
"skip-lines": {
|
|
1307
|
+
"aliases": [
|
|
1308
|
+
"skiplines"
|
|
1309
|
+
],
|
|
1310
|
+
"deprecateAliases": true,
|
|
1311
|
+
"name": "skip-lines",
|
|
1312
|
+
"summary": "The number of lines to skip",
|
|
1313
|
+
"default": 0,
|
|
1314
|
+
"hasDynamicHelp": false,
|
|
1315
|
+
"multiple": false,
|
|
1316
|
+
"type": "option"
|
|
1317
|
+
},
|
|
1318
|
+
"trim": {
|
|
1319
|
+
"name": "trim",
|
|
1320
|
+
"summary": "Trim all white space from columns",
|
|
1321
|
+
"allowNo": false,
|
|
1322
|
+
"type": "boolean"
|
|
1323
|
+
},
|
|
1324
|
+
"mapping": {
|
|
1325
|
+
"char": "m",
|
|
1326
|
+
"name": "mapping",
|
|
1327
|
+
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
1328
|
+
"hasDynamicHelp": false,
|
|
1329
|
+
"multiple": false,
|
|
1330
|
+
"type": "option"
|
|
1331
|
+
},
|
|
1332
|
+
"converter": {
|
|
1333
|
+
"char": "c",
|
|
1334
|
+
"name": "converter",
|
|
1335
|
+
"summary": "The path of the script to convert CSV rows",
|
|
1336
|
+
"hasDynamicHelp": false,
|
|
1337
|
+
"multiple": false,
|
|
1338
|
+
"type": "option"
|
|
1339
|
+
},
|
|
1340
|
+
"target-org": {
|
|
1341
|
+
"char": "o",
|
|
1342
|
+
"name": "target-org",
|
|
1343
|
+
"noCacheDefault": true,
|
|
1344
|
+
"summary": "Username or alias of the target org.",
|
|
1345
|
+
"hasDynamicHelp": true,
|
|
1346
|
+
"multiple": false,
|
|
1347
|
+
"type": "option"
|
|
1348
|
+
},
|
|
1349
|
+
"api-version": {
|
|
1350
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1351
|
+
"name": "api-version",
|
|
1352
|
+
"hasDynamicHelp": false,
|
|
1353
|
+
"multiple": false,
|
|
1354
|
+
"type": "option"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"hasDynamicHelp": true,
|
|
1358
|
+
"hiddenAliases": [],
|
|
1359
|
+
"id": "kit:data:csv:convert",
|
|
1360
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1361
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1362
|
+
"pluginType": "core",
|
|
1363
|
+
"strict": true,
|
|
1364
|
+
"summary": "Convert CSV data using column mapping file or Node.js script.",
|
|
1365
|
+
"isESM": true,
|
|
1366
|
+
"relativePath": [
|
|
1367
|
+
"lib",
|
|
1368
|
+
"commands",
|
|
1369
|
+
"kit",
|
|
1370
|
+
"data",
|
|
1371
|
+
"csv",
|
|
1372
|
+
"convert.js"
|
|
1373
|
+
],
|
|
1374
|
+
"aliasPermutations": [],
|
|
1375
|
+
"permutations": [
|
|
1376
|
+
"kit:data:csv:convert",
|
|
1377
|
+
"data:kit:csv:convert",
|
|
1378
|
+
"data:csv:kit:convert",
|
|
1379
|
+
"data:csv:convert:kit",
|
|
1380
|
+
"kit:csv:data:convert",
|
|
1381
|
+
"csv:kit:data:convert",
|
|
1382
|
+
"csv:data:kit:convert",
|
|
1383
|
+
"csv:data:convert:kit",
|
|
1384
|
+
"kit:csv:convert:data",
|
|
1385
|
+
"csv:kit:convert:data",
|
|
1386
|
+
"csv:convert:kit:data",
|
|
1387
|
+
"csv:convert:data:kit",
|
|
1388
|
+
"kit:data:convert:csv",
|
|
1389
|
+
"data:kit:convert:csv",
|
|
1390
|
+
"data:convert:kit:csv",
|
|
1391
|
+
"data:convert:csv:kit",
|
|
1392
|
+
"kit:convert:data:csv",
|
|
1393
|
+
"convert:kit:data:csv",
|
|
1394
|
+
"convert:data:kit:csv",
|
|
1395
|
+
"convert:data:csv:kit",
|
|
1396
|
+
"kit:convert:csv:data",
|
|
1397
|
+
"convert:kit:csv:data",
|
|
1398
|
+
"convert:csv:kit:data",
|
|
1399
|
+
"convert:csv:data:kit"
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
"kit:layout:assignments:deploy": {
|
|
1403
|
+
"aliases": [],
|
|
1404
|
+
"args": {},
|
|
1405
|
+
"examples": [
|
|
1406
|
+
"Deploy from the default file path to the default org:\n<%= config.bin %> <%= command.id %>",
|
|
1407
|
+
"Deploy from the specified file to the default org:\n<%= config.bin %> <%= command.id %> -f config/layout-assignments.scratch.json",
|
|
1408
|
+
"Deploy from the specified file to the specified org:\n<%= config.bin %> <%= command.id %> -o me@my.org -f config/layout-assignments.sandbox.json"
|
|
1409
|
+
],
|
|
1410
|
+
"flags": {
|
|
1411
|
+
"json": {
|
|
1412
|
+
"description": "Format output as json.",
|
|
1413
|
+
"helpGroup": "GLOBAL",
|
|
1414
|
+
"name": "json",
|
|
1415
|
+
"allowNo": false,
|
|
1416
|
+
"type": "boolean"
|
|
1417
|
+
},
|
|
1418
|
+
"flags-dir": {
|
|
1419
|
+
"helpGroup": "GLOBAL",
|
|
1420
|
+
"name": "flags-dir",
|
|
1421
|
+
"summary": "Import flag values from a directory.",
|
|
1422
|
+
"hasDynamicHelp": false,
|
|
1423
|
+
"multiple": false,
|
|
1424
|
+
"type": "option"
|
|
1425
|
+
},
|
|
1426
|
+
"file": {
|
|
1427
|
+
"char": "f",
|
|
1428
|
+
"name": "file",
|
|
1429
|
+
"required": true,
|
|
1430
|
+
"summary": "Input file path of page layout assignment settings.",
|
|
1431
|
+
"default": "config/layout-assignments.json",
|
|
1432
|
+
"hasDynamicHelp": false,
|
|
1433
|
+
"multiple": false,
|
|
1434
|
+
"type": "option"
|
|
1435
|
+
},
|
|
1436
|
+
"target-org": {
|
|
1437
|
+
"char": "o",
|
|
1438
|
+
"name": "target-org",
|
|
1439
|
+
"noCacheDefault": true,
|
|
1440
|
+
"required": true,
|
|
1441
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1442
|
+
"hasDynamicHelp": true,
|
|
1443
|
+
"multiple": false,
|
|
1444
|
+
"type": "option"
|
|
1445
|
+
},
|
|
1446
|
+
"api-version": {
|
|
1447
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1448
|
+
"name": "api-version",
|
|
1449
|
+
"hasDynamicHelp": false,
|
|
1450
|
+
"multiple": false,
|
|
1451
|
+
"type": "option"
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
"hasDynamicHelp": true,
|
|
1455
|
+
"hiddenAliases": [],
|
|
1456
|
+
"id": "kit:layout:assignments:deploy",
|
|
1457
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1458
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1459
|
+
"pluginType": "core",
|
|
1460
|
+
"strict": true,
|
|
1461
|
+
"summary": "Deploy page layout assignments from JSON file.",
|
|
1462
|
+
"enableJsonFlag": true,
|
|
1463
|
+
"requiresProject": true,
|
|
1464
|
+
"isESM": true,
|
|
1465
|
+
"relativePath": [
|
|
1466
|
+
"lib",
|
|
1467
|
+
"commands",
|
|
1468
|
+
"kit",
|
|
1469
|
+
"layout",
|
|
1470
|
+
"assignments",
|
|
1471
|
+
"deploy.js"
|
|
1472
|
+
],
|
|
1473
|
+
"aliasPermutations": [],
|
|
1474
|
+
"permutations": [
|
|
1475
|
+
"kit:layout:assignments:deploy",
|
|
1476
|
+
"layout:kit:assignments:deploy",
|
|
1477
|
+
"layout:assignments:kit:deploy",
|
|
1478
|
+
"layout:assignments:deploy:kit",
|
|
1479
|
+
"kit:assignments:layout:deploy",
|
|
1480
|
+
"assignments:kit:layout:deploy",
|
|
1481
|
+
"assignments:layout:kit:deploy",
|
|
1482
|
+
"assignments:layout:deploy:kit",
|
|
1483
|
+
"kit:assignments:deploy:layout",
|
|
1484
|
+
"assignments:kit:deploy:layout",
|
|
1485
|
+
"assignments:deploy:kit:layout",
|
|
1486
|
+
"assignments:deploy:layout:kit",
|
|
1487
|
+
"kit:layout:deploy:assignments",
|
|
1488
|
+
"layout:kit:deploy:assignments",
|
|
1489
|
+
"layout:deploy:kit:assignments",
|
|
1490
|
+
"layout:deploy:assignments:kit",
|
|
1491
|
+
"kit:deploy:layout:assignments",
|
|
1492
|
+
"deploy:kit:layout:assignments",
|
|
1493
|
+
"deploy:layout:kit:assignments",
|
|
1494
|
+
"deploy:layout:assignments:kit",
|
|
1495
|
+
"kit:deploy:assignments:layout",
|
|
1496
|
+
"deploy:kit:assignments:layout",
|
|
1497
|
+
"deploy:assignments:kit:layout",
|
|
1498
|
+
"deploy:assignments:layout:kit"
|
|
1499
|
+
]
|
|
1500
|
+
},
|
|
1501
|
+
"kit:layout:assignments:retrieve": {
|
|
1502
|
+
"aliases": [],
|
|
1503
|
+
"args": {},
|
|
1504
|
+
"examples": [
|
|
1505
|
+
"Retrieve page layout assignments from the default org and save to the default path:\n<%= config.bin %> <%= command.id %>",
|
|
1506
|
+
"Retrieve Admin profile's Account and Contact page layout assignments and save to the specified path:\n<%= config.bin %> <%= command.id %> -p Admin -s Account -s Contact -f config/layout-assignments.scratch.json",
|
|
1507
|
+
"Retrieve page layout assignments from the specified org and save to the specified path:\n<%= config.bin %> <%= command.id %> -o me@my.org -f config/layout-assignments.sandbox.json"
|
|
1508
|
+
],
|
|
1509
|
+
"flags": {
|
|
1510
|
+
"json": {
|
|
1511
|
+
"description": "Format output as json.",
|
|
1512
|
+
"helpGroup": "GLOBAL",
|
|
1513
|
+
"name": "json",
|
|
1514
|
+
"allowNo": false,
|
|
1515
|
+
"type": "boolean"
|
|
1516
|
+
},
|
|
1517
|
+
"flags-dir": {
|
|
1518
|
+
"helpGroup": "GLOBAL",
|
|
1519
|
+
"name": "flags-dir",
|
|
1520
|
+
"summary": "Import flag values from a directory.",
|
|
1521
|
+
"hasDynamicHelp": false,
|
|
1522
|
+
"multiple": false,
|
|
1523
|
+
"type": "option"
|
|
1524
|
+
},
|
|
1525
|
+
"file": {
|
|
1526
|
+
"char": "f",
|
|
1527
|
+
"name": "file",
|
|
1528
|
+
"required": true,
|
|
1529
|
+
"summary": "Output file path of page layout assignment settings.",
|
|
1530
|
+
"default": "config/layout-assignments.json",
|
|
1531
|
+
"hasDynamicHelp": false,
|
|
1532
|
+
"multiple": false,
|
|
1533
|
+
"type": "option"
|
|
1534
|
+
},
|
|
1535
|
+
"profile": {
|
|
1536
|
+
"char": "p",
|
|
1537
|
+
"name": "profile",
|
|
1538
|
+
"required": false,
|
|
1539
|
+
"summary": "[default: all profiles] Profile names to retrieve",
|
|
1540
|
+
"hasDynamicHelp": false,
|
|
1541
|
+
"multiple": true,
|
|
1542
|
+
"type": "option"
|
|
1543
|
+
},
|
|
1544
|
+
"sobject": {
|
|
1545
|
+
"char": "s",
|
|
1546
|
+
"name": "sobject",
|
|
1547
|
+
"required": false,
|
|
1548
|
+
"summary": "[default: sobjects which have multiple layouts] SObject names to retrieve",
|
|
1549
|
+
"hasDynamicHelp": false,
|
|
1550
|
+
"multiple": true,
|
|
1551
|
+
"type": "option"
|
|
1552
|
+
},
|
|
1553
|
+
"merge": {
|
|
1554
|
+
"name": "merge",
|
|
1555
|
+
"required": false,
|
|
1556
|
+
"summary": "Merge retrieved configurations with existing file.",
|
|
1557
|
+
"allowNo": false,
|
|
1558
|
+
"type": "boolean"
|
|
1559
|
+
},
|
|
1560
|
+
"target-org": {
|
|
1561
|
+
"char": "o",
|
|
1562
|
+
"name": "target-org",
|
|
1563
|
+
"noCacheDefault": true,
|
|
1564
|
+
"required": true,
|
|
1565
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1566
|
+
"hasDynamicHelp": true,
|
|
1567
|
+
"multiple": false,
|
|
1568
|
+
"type": "option"
|
|
1569
|
+
},
|
|
1570
|
+
"api-version": {
|
|
1571
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1572
|
+
"name": "api-version",
|
|
1573
|
+
"hasDynamicHelp": false,
|
|
1574
|
+
"multiple": false,
|
|
1575
|
+
"type": "option"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"hasDynamicHelp": true,
|
|
1579
|
+
"hiddenAliases": [],
|
|
1580
|
+
"id": "kit:layout:assignments:retrieve",
|
|
1581
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1582
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1583
|
+
"pluginType": "core",
|
|
1584
|
+
"strict": true,
|
|
1585
|
+
"summary": "Retrieve page layout assignments and save to JSON file.",
|
|
1586
|
+
"enableJsonFlag": true,
|
|
1587
|
+
"requiresProject": true,
|
|
1588
|
+
"isESM": true,
|
|
1589
|
+
"relativePath": [
|
|
1590
|
+
"lib",
|
|
1591
|
+
"commands",
|
|
1592
|
+
"kit",
|
|
1593
|
+
"layout",
|
|
1594
|
+
"assignments",
|
|
1595
|
+
"retrieve.js"
|
|
1596
|
+
],
|
|
1597
|
+
"aliasPermutations": [],
|
|
1598
|
+
"permutations": [
|
|
1599
|
+
"kit:layout:assignments:retrieve",
|
|
1600
|
+
"layout:kit:assignments:retrieve",
|
|
1601
|
+
"layout:assignments:kit:retrieve",
|
|
1602
|
+
"layout:assignments:retrieve:kit",
|
|
1603
|
+
"kit:assignments:layout:retrieve",
|
|
1604
|
+
"assignments:kit:layout:retrieve",
|
|
1605
|
+
"assignments:layout:kit:retrieve",
|
|
1606
|
+
"assignments:layout:retrieve:kit",
|
|
1607
|
+
"kit:assignments:retrieve:layout",
|
|
1608
|
+
"assignments:kit:retrieve:layout",
|
|
1609
|
+
"assignments:retrieve:kit:layout",
|
|
1610
|
+
"assignments:retrieve:layout:kit",
|
|
1611
|
+
"kit:layout:retrieve:assignments",
|
|
1612
|
+
"layout:kit:retrieve:assignments",
|
|
1613
|
+
"layout:retrieve:kit:assignments",
|
|
1614
|
+
"layout:retrieve:assignments:kit",
|
|
1615
|
+
"kit:retrieve:layout:assignments",
|
|
1616
|
+
"retrieve:kit:layout:assignments",
|
|
1617
|
+
"retrieve:layout:kit:assignments",
|
|
1618
|
+
"retrieve:layout:assignments:kit",
|
|
1619
|
+
"kit:retrieve:assignments:layout",
|
|
1620
|
+
"retrieve:kit:assignments:layout",
|
|
1621
|
+
"retrieve:assignments:kit:layout",
|
|
1622
|
+
"retrieve:assignments:layout:kit"
|
|
1623
|
+
]
|
|
1624
|
+
},
|
|
1625
|
+
"kit:object:fields:describe": {
|
|
1626
|
+
"aliases": [],
|
|
1627
|
+
"args": {},
|
|
1628
|
+
"examples": [
|
|
1629
|
+
"Describe Account fields of the default org and save to csv file:\n<%= config.bin %> <%= command.id %> -s Account -f path/to/account_fields.csv",
|
|
1630
|
+
"Output CustomObject__c fields of the specified org as JSON format:\n<%= config.bin %> <%= command.id %> -o me@my.org -s CustomObject__c --json"
|
|
1631
|
+
],
|
|
1632
|
+
"flags": {
|
|
1633
|
+
"json": {
|
|
1634
|
+
"description": "Format output as json.",
|
|
1635
|
+
"helpGroup": "GLOBAL",
|
|
1636
|
+
"name": "json",
|
|
1637
|
+
"allowNo": false,
|
|
1638
|
+
"type": "boolean"
|
|
1639
|
+
},
|
|
1640
|
+
"flags-dir": {
|
|
1641
|
+
"helpGroup": "GLOBAL",
|
|
1642
|
+
"name": "flags-dir",
|
|
1643
|
+
"summary": "Import flag values from a directory.",
|
|
1644
|
+
"hasDynamicHelp": false,
|
|
1645
|
+
"multiple": false,
|
|
1646
|
+
"type": "option"
|
|
1647
|
+
},
|
|
1648
|
+
"sobject": {
|
|
1649
|
+
"char": "s",
|
|
1650
|
+
"name": "sobject",
|
|
1651
|
+
"required": true,
|
|
1652
|
+
"summary": "SObject name to describe",
|
|
1653
|
+
"hasDynamicHelp": false,
|
|
1654
|
+
"multiple": false,
|
|
1655
|
+
"type": "option"
|
|
1656
|
+
},
|
|
1657
|
+
"file": {
|
|
1658
|
+
"char": "f",
|
|
1659
|
+
"name": "file",
|
|
1660
|
+
"summary": "Output csv file path",
|
|
1661
|
+
"hasDynamicHelp": false,
|
|
1662
|
+
"multiple": false,
|
|
1663
|
+
"type": "option"
|
|
1664
|
+
},
|
|
1665
|
+
"target-org": {
|
|
1666
|
+
"char": "o",
|
|
1667
|
+
"name": "target-org",
|
|
1668
|
+
"noCacheDefault": true,
|
|
1669
|
+
"required": true,
|
|
1670
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1671
|
+
"hasDynamicHelp": true,
|
|
1672
|
+
"multiple": false,
|
|
1673
|
+
"type": "option"
|
|
1674
|
+
},
|
|
1675
|
+
"api-version": {
|
|
1676
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1677
|
+
"name": "api-version",
|
|
1678
|
+
"hasDynamicHelp": false,
|
|
1679
|
+
"multiple": false,
|
|
1680
|
+
"type": "option"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"hasDynamicHelp": true,
|
|
1684
|
+
"hiddenAliases": [],
|
|
1685
|
+
"id": "kit:object:fields:describe",
|
|
1686
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1687
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1688
|
+
"pluginType": "core",
|
|
1689
|
+
"strict": true,
|
|
1690
|
+
"summary": "Describe sobject fields information.",
|
|
1691
|
+
"enableJsonFlag": true,
|
|
1692
|
+
"isESM": true,
|
|
1693
|
+
"relativePath": [
|
|
1694
|
+
"lib",
|
|
1695
|
+
"commands",
|
|
1696
|
+
"kit",
|
|
1697
|
+
"object",
|
|
1698
|
+
"fields",
|
|
1699
|
+
"describe.js"
|
|
1700
|
+
],
|
|
1701
|
+
"aliasPermutations": [],
|
|
1702
|
+
"permutations": [
|
|
1703
|
+
"kit:object:fields:describe",
|
|
1704
|
+
"object:kit:fields:describe",
|
|
1705
|
+
"object:fields:kit:describe",
|
|
1706
|
+
"object:fields:describe:kit",
|
|
1707
|
+
"kit:fields:object:describe",
|
|
1708
|
+
"fields:kit:object:describe",
|
|
1709
|
+
"fields:object:kit:describe",
|
|
1710
|
+
"fields:object:describe:kit",
|
|
1711
|
+
"kit:fields:describe:object",
|
|
1712
|
+
"fields:kit:describe:object",
|
|
1713
|
+
"fields:describe:kit:object",
|
|
1714
|
+
"fields:describe:object:kit",
|
|
1715
|
+
"kit:object:describe:fields",
|
|
1716
|
+
"object:kit:describe:fields",
|
|
1717
|
+
"object:describe:kit:fields",
|
|
1718
|
+
"object:describe:fields:kit",
|
|
1719
|
+
"kit:describe:object:fields",
|
|
1720
|
+
"describe:kit:object:fields",
|
|
1721
|
+
"describe:object:kit:fields",
|
|
1722
|
+
"describe:object:fields:kit",
|
|
1723
|
+
"kit:describe:fields:object",
|
|
1724
|
+
"describe:kit:fields:object",
|
|
1725
|
+
"describe:fields:kit:object",
|
|
1726
|
+
"describe:fields:object:kit"
|
|
1727
|
+
]
|
|
1728
|
+
},
|
|
1729
|
+
"kit:object:fields:setup": {
|
|
1730
|
+
"aliases": [],
|
|
1731
|
+
"args": {},
|
|
1732
|
+
"examples": [
|
|
1733
|
+
"Upsert Account fields to the default org:\n<%= config.bin %> <%= command.id %> -s Account -f path/to/account_fields.csv",
|
|
1734
|
+
"Upsert and delete CustomObject__c fields to the specified org:\n<%= config.bin %> <%= command.id %> -o me@my.org -s CustomObject__c -f path/to/custom_object_fields.csv --delete"
|
|
1735
|
+
],
|
|
1736
|
+
"flags": {
|
|
1737
|
+
"json": {
|
|
1738
|
+
"description": "Format output as json.",
|
|
1739
|
+
"helpGroup": "GLOBAL",
|
|
1740
|
+
"name": "json",
|
|
1741
|
+
"allowNo": false,
|
|
1742
|
+
"type": "boolean"
|
|
1743
|
+
},
|
|
1744
|
+
"flags-dir": {
|
|
1745
|
+
"helpGroup": "GLOBAL",
|
|
1746
|
+
"name": "flags-dir",
|
|
1747
|
+
"summary": "Import flag values from a directory.",
|
|
1748
|
+
"hasDynamicHelp": false,
|
|
1749
|
+
"multiple": false,
|
|
1750
|
+
"type": "option"
|
|
1751
|
+
},
|
|
1752
|
+
"sobject": {
|
|
1753
|
+
"char": "s",
|
|
1754
|
+
"name": "sobject",
|
|
1755
|
+
"required": true,
|
|
1756
|
+
"summary": "SObject name to setup",
|
|
1757
|
+
"hasDynamicHelp": false,
|
|
1758
|
+
"multiple": false,
|
|
1759
|
+
"type": "option"
|
|
1760
|
+
},
|
|
1761
|
+
"file": {
|
|
1762
|
+
"char": "f",
|
|
1763
|
+
"name": "file",
|
|
1764
|
+
"required": true,
|
|
1765
|
+
"summary": "Input csv file path",
|
|
1766
|
+
"hasDynamicHelp": false,
|
|
1767
|
+
"multiple": false,
|
|
1768
|
+
"type": "option"
|
|
1769
|
+
},
|
|
1770
|
+
"delete": {
|
|
1771
|
+
"name": "delete",
|
|
1772
|
+
"summary": "Delete fields that are not in the csv file",
|
|
1773
|
+
"allowNo": false,
|
|
1774
|
+
"type": "boolean"
|
|
1775
|
+
},
|
|
1776
|
+
"force": {
|
|
1777
|
+
"name": "force",
|
|
1778
|
+
"summary": "Do not confirm when deleting",
|
|
1779
|
+
"allowNo": false,
|
|
1780
|
+
"type": "boolean"
|
|
1781
|
+
},
|
|
1782
|
+
"target-org": {
|
|
1783
|
+
"char": "o",
|
|
1784
|
+
"name": "target-org",
|
|
1785
|
+
"noCacheDefault": true,
|
|
1786
|
+
"required": true,
|
|
1787
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1788
|
+
"hasDynamicHelp": true,
|
|
1789
|
+
"multiple": false,
|
|
1790
|
+
"type": "option"
|
|
1791
|
+
},
|
|
1792
|
+
"api-version": {
|
|
1793
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1794
|
+
"name": "api-version",
|
|
1795
|
+
"hasDynamicHelp": false,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
"hasDynamicHelp": true,
|
|
1801
|
+
"hiddenAliases": [],
|
|
1802
|
+
"id": "kit:object:fields:setup",
|
|
1803
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1804
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
1805
|
+
"pluginType": "core",
|
|
1806
|
+
"strict": true,
|
|
1807
|
+
"summary": "Upsert and delete sobject fields from a CSV file.",
|
|
1808
|
+
"enableJsonFlag": true,
|
|
1809
|
+
"isESM": true,
|
|
1810
|
+
"relativePath": [
|
|
1811
|
+
"lib",
|
|
1812
|
+
"commands",
|
|
1813
|
+
"kit",
|
|
1814
|
+
"object",
|
|
1815
|
+
"fields",
|
|
1816
|
+
"setup.js"
|
|
1817
|
+
],
|
|
1818
|
+
"aliasPermutations": [],
|
|
1819
|
+
"permutations": [
|
|
1820
|
+
"kit:object:fields:setup",
|
|
1821
|
+
"object:kit:fields:setup",
|
|
1822
|
+
"object:fields:kit:setup",
|
|
1823
|
+
"object:fields:setup:kit",
|
|
1824
|
+
"kit:fields:object:setup",
|
|
1825
|
+
"fields:kit:object:setup",
|
|
1826
|
+
"fields:object:kit:setup",
|
|
1827
|
+
"fields:object:setup:kit",
|
|
1828
|
+
"kit:fields:setup:object",
|
|
1829
|
+
"fields:kit:setup:object",
|
|
1830
|
+
"fields:setup:kit:object",
|
|
1831
|
+
"fields:setup:object:kit",
|
|
1832
|
+
"kit:object:setup:fields",
|
|
1833
|
+
"object:kit:setup:fields",
|
|
1834
|
+
"object:setup:kit:fields",
|
|
1835
|
+
"object:setup:fields:kit",
|
|
1836
|
+
"kit:setup:object:fields",
|
|
1837
|
+
"setup:kit:object:fields",
|
|
1838
|
+
"setup:object:kit:fields",
|
|
1839
|
+
"setup:object:fields:kit",
|
|
1840
|
+
"kit:setup:fields:object",
|
|
1841
|
+
"setup:kit:fields:object",
|
|
1842
|
+
"setup:fields:kit:object",
|
|
1843
|
+
"setup:fields:object:kit"
|
|
1844
|
+
]
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"version": "1.0.1"
|
|
4
1848
|
}
|