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