@kitalive/sfdx-plugin 0.7.3 → 1.0.0-rc.0

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