@kitalive/sfdx-plugin 0.8.0 → 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.
- package/README.md +218 -154
- package/lib/bulk.js +175 -203
- package/lib/bulk.js.map +1 -1
- package/lib/commands/kit/data/bulk/delete.js +47 -47
- package/lib/commands/kit/data/bulk/delete.js.map +1 -1
- package/lib/commands/kit/data/bulk/insert.js +6 -4
- package/lib/commands/kit/data/bulk/insert.js.map +1 -1
- package/lib/commands/kit/data/bulk/query.js +34 -40
- package/lib/commands/kit/data/bulk/query.js.map +1 -1
- package/lib/commands/kit/data/bulk/update.js +6 -4
- package/lib/commands/kit/data/bulk/update.js.map +1 -1
- package/lib/commands/kit/data/bulk/upsert.js +18 -16
- package/lib/commands/kit/data/bulk/upsert.js.map +1 -1
- package/lib/commands/kit/data/csv/convert.js +60 -92
- package/lib/commands/kit/data/csv/convert.js.map +1 -1
- package/lib/commands/kit/graphql/editor.js +11 -13
- package/lib/commands/kit/graphql/editor.js.map +1 -1
- package/lib/commands/kit/layout/assignments/deploy.js +24 -30
- package/lib/commands/kit/layout/assignments/deploy.js.map +1 -1
- package/lib/commands/kit/layout/assignments/retrieve.js +47 -54
- package/lib/commands/kit/layout/assignments/retrieve.js.map +1 -1
- package/lib/commands/kit/metadata/dependencies.js +23 -51
- package/lib/commands/kit/metadata/dependencies.js.map +1 -1
- package/lib/commands/kit/object/fields/describe.js +27 -56
- package/lib/commands/kit/object/fields/describe.js.map +1 -1
- package/lib/commands/kit/object/fields/setup.js +53 -65
- package/lib/commands/kit/object/fields/setup.js.map +1 -1
- package/lib/commands/kit/script/execute.js +41 -57
- package/lib/commands/kit/script/execute.js.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/metadata.js +11 -23
- package/lib/metadata.js.map +1 -1
- package/lib/server.js +21 -28
- package/lib/server.js.map +1 -1
- package/lib/types.js +1 -2
- package/lib/utils.js +20 -53
- package/lib/utils.js.map +1 -1
- package/oclif.lock +8259 -0
- package/oclif.manifest.json +1201 -455
- package/package.json +39 -42
package/oclif.manifest.json
CHANGED
|
@@ -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
|
-
"
|
|
34
|
+
"type": "option"
|
|
25
35
|
},
|
|
26
36
|
"target-org": {
|
|
27
|
-
"name": "target-org",
|
|
28
|
-
"type": "option",
|
|
29
37
|
"char": "o",
|
|
30
|
-
"
|
|
38
|
+
"name": "target-org",
|
|
39
|
+
"noCacheDefault": true,
|
|
31
40
|
"required": true,
|
|
32
|
-
"
|
|
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
|
-
"
|
|
48
|
+
"name": "api-version",
|
|
49
|
+
"hasDynamicHelp": false,
|
|
50
|
+
"multiple": false,
|
|
51
|
+
"type": "option"
|
|
39
52
|
}
|
|
40
53
|
},
|
|
41
|
-
"
|
|
42
|
-
"
|
|
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
|
-
"
|
|
110
|
+
"type": "option"
|
|
63
111
|
},
|
|
64
112
|
"target-org": {
|
|
65
|
-
"name": "target-org",
|
|
66
|
-
"type": "option",
|
|
67
113
|
"char": "o",
|
|
68
|
-
"
|
|
114
|
+
"name": "target-org",
|
|
115
|
+
"noCacheDefault": true,
|
|
69
116
|
"required": true,
|
|
70
|
-
"
|
|
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
|
-
"
|
|
124
|
+
"name": "api-version",
|
|
125
|
+
"hasDynamicHelp": false,
|
|
126
|
+
"multiple": false,
|
|
127
|
+
"type": "option"
|
|
77
128
|
}
|
|
78
129
|
},
|
|
79
|
-
"
|
|
80
|
-
"
|
|
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,1613 @@
|
|
|
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
|
-
"
|
|
189
|
+
"hasDynamicHelp": false,
|
|
190
|
+
"multiple": false,
|
|
191
|
+
"type": "option"
|
|
106
192
|
},
|
|
107
193
|
"target-org": {
|
|
108
|
-
"name": "target-org",
|
|
109
|
-
"type": "option",
|
|
110
|
-
"char": "o",
|
|
111
|
-
"multiple": false,
|
|
112
194
|
"aliases": [
|
|
113
195
|
"targetusername",
|
|
114
196
|
"u"
|
|
115
|
-
]
|
|
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"
|
|
116
206
|
},
|
|
117
207
|
"api-version": {
|
|
118
|
-
"name": "api-version",
|
|
119
|
-
"type": "option",
|
|
120
208
|
"description": "Override the api version used for api requests made by this command",
|
|
121
|
-
"
|
|
209
|
+
"name": "api-version",
|
|
210
|
+
"hasDynamicHelp": false,
|
|
211
|
+
"multiple": false,
|
|
212
|
+
"type": "option"
|
|
122
213
|
}
|
|
123
214
|
},
|
|
124
|
-
"
|
|
125
|
-
"
|
|
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",
|
|
215
|
+
"hasDynamicHelp": true,
|
|
216
|
+
"hiddenAliases": [],
|
|
217
|
+
"id": "kit:script:execute",
|
|
132
218
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
219
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
133
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": {
|
|
134
246
|
"aliases": [],
|
|
247
|
+
"args": {},
|
|
135
248
|
"examples": [
|
|
136
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\""
|
|
137
250
|
],
|
|
138
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
|
+
},
|
|
139
267
|
"query": {
|
|
140
|
-
"name": "query",
|
|
141
|
-
"type": "option",
|
|
142
268
|
"char": "q",
|
|
143
|
-
"
|
|
269
|
+
"name": "query",
|
|
144
270
|
"required": true,
|
|
145
|
-
"
|
|
271
|
+
"summary": "SOQL query to delete",
|
|
272
|
+
"hasDynamicHelp": false,
|
|
273
|
+
"multiple": false,
|
|
274
|
+
"type": "option"
|
|
146
275
|
},
|
|
147
276
|
"hard": {
|
|
148
277
|
"name": "hard",
|
|
149
|
-
"type": "boolean",
|
|
150
278
|
"summary": "Perform a hard delete",
|
|
151
|
-
"allowNo": false
|
|
279
|
+
"allowNo": false,
|
|
280
|
+
"type": "boolean"
|
|
152
281
|
},
|
|
153
282
|
"concurrencymode": {
|
|
154
283
|
"name": "concurrencymode",
|
|
155
|
-
"type": "option",
|
|
156
284
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
285
|
+
"default": "Parallel",
|
|
286
|
+
"hasDynamicHelp": false,
|
|
157
287
|
"multiple": false,
|
|
158
|
-
"
|
|
288
|
+
"type": "option"
|
|
159
289
|
},
|
|
160
290
|
"batchsize": {
|
|
161
|
-
"name": "batchsize",
|
|
162
|
-
"type": "option",
|
|
163
291
|
"char": "s",
|
|
292
|
+
"name": "batchsize",
|
|
164
293
|
"summary": "The batch size of the job",
|
|
294
|
+
"default": 10000,
|
|
295
|
+
"hasDynamicHelp": false,
|
|
165
296
|
"multiple": false,
|
|
166
|
-
"
|
|
297
|
+
"type": "option"
|
|
167
298
|
},
|
|
168
299
|
"wait": {
|
|
169
|
-
"name": "wait",
|
|
170
|
-
"type": "option",
|
|
171
300
|
"char": "w",
|
|
301
|
+
"name": "wait",
|
|
172
302
|
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
173
|
-
"
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"multiple": false,
|
|
305
|
+
"type": "option"
|
|
174
306
|
},
|
|
175
307
|
"target-org": {
|
|
176
|
-
"name": "target-org",
|
|
177
|
-
"type": "option",
|
|
178
|
-
"char": "o",
|
|
179
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
180
|
-
"required": true,
|
|
181
|
-
"multiple": false,
|
|
182
308
|
"aliases": [
|
|
183
309
|
"targetusername",
|
|
184
310
|
"u"
|
|
185
|
-
]
|
|
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"
|
|
186
321
|
},
|
|
187
322
|
"api-version": {
|
|
188
|
-
"name": "api-version",
|
|
189
|
-
"type": "option",
|
|
190
323
|
"description": "Override the api version used for api requests made by this command",
|
|
191
|
-
"
|
|
324
|
+
"name": "api-version",
|
|
325
|
+
"hasDynamicHelp": false,
|
|
326
|
+
"multiple": false,
|
|
327
|
+
"type": "option"
|
|
192
328
|
}
|
|
193
329
|
},
|
|
194
|
-
"
|
|
195
|
-
"
|
|
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",
|
|
330
|
+
"hasDynamicHelp": true,
|
|
331
|
+
"hiddenAliases": [],
|
|
332
|
+
"id": "kit:data:bulk:delete",
|
|
202
333
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
334
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
203
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": {
|
|
204
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.",
|
|
205
380
|
"examples": [
|
|
206
381
|
"Insert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
207
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"
|
|
208
383
|
],
|
|
209
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
|
+
},
|
|
210
400
|
"sobject": {
|
|
211
|
-
"name": "sobject",
|
|
212
|
-
"type": "option",
|
|
213
401
|
"char": "s",
|
|
214
|
-
"
|
|
402
|
+
"name": "sobject",
|
|
215
403
|
"required": true,
|
|
216
|
-
"
|
|
404
|
+
"summary": "The SObject name to insert",
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
217
408
|
},
|
|
218
409
|
"csvfile": {
|
|
219
|
-
"name": "csvfile",
|
|
220
|
-
"type": "option",
|
|
221
410
|
"char": "f",
|
|
222
|
-
"
|
|
411
|
+
"name": "csvfile",
|
|
223
412
|
"required": true,
|
|
224
|
-
"
|
|
413
|
+
"summary": "The CSV file path that defines the records to insert",
|
|
414
|
+
"hasDynamicHelp": false,
|
|
415
|
+
"multiple": false,
|
|
416
|
+
"type": "option"
|
|
225
417
|
},
|
|
226
418
|
"resultfile": {
|
|
227
|
-
"name": "resultfile",
|
|
228
|
-
"type": "option",
|
|
229
419
|
"char": "r",
|
|
420
|
+
"name": "resultfile",
|
|
230
421
|
"summary": "The CSV file path for writing the insert results",
|
|
231
|
-
"
|
|
422
|
+
"hasDynamicHelp": false,
|
|
423
|
+
"multiple": false,
|
|
424
|
+
"type": "option"
|
|
232
425
|
},
|
|
233
426
|
"encoding": {
|
|
234
|
-
"name": "encoding",
|
|
235
|
-
"type": "option",
|
|
236
427
|
"char": "e",
|
|
428
|
+
"name": "encoding",
|
|
237
429
|
"summary": "The input CSV file encoding",
|
|
430
|
+
"default": "utf8",
|
|
431
|
+
"hasDynamicHelp": false,
|
|
238
432
|
"multiple": false,
|
|
239
|
-
"
|
|
433
|
+
"type": "option"
|
|
240
434
|
},
|
|
241
435
|
"delimiter": {
|
|
242
|
-
"name": "delimiter",
|
|
243
|
-
"type": "option",
|
|
244
436
|
"char": "d",
|
|
437
|
+
"name": "delimiter",
|
|
245
438
|
"summary": "The input CSV file delimiter",
|
|
439
|
+
"default": ",",
|
|
440
|
+
"hasDynamicHelp": false,
|
|
246
441
|
"multiple": false,
|
|
247
|
-
"
|
|
442
|
+
"type": "option"
|
|
248
443
|
},
|
|
249
444
|
"quote": {
|
|
250
|
-
"name": "quote",
|
|
251
|
-
"type": "option",
|
|
252
445
|
"char": "q",
|
|
446
|
+
"name": "quote",
|
|
253
447
|
"summary": "The input CSV file quote character",
|
|
448
|
+
"default": "\"",
|
|
449
|
+
"hasDynamicHelp": false,
|
|
254
450
|
"multiple": false,
|
|
255
|
-
"
|
|
451
|
+
"type": "option"
|
|
256
452
|
},
|
|
257
453
|
"skiplines": {
|
|
258
454
|
"name": "skiplines",
|
|
259
|
-
"type": "option",
|
|
260
455
|
"summary": "The number of lines to skip",
|
|
456
|
+
"default": 0,
|
|
457
|
+
"hasDynamicHelp": false,
|
|
261
458
|
"multiple": false,
|
|
262
|
-
"
|
|
459
|
+
"type": "option"
|
|
263
460
|
},
|
|
264
461
|
"trim": {
|
|
265
462
|
"name": "trim",
|
|
266
|
-
"type": "boolean",
|
|
267
463
|
"summary": "Trim all white space from columns",
|
|
268
|
-
"allowNo": false
|
|
464
|
+
"allowNo": false,
|
|
465
|
+
"type": "boolean"
|
|
269
466
|
},
|
|
270
467
|
"mapping": {
|
|
271
|
-
"name": "mapping",
|
|
272
|
-
"type": "option",
|
|
273
468
|
"char": "m",
|
|
469
|
+
"name": "mapping",
|
|
274
470
|
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
275
|
-
"
|
|
471
|
+
"hasDynamicHelp": false,
|
|
472
|
+
"multiple": false,
|
|
473
|
+
"type": "option"
|
|
276
474
|
},
|
|
277
475
|
"converter": {
|
|
278
|
-
"name": "converter",
|
|
279
|
-
"type": "option",
|
|
280
476
|
"char": "c",
|
|
477
|
+
"name": "converter",
|
|
281
478
|
"summary": "The path of the script to convert CSV rows",
|
|
282
|
-
"
|
|
479
|
+
"hasDynamicHelp": false,
|
|
480
|
+
"multiple": false,
|
|
481
|
+
"type": "option"
|
|
283
482
|
},
|
|
284
483
|
"setnull": {
|
|
285
484
|
"name": "setnull",
|
|
286
|
-
"type": "boolean",
|
|
287
485
|
"summary": "Set blank values as null values during insert operations (default: empty field values are ignored)",
|
|
288
|
-
"allowNo": false
|
|
486
|
+
"allowNo": false,
|
|
487
|
+
"type": "boolean"
|
|
289
488
|
},
|
|
290
489
|
"convertonly": {
|
|
291
490
|
"name": "convertonly",
|
|
292
|
-
"type": "boolean",
|
|
293
491
|
"summary": "Output converted.csv file and skip insert for debugging",
|
|
294
|
-
"allowNo": false
|
|
492
|
+
"allowNo": false,
|
|
493
|
+
"type": "boolean"
|
|
295
494
|
},
|
|
296
495
|
"concurrencymode": {
|
|
297
496
|
"name": "concurrencymode",
|
|
298
|
-
"type": "option",
|
|
299
497
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
498
|
+
"default": "Parallel",
|
|
499
|
+
"hasDynamicHelp": false,
|
|
300
500
|
"multiple": false,
|
|
301
|
-
"
|
|
501
|
+
"type": "option"
|
|
302
502
|
},
|
|
303
503
|
"assignmentruleid": {
|
|
304
504
|
"name": "assignmentruleid",
|
|
305
|
-
"type": "option",
|
|
306
505
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
307
|
-
"
|
|
506
|
+
"hasDynamicHelp": false,
|
|
507
|
+
"multiple": false,
|
|
508
|
+
"type": "option"
|
|
308
509
|
},
|
|
309
510
|
"batchsize": {
|
|
310
511
|
"name": "batchsize",
|
|
311
|
-
"type": "option",
|
|
312
512
|
"summary": "The batch size of the job",
|
|
513
|
+
"default": 10000,
|
|
514
|
+
"hasDynamicHelp": false,
|
|
313
515
|
"multiple": false,
|
|
314
|
-
"
|
|
516
|
+
"type": "option"
|
|
315
517
|
},
|
|
316
518
|
"wait": {
|
|
317
|
-
"name": "wait",
|
|
318
|
-
"type": "option",
|
|
319
519
|
"char": "w",
|
|
520
|
+
"name": "wait",
|
|
320
521
|
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
321
|
-
"
|
|
522
|
+
"hasDynamicHelp": false,
|
|
523
|
+
"multiple": false,
|
|
524
|
+
"type": "option"
|
|
322
525
|
},
|
|
323
526
|
"target-org": {
|
|
324
|
-
"name": "target-org",
|
|
325
|
-
"type": "option",
|
|
326
|
-
"char": "o",
|
|
327
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
328
|
-
"required": true,
|
|
329
|
-
"multiple": false,
|
|
330
527
|
"aliases": [
|
|
331
528
|
"targetusername",
|
|
332
529
|
"u"
|
|
333
|
-
]
|
|
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"
|
|
334
540
|
},
|
|
335
541
|
"api-version": {
|
|
336
|
-
"name": "api-version",
|
|
337
|
-
"type": "option",
|
|
338
542
|
"description": "Override the api version used for api requests made by this command",
|
|
339
|
-
"
|
|
543
|
+
"name": "api-version",
|
|
544
|
+
"hasDynamicHelp": false,
|
|
545
|
+
"multiple": false,
|
|
546
|
+
"type": "option"
|
|
340
547
|
}
|
|
341
548
|
},
|
|
342
|
-
"
|
|
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,
|
|
343
557
|
"requiresProject": false,
|
|
344
|
-
"
|
|
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
|
+
]
|
|
345
594
|
},
|
|
346
595
|
"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
596
|
"aliases": [],
|
|
597
|
+
"args": {},
|
|
354
598
|
"examples": [
|
|
355
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"
|
|
356
600
|
],
|
|
357
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
|
+
},
|
|
358
617
|
"query": {
|
|
359
|
-
"name": "query",
|
|
360
|
-
"type": "option",
|
|
361
618
|
"char": "q",
|
|
362
|
-
"
|
|
619
|
+
"name": "query",
|
|
363
620
|
"required": true,
|
|
364
|
-
"
|
|
621
|
+
"summary": "SOQL query to export",
|
|
622
|
+
"hasDynamicHelp": false,
|
|
623
|
+
"multiple": false,
|
|
624
|
+
"type": "option"
|
|
365
625
|
},
|
|
366
626
|
"csvfile": {
|
|
367
|
-
"name": "csvfile",
|
|
368
|
-
"type": "option",
|
|
369
627
|
"char": "f",
|
|
628
|
+
"name": "csvfile",
|
|
370
629
|
"summary": "[default: standard output] Output csv file",
|
|
371
|
-
"
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
372
633
|
},
|
|
373
634
|
"all": {
|
|
374
635
|
"name": "all",
|
|
375
|
-
"type": "boolean",
|
|
376
636
|
"summary": "include deleted or archived records",
|
|
377
|
-
"allowNo": false
|
|
637
|
+
"allowNo": false,
|
|
638
|
+
"type": "boolean"
|
|
378
639
|
},
|
|
379
640
|
"wait": {
|
|
380
|
-
"name": "wait",
|
|
381
|
-
"type": "option",
|
|
382
641
|
"char": "w",
|
|
642
|
+
"name": "wait",
|
|
383
643
|
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
644
|
+
"default": 5,
|
|
645
|
+
"hasDynamicHelp": false,
|
|
384
646
|
"multiple": false,
|
|
385
|
-
"
|
|
647
|
+
"type": "option"
|
|
386
648
|
},
|
|
387
649
|
"target-org": {
|
|
388
|
-
"name": "target-org",
|
|
389
|
-
"type": "option",
|
|
390
|
-
"char": "o",
|
|
391
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
392
|
-
"required": true,
|
|
393
|
-
"multiple": false,
|
|
394
650
|
"aliases": [
|
|
395
651
|
"targetusername",
|
|
396
652
|
"u"
|
|
397
|
-
]
|
|
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"
|
|
398
663
|
},
|
|
399
664
|
"api-version": {
|
|
400
|
-
"name": "api-version",
|
|
401
|
-
"type": "option",
|
|
402
665
|
"description": "Override the api version used for api requests made by this command",
|
|
403
|
-
"
|
|
666
|
+
"name": "api-version",
|
|
667
|
+
"hasDynamicHelp": false,
|
|
668
|
+
"multiple": false,
|
|
669
|
+
"type": "option"
|
|
404
670
|
}
|
|
405
671
|
},
|
|
406
|
-
"
|
|
407
|
-
"
|
|
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",
|
|
672
|
+
"hasDynamicHelp": true,
|
|
673
|
+
"hiddenAliases": [],
|
|
674
|
+
"id": "kit:data:bulk:query",
|
|
414
675
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
676
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
415
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": {
|
|
416
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.",
|
|
417
722
|
"examples": [
|
|
418
723
|
"Update Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
419
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"
|
|
420
725
|
],
|
|
421
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
|
+
},
|
|
422
742
|
"sobject": {
|
|
423
|
-
"name": "sobject",
|
|
424
|
-
"type": "option",
|
|
425
743
|
"char": "s",
|
|
426
|
-
"
|
|
744
|
+
"name": "sobject",
|
|
427
745
|
"required": true,
|
|
428
|
-
"
|
|
746
|
+
"summary": "The SObject name to update",
|
|
747
|
+
"hasDynamicHelp": false,
|
|
748
|
+
"multiple": false,
|
|
749
|
+
"type": "option"
|
|
429
750
|
},
|
|
430
751
|
"csvfile": {
|
|
431
|
-
"name": "csvfile",
|
|
432
|
-
"type": "option",
|
|
433
752
|
"char": "f",
|
|
434
|
-
"
|
|
753
|
+
"name": "csvfile",
|
|
435
754
|
"required": true,
|
|
436
|
-
"
|
|
755
|
+
"summary": "The CSV file path that defines the records to update",
|
|
756
|
+
"hasDynamicHelp": false,
|
|
757
|
+
"multiple": false,
|
|
758
|
+
"type": "option"
|
|
437
759
|
},
|
|
438
760
|
"resultfile": {
|
|
439
|
-
"name": "resultfile",
|
|
440
|
-
"type": "option",
|
|
441
761
|
"char": "r",
|
|
762
|
+
"name": "resultfile",
|
|
442
763
|
"summary": "The CSV file path for writing the update results",
|
|
443
|
-
"
|
|
764
|
+
"hasDynamicHelp": false,
|
|
765
|
+
"multiple": false,
|
|
766
|
+
"type": "option"
|
|
444
767
|
},
|
|
445
768
|
"encoding": {
|
|
446
|
-
"name": "encoding",
|
|
447
|
-
"type": "option",
|
|
448
769
|
"char": "e",
|
|
770
|
+
"name": "encoding",
|
|
449
771
|
"summary": "The input CSV file encoding",
|
|
772
|
+
"default": "utf8",
|
|
773
|
+
"hasDynamicHelp": false,
|
|
450
774
|
"multiple": false,
|
|
451
|
-
"
|
|
775
|
+
"type": "option"
|
|
452
776
|
},
|
|
453
777
|
"delimiter": {
|
|
454
|
-
"name": "delimiter",
|
|
455
|
-
"type": "option",
|
|
456
778
|
"char": "d",
|
|
779
|
+
"name": "delimiter",
|
|
457
780
|
"summary": "The input CSV file delimiter",
|
|
781
|
+
"default": ",",
|
|
782
|
+
"hasDynamicHelp": false,
|
|
458
783
|
"multiple": false,
|
|
459
|
-
"
|
|
784
|
+
"type": "option"
|
|
460
785
|
},
|
|
461
786
|
"quote": {
|
|
462
|
-
"name": "quote",
|
|
463
|
-
"type": "option",
|
|
464
787
|
"char": "q",
|
|
788
|
+
"name": "quote",
|
|
465
789
|
"summary": "The input CSV file quote character",
|
|
790
|
+
"default": "\"",
|
|
791
|
+
"hasDynamicHelp": false,
|
|
466
792
|
"multiple": false,
|
|
467
|
-
"
|
|
793
|
+
"type": "option"
|
|
468
794
|
},
|
|
469
795
|
"skiplines": {
|
|
470
796
|
"name": "skiplines",
|
|
471
|
-
"type": "option",
|
|
472
797
|
"summary": "The number of lines to skip",
|
|
798
|
+
"default": 0,
|
|
799
|
+
"hasDynamicHelp": false,
|
|
473
800
|
"multiple": false,
|
|
474
|
-
"
|
|
801
|
+
"type": "option"
|
|
475
802
|
},
|
|
476
803
|
"trim": {
|
|
477
804
|
"name": "trim",
|
|
478
|
-
"type": "boolean",
|
|
479
805
|
"summary": "Trim all white space from columns",
|
|
480
|
-
"allowNo": false
|
|
806
|
+
"allowNo": false,
|
|
807
|
+
"type": "boolean"
|
|
481
808
|
},
|
|
482
809
|
"mapping": {
|
|
483
|
-
"name": "mapping",
|
|
484
|
-
"type": "option",
|
|
485
810
|
"char": "m",
|
|
811
|
+
"name": "mapping",
|
|
486
812
|
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
487
|
-
"
|
|
813
|
+
"hasDynamicHelp": false,
|
|
814
|
+
"multiple": false,
|
|
815
|
+
"type": "option"
|
|
488
816
|
},
|
|
489
817
|
"converter": {
|
|
490
|
-
"name": "converter",
|
|
491
|
-
"type": "option",
|
|
492
818
|
"char": "c",
|
|
819
|
+
"name": "converter",
|
|
493
820
|
"summary": "The path of the script to convert CSV rows",
|
|
494
|
-
"
|
|
821
|
+
"hasDynamicHelp": false,
|
|
822
|
+
"multiple": false,
|
|
823
|
+
"type": "option"
|
|
495
824
|
},
|
|
496
825
|
"setnull": {
|
|
497
826
|
"name": "setnull",
|
|
498
|
-
"type": "boolean",
|
|
499
827
|
"summary": "Set blank values as null values during update operations (default: empty field values are ignored)",
|
|
500
|
-
"allowNo": false
|
|
828
|
+
"allowNo": false,
|
|
829
|
+
"type": "boolean"
|
|
501
830
|
},
|
|
502
831
|
"convertonly": {
|
|
503
832
|
"name": "convertonly",
|
|
504
|
-
"type": "boolean",
|
|
505
833
|
"summary": "Output converted.csv file and skip update for debugging",
|
|
506
|
-
"allowNo": false
|
|
834
|
+
"allowNo": false,
|
|
835
|
+
"type": "boolean"
|
|
507
836
|
},
|
|
508
837
|
"concurrencymode": {
|
|
509
838
|
"name": "concurrencymode",
|
|
510
|
-
"type": "option",
|
|
511
839
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
840
|
+
"default": "Parallel",
|
|
841
|
+
"hasDynamicHelp": false,
|
|
512
842
|
"multiple": false,
|
|
513
|
-
"
|
|
843
|
+
"type": "option"
|
|
514
844
|
},
|
|
515
845
|
"assignmentruleid": {
|
|
516
846
|
"name": "assignmentruleid",
|
|
517
|
-
"type": "option",
|
|
518
847
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
519
|
-
"
|
|
848
|
+
"hasDynamicHelp": false,
|
|
849
|
+
"multiple": false,
|
|
850
|
+
"type": "option"
|
|
520
851
|
},
|
|
521
852
|
"batchsize": {
|
|
522
853
|
"name": "batchsize",
|
|
523
|
-
"type": "option",
|
|
524
854
|
"summary": "The batch size of the job",
|
|
855
|
+
"default": 10000,
|
|
856
|
+
"hasDynamicHelp": false,
|
|
525
857
|
"multiple": false,
|
|
526
|
-
"
|
|
858
|
+
"type": "option"
|
|
527
859
|
},
|
|
528
860
|
"wait": {
|
|
529
|
-
"name": "wait",
|
|
530
|
-
"type": "option",
|
|
531
861
|
"char": "w",
|
|
862
|
+
"name": "wait",
|
|
532
863
|
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
533
|
-
"
|
|
864
|
+
"hasDynamicHelp": false,
|
|
865
|
+
"multiple": false,
|
|
866
|
+
"type": "option"
|
|
534
867
|
},
|
|
535
868
|
"target-org": {
|
|
536
|
-
"name": "target-org",
|
|
537
|
-
"type": "option",
|
|
538
|
-
"char": "o",
|
|
539
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
540
|
-
"required": true,
|
|
541
|
-
"multiple": false,
|
|
542
869
|
"aliases": [
|
|
543
870
|
"targetusername",
|
|
544
871
|
"u"
|
|
545
|
-
]
|
|
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"
|
|
546
882
|
},
|
|
547
883
|
"api-version": {
|
|
548
|
-
"name": "api-version",
|
|
549
|
-
"type": "option",
|
|
550
884
|
"description": "Override the api version used for api requests made by this command",
|
|
551
|
-
"
|
|
885
|
+
"name": "api-version",
|
|
886
|
+
"hasDynamicHelp": false,
|
|
887
|
+
"multiple": false,
|
|
888
|
+
"type": "option"
|
|
552
889
|
}
|
|
553
890
|
},
|
|
554
|
-
"
|
|
891
|
+
"hasDynamicHelp": true,
|
|
892
|
+
"hiddenAliases": [],
|
|
893
|
+
"id": "kit:data:bulk:update",
|
|
894
|
+
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
895
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
896
|
+
"pluginType": "core",
|
|
897
|
+
"strict": true,
|
|
898
|
+
"enableJsonFlag": true,
|
|
555
899
|
"requiresProject": false,
|
|
556
|
-
"
|
|
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
|
+
]
|
|
557
936
|
},
|
|
558
937
|
"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
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.",
|
|
566
941
|
"examples": [
|
|
567
942
|
"Upsert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
568
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"
|
|
569
944
|
],
|
|
570
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
|
+
},
|
|
571
961
|
"sobject": {
|
|
572
|
-
"name": "sobject",
|
|
573
|
-
"type": "option",
|
|
574
962
|
"char": "s",
|
|
575
|
-
"
|
|
963
|
+
"name": "sobject",
|
|
576
964
|
"required": true,
|
|
577
|
-
"
|
|
965
|
+
"summary": "The SObject name to upsert",
|
|
966
|
+
"hasDynamicHelp": false,
|
|
967
|
+
"multiple": false,
|
|
968
|
+
"type": "option"
|
|
578
969
|
},
|
|
579
970
|
"csvfile": {
|
|
580
|
-
"name": "csvfile",
|
|
581
|
-
"type": "option",
|
|
582
971
|
"char": "f",
|
|
583
|
-
"
|
|
972
|
+
"name": "csvfile",
|
|
584
973
|
"required": true,
|
|
585
|
-
"
|
|
974
|
+
"summary": "The CSV file path that defines the records to upsert",
|
|
975
|
+
"hasDynamicHelp": false,
|
|
976
|
+
"multiple": false,
|
|
977
|
+
"type": "option"
|
|
586
978
|
},
|
|
587
979
|
"resultfile": {
|
|
588
|
-
"name": "resultfile",
|
|
589
|
-
"type": "option",
|
|
590
980
|
"char": "r",
|
|
981
|
+
"name": "resultfile",
|
|
591
982
|
"summary": "The CSV file path for writing the upsert results",
|
|
592
|
-
"
|
|
983
|
+
"hasDynamicHelp": false,
|
|
984
|
+
"multiple": false,
|
|
985
|
+
"type": "option"
|
|
593
986
|
},
|
|
594
987
|
"encoding": {
|
|
595
|
-
"name": "encoding",
|
|
596
|
-
"type": "option",
|
|
597
988
|
"char": "e",
|
|
989
|
+
"name": "encoding",
|
|
598
990
|
"summary": "The input CSV file encoding",
|
|
991
|
+
"default": "utf8",
|
|
992
|
+
"hasDynamicHelp": false,
|
|
599
993
|
"multiple": false,
|
|
600
|
-
"
|
|
994
|
+
"type": "option"
|
|
601
995
|
},
|
|
602
996
|
"delimiter": {
|
|
603
|
-
"name": "delimiter",
|
|
604
|
-
"type": "option",
|
|
605
997
|
"char": "d",
|
|
998
|
+
"name": "delimiter",
|
|
606
999
|
"summary": "The input CSV file delimiter",
|
|
1000
|
+
"default": ",",
|
|
1001
|
+
"hasDynamicHelp": false,
|
|
607
1002
|
"multiple": false,
|
|
608
|
-
"
|
|
1003
|
+
"type": "option"
|
|
609
1004
|
},
|
|
610
1005
|
"quote": {
|
|
611
|
-
"name": "quote",
|
|
612
|
-
"type": "option",
|
|
613
1006
|
"char": "q",
|
|
1007
|
+
"name": "quote",
|
|
614
1008
|
"summary": "The input CSV file quote character",
|
|
1009
|
+
"default": "\"",
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
615
1011
|
"multiple": false,
|
|
616
|
-
"
|
|
1012
|
+
"type": "option"
|
|
617
1013
|
},
|
|
618
1014
|
"skiplines": {
|
|
619
1015
|
"name": "skiplines",
|
|
620
|
-
"type": "option",
|
|
621
1016
|
"summary": "The number of lines to skip",
|
|
1017
|
+
"default": 0,
|
|
1018
|
+
"hasDynamicHelp": false,
|
|
622
1019
|
"multiple": false,
|
|
623
|
-
"
|
|
1020
|
+
"type": "option"
|
|
624
1021
|
},
|
|
625
1022
|
"trim": {
|
|
626
1023
|
"name": "trim",
|
|
627
|
-
"type": "boolean",
|
|
628
1024
|
"summary": "Trim all white space from columns",
|
|
629
|
-
"allowNo": false
|
|
1025
|
+
"allowNo": false,
|
|
1026
|
+
"type": "boolean"
|
|
630
1027
|
},
|
|
631
1028
|
"mapping": {
|
|
632
|
-
"name": "mapping",
|
|
633
|
-
"type": "option",
|
|
634
1029
|
"char": "m",
|
|
1030
|
+
"name": "mapping",
|
|
635
1031
|
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
636
|
-
"
|
|
1032
|
+
"hasDynamicHelp": false,
|
|
1033
|
+
"multiple": false,
|
|
1034
|
+
"type": "option"
|
|
637
1035
|
},
|
|
638
1036
|
"converter": {
|
|
639
|
-
"name": "converter",
|
|
640
|
-
"type": "option",
|
|
641
1037
|
"char": "c",
|
|
1038
|
+
"name": "converter",
|
|
642
1039
|
"summary": "The path of the script to convert CSV rows",
|
|
643
|
-
"
|
|
1040
|
+
"hasDynamicHelp": false,
|
|
1041
|
+
"multiple": false,
|
|
1042
|
+
"type": "option"
|
|
644
1043
|
},
|
|
645
1044
|
"setnull": {
|
|
646
1045
|
"name": "setnull",
|
|
647
|
-
"type": "boolean",
|
|
648
1046
|
"summary": "Set blank values as null values during upsert operations (default: empty field values are ignored)",
|
|
649
|
-
"allowNo": false
|
|
1047
|
+
"allowNo": false,
|
|
1048
|
+
"type": "boolean"
|
|
650
1049
|
},
|
|
651
1050
|
"convertonly": {
|
|
652
1051
|
"name": "convertonly",
|
|
653
|
-
"type": "boolean",
|
|
654
1052
|
"summary": "Output converted.csv file and skip upsert for debugging",
|
|
655
|
-
"allowNo": false
|
|
1053
|
+
"allowNo": false,
|
|
1054
|
+
"type": "boolean"
|
|
656
1055
|
},
|
|
657
1056
|
"concurrencymode": {
|
|
658
1057
|
"name": "concurrencymode",
|
|
659
|
-
"type": "option",
|
|
660
1058
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
1059
|
+
"default": "Parallel",
|
|
1060
|
+
"hasDynamicHelp": false,
|
|
661
1061
|
"multiple": false,
|
|
662
|
-
"
|
|
1062
|
+
"type": "option"
|
|
663
1063
|
},
|
|
664
1064
|
"assignmentruleid": {
|
|
665
1065
|
"name": "assignmentruleid",
|
|
666
|
-
"type": "option",
|
|
667
1066
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
668
|
-
"
|
|
1067
|
+
"hasDynamicHelp": false,
|
|
1068
|
+
"multiple": false,
|
|
1069
|
+
"type": "option"
|
|
669
1070
|
},
|
|
670
1071
|
"batchsize": {
|
|
671
1072
|
"name": "batchsize",
|
|
672
|
-
"type": "option",
|
|
673
1073
|
"summary": "The batch size of the job",
|
|
1074
|
+
"default": 10000,
|
|
1075
|
+
"hasDynamicHelp": false,
|
|
674
1076
|
"multiple": false,
|
|
675
|
-
"
|
|
1077
|
+
"type": "option"
|
|
676
1078
|
},
|
|
677
1079
|
"wait": {
|
|
678
|
-
"name": "wait",
|
|
679
|
-
"type": "option",
|
|
680
1080
|
"char": "w",
|
|
1081
|
+
"name": "wait",
|
|
681
1082
|
"summary": "The number of minutes to wait for the command to complete before displaying the results",
|
|
682
|
-
"
|
|
1083
|
+
"hasDynamicHelp": false,
|
|
1084
|
+
"multiple": false,
|
|
1085
|
+
"type": "option"
|
|
683
1086
|
},
|
|
684
1087
|
"target-org": {
|
|
685
|
-
"name": "target-org",
|
|
686
|
-
"type": "option",
|
|
687
|
-
"char": "o",
|
|
688
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
689
|
-
"required": true,
|
|
690
|
-
"multiple": false,
|
|
691
1088
|
"aliases": [
|
|
692
1089
|
"targetusername",
|
|
693
1090
|
"u"
|
|
694
|
-
]
|
|
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"
|
|
695
1101
|
},
|
|
696
1102
|
"api-version": {
|
|
697
|
-
"name": "api-version",
|
|
698
|
-
"type": "option",
|
|
699
1103
|
"description": "Override the api version used for api requests made by this command",
|
|
700
|
-
"
|
|
1104
|
+
"name": "api-version",
|
|
1105
|
+
"hasDynamicHelp": false,
|
|
1106
|
+
"multiple": false,
|
|
1107
|
+
"type": "option"
|
|
701
1108
|
},
|
|
702
1109
|
"externalid": {
|
|
703
|
-
"name": "externalid",
|
|
704
|
-
"type": "option",
|
|
705
1110
|
"char": "i",
|
|
706
|
-
"
|
|
1111
|
+
"name": "externalid",
|
|
707
1112
|
"required": true,
|
|
1113
|
+
"summary": "The column name of the external ID",
|
|
1114
|
+
"default": "Id",
|
|
1115
|
+
"hasDynamicHelp": false,
|
|
708
1116
|
"multiple": false,
|
|
709
|
-
"
|
|
1117
|
+
"type": "option"
|
|
710
1118
|
}
|
|
711
1119
|
},
|
|
712
|
-
"
|
|
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,
|
|
713
1128
|
"requiresProject": false,
|
|
714
|
-
"
|
|
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
|
+
]
|
|
715
1165
|
},
|
|
716
1166
|
"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
1167
|
"aliases": [],
|
|
1168
|
+
"args": {},
|
|
724
1169
|
"examples": [
|
|
725
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",
|
|
726
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"
|
|
727
1172
|
],
|
|
728
1173
|
"flags": {
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"
|
|
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,
|
|
734
1186
|
"multiple": false,
|
|
1187
|
+
"type": "option"
|
|
1188
|
+
},
|
|
1189
|
+
"input": {
|
|
735
1190
|
"aliases": [
|
|
736
1191
|
"inputfile",
|
|
737
1192
|
"f"
|
|
738
|
-
]
|
|
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"
|
|
739
1201
|
},
|
|
740
1202
|
"output": {
|
|
741
|
-
"
|
|
742
|
-
|
|
1203
|
+
"aliases": [
|
|
1204
|
+
"outputfile"
|
|
1205
|
+
],
|
|
743
1206
|
"char": "o",
|
|
1207
|
+
"deprecateAliases": true,
|
|
1208
|
+
"name": "output",
|
|
744
1209
|
"summary": "[default: standard output] The path of the output CSV file",
|
|
1210
|
+
"hasDynamicHelp": false,
|
|
745
1211
|
"multiple": false,
|
|
746
|
-
"
|
|
747
|
-
"outputfile"
|
|
748
|
-
]
|
|
1212
|
+
"type": "option"
|
|
749
1213
|
},
|
|
750
1214
|
"encoding": {
|
|
751
|
-
"name": "encoding",
|
|
752
|
-
"type": "option",
|
|
753
1215
|
"char": "e",
|
|
1216
|
+
"name": "encoding",
|
|
754
1217
|
"summary": "The input CSV file encoding",
|
|
1218
|
+
"default": "utf8",
|
|
1219
|
+
"hasDynamicHelp": false,
|
|
755
1220
|
"multiple": false,
|
|
756
|
-
"
|
|
1221
|
+
"type": "option"
|
|
757
1222
|
},
|
|
758
1223
|
"delimiter": {
|
|
759
|
-
"name": "delimiter",
|
|
760
|
-
"type": "option",
|
|
761
1224
|
"char": "d",
|
|
1225
|
+
"name": "delimiter",
|
|
762
1226
|
"summary": "The input CSV file delimiter",
|
|
1227
|
+
"default": ",",
|
|
1228
|
+
"hasDynamicHelp": false,
|
|
763
1229
|
"multiple": false,
|
|
764
|
-
"
|
|
1230
|
+
"type": "option"
|
|
765
1231
|
},
|
|
766
1232
|
"quote": {
|
|
767
|
-
"name": "quote",
|
|
768
|
-
"type": "option",
|
|
769
1233
|
"char": "q",
|
|
1234
|
+
"name": "quote",
|
|
770
1235
|
"summary": "The input CSV file quote character",
|
|
1236
|
+
"default": "\"",
|
|
1237
|
+
"hasDynamicHelp": false,
|
|
771
1238
|
"multiple": false,
|
|
772
|
-
"
|
|
1239
|
+
"type": "option"
|
|
773
1240
|
},
|
|
774
1241
|
"skiplines": {
|
|
775
1242
|
"name": "skiplines",
|
|
776
|
-
"type": "option",
|
|
777
1243
|
"summary": "The number of lines to skip",
|
|
1244
|
+
"default": 0,
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
778
1246
|
"multiple": false,
|
|
779
|
-
"
|
|
1247
|
+
"type": "option"
|
|
780
1248
|
},
|
|
781
1249
|
"trim": {
|
|
782
1250
|
"name": "trim",
|
|
783
|
-
"type": "boolean",
|
|
784
1251
|
"summary": "Trim all white space from columns",
|
|
785
|
-
"allowNo": false
|
|
1252
|
+
"allowNo": false,
|
|
1253
|
+
"type": "boolean"
|
|
786
1254
|
},
|
|
787
1255
|
"mapping": {
|
|
788
|
-
"name": "mapping",
|
|
789
|
-
"type": "option",
|
|
790
1256
|
"char": "m",
|
|
1257
|
+
"name": "mapping",
|
|
791
1258
|
"summary": "The path of the JSON file that defines CSV column mappings",
|
|
792
|
-
"
|
|
1259
|
+
"hasDynamicHelp": false,
|
|
1260
|
+
"multiple": false,
|
|
1261
|
+
"type": "option"
|
|
793
1262
|
},
|
|
794
1263
|
"converter": {
|
|
795
|
-
"name": "converter",
|
|
796
|
-
"type": "option",
|
|
797
1264
|
"char": "c",
|
|
1265
|
+
"name": "converter",
|
|
798
1266
|
"summary": "The path of the script to convert CSV rows",
|
|
799
|
-
"
|
|
1267
|
+
"hasDynamicHelp": false,
|
|
1268
|
+
"multiple": false,
|
|
1269
|
+
"type": "option"
|
|
800
1270
|
}
|
|
801
1271
|
},
|
|
802
|
-
"
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
"id": "kit:layout:assignments:deploy",
|
|
806
|
-
"summary": "Deploy page layout assignments from JSON file.",
|
|
807
|
-
"strict": true,
|
|
808
|
-
"pluginName": "@kitalive/sfdx-plugin",
|
|
1272
|
+
"hasDynamicHelp": false,
|
|
1273
|
+
"hiddenAliases": [],
|
|
1274
|
+
"id": "kit:data:csv:convert",
|
|
809
1275
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1276
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
810
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": {
|
|
811
1319
|
"aliases": [],
|
|
1320
|
+
"args": {},
|
|
812
1321
|
"examples": [
|
|
813
1322
|
"Deploy from the default file path to the default org:\n<%= config.bin %> <%= command.id %>",
|
|
814
1323
|
"Deploy from the specified file to the default org:\n<%= config.bin %> <%= command.id %> -f config/layout-assignments.scratch.json",
|
|
815
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"
|
|
816
1325
|
],
|
|
817
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
|
+
},
|
|
818
1342
|
"file": {
|
|
819
|
-
"name": "file",
|
|
820
|
-
"type": "option",
|
|
821
1343
|
"char": "f",
|
|
822
|
-
"
|
|
1344
|
+
"name": "file",
|
|
823
1345
|
"required": true,
|
|
1346
|
+
"summary": "Input file path of page layout assignment settings.",
|
|
1347
|
+
"default": "config/layout-assignments.json",
|
|
1348
|
+
"hasDynamicHelp": false,
|
|
824
1349
|
"multiple": false,
|
|
825
|
-
"
|
|
1350
|
+
"type": "option"
|
|
826
1351
|
},
|
|
827
1352
|
"target-org": {
|
|
828
|
-
"name": "target-org",
|
|
829
|
-
"type": "option",
|
|
830
|
-
"char": "o",
|
|
831
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
832
|
-
"required": true,
|
|
833
|
-
"multiple": false,
|
|
834
1353
|
"aliases": [
|
|
835
1354
|
"targetusername",
|
|
836
1355
|
"u"
|
|
837
|
-
]
|
|
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"
|
|
838
1366
|
},
|
|
839
1367
|
"api-version": {
|
|
840
|
-
"name": "api-version",
|
|
841
|
-
"type": "option",
|
|
842
1368
|
"description": "Override the api version used for api requests made by this command",
|
|
843
|
-
"
|
|
1369
|
+
"name": "api-version",
|
|
1370
|
+
"hasDynamicHelp": false,
|
|
1371
|
+
"multiple": false,
|
|
1372
|
+
"type": "option"
|
|
844
1373
|
}
|
|
845
1374
|
},
|
|
846
|
-
"
|
|
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,
|
|
847
1384
|
"requiresProject": true,
|
|
848
|
-
"
|
|
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
|
+
]
|
|
849
1421
|
},
|
|
850
1422
|
"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
1423
|
"aliases": [],
|
|
1424
|
+
"args": {},
|
|
858
1425
|
"examples": [
|
|
859
1426
|
"Retrieve page layout assignments from the default org and save to the default path:\n<%= config.bin %> <%= command.id %>",
|
|
860
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",
|
|
861
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"
|
|
862
1429
|
],
|
|
863
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
|
+
},
|
|
864
1446
|
"file": {
|
|
865
|
-
"name": "file",
|
|
866
|
-
"type": "option",
|
|
867
1447
|
"char": "f",
|
|
868
|
-
"
|
|
1448
|
+
"name": "file",
|
|
869
1449
|
"required": true,
|
|
1450
|
+
"summary": "Output file path of page layout assignment settings.",
|
|
1451
|
+
"default": "config/layout-assignments.json",
|
|
1452
|
+
"hasDynamicHelp": false,
|
|
870
1453
|
"multiple": false,
|
|
871
|
-
"
|
|
1454
|
+
"type": "option"
|
|
872
1455
|
},
|
|
873
1456
|
"profile": {
|
|
874
|
-
"name": "profile",
|
|
875
|
-
"type": "option",
|
|
876
1457
|
"char": "p",
|
|
877
|
-
"
|
|
1458
|
+
"name": "profile",
|
|
878
1459
|
"required": false,
|
|
879
|
-
"
|
|
1460
|
+
"summary": "[default: all profiles] Profile names to retrieve",
|
|
1461
|
+
"hasDynamicHelp": false,
|
|
1462
|
+
"multiple": true,
|
|
1463
|
+
"type": "option"
|
|
880
1464
|
},
|
|
881
1465
|
"sobject": {
|
|
882
|
-
"name": "sobject",
|
|
883
|
-
"type": "option",
|
|
884
1466
|
"char": "s",
|
|
885
|
-
"
|
|
1467
|
+
"name": "sobject",
|
|
886
1468
|
"required": false,
|
|
887
|
-
"
|
|
1469
|
+
"summary": "[default: sobjects which have multiple layouts] SObject names to retrieve",
|
|
1470
|
+
"hasDynamicHelp": false,
|
|
1471
|
+
"multiple": true,
|
|
1472
|
+
"type": "option"
|
|
888
1473
|
},
|
|
889
1474
|
"merge": {
|
|
890
1475
|
"name": "merge",
|
|
891
|
-
"type": "boolean",
|
|
892
|
-
"summary": "Merge retrieved configurations with existing file.",
|
|
893
1476
|
"required": false,
|
|
894
|
-
"
|
|
1477
|
+
"summary": "Merge retrieved configurations with existing file.",
|
|
1478
|
+
"allowNo": false,
|
|
1479
|
+
"type": "boolean"
|
|
895
1480
|
},
|
|
896
1481
|
"target-org": {
|
|
897
|
-
"name": "target-org",
|
|
898
|
-
"type": "option",
|
|
899
|
-
"char": "o",
|
|
900
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
901
|
-
"required": true,
|
|
902
|
-
"multiple": false,
|
|
903
1482
|
"aliases": [
|
|
904
1483
|
"targetusername",
|
|
905
1484
|
"u"
|
|
906
|
-
]
|
|
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"
|
|
907
1495
|
},
|
|
908
1496
|
"api-version": {
|
|
909
|
-
"name": "api-version",
|
|
910
|
-
"type": "option",
|
|
911
1497
|
"description": "Override the api version used for api requests made by this command",
|
|
912
|
-
"
|
|
1498
|
+
"name": "api-version",
|
|
1499
|
+
"hasDynamicHelp": false,
|
|
1500
|
+
"multiple": false,
|
|
1501
|
+
"type": "option"
|
|
913
1502
|
}
|
|
914
1503
|
},
|
|
915
|
-
"
|
|
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,
|
|
916
1513
|
"requiresProject": true,
|
|
917
|
-
"
|
|
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
|
+
]
|
|
918
1550
|
},
|
|
919
1551
|
"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
1552
|
"aliases": [],
|
|
1553
|
+
"args": {},
|
|
927
1554
|
"examples": [
|
|
928
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",
|
|
929
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"
|
|
930
1557
|
],
|
|
931
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
|
+
},
|
|
932
1574
|
"sobject": {
|
|
933
|
-
"name": "sobject",
|
|
934
|
-
"type": "option",
|
|
935
1575
|
"char": "s",
|
|
936
|
-
"
|
|
1576
|
+
"name": "sobject",
|
|
937
1577
|
"required": true,
|
|
938
|
-
"
|
|
1578
|
+
"summary": "SObject name to describe",
|
|
1579
|
+
"hasDynamicHelp": false,
|
|
1580
|
+
"multiple": false,
|
|
1581
|
+
"type": "option"
|
|
939
1582
|
},
|
|
940
1583
|
"file": {
|
|
941
|
-
"name": "file",
|
|
942
|
-
"type": "option",
|
|
943
1584
|
"char": "f",
|
|
1585
|
+
"name": "file",
|
|
944
1586
|
"summary": "Output csv file path",
|
|
945
|
-
"
|
|
1587
|
+
"hasDynamicHelp": false,
|
|
1588
|
+
"multiple": false,
|
|
1589
|
+
"type": "option"
|
|
946
1590
|
},
|
|
947
1591
|
"target-org": {
|
|
948
|
-
"name": "target-org",
|
|
949
|
-
"type": "option",
|
|
950
1592
|
"char": "o",
|
|
951
|
-
"
|
|
1593
|
+
"name": "target-org",
|
|
1594
|
+
"noCacheDefault": true,
|
|
952
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,
|
|
953
1598
|
"multiple": false,
|
|
954
|
-
"
|
|
955
|
-
"targetusername",
|
|
956
|
-
"u"
|
|
957
|
-
]
|
|
1599
|
+
"type": "option"
|
|
958
1600
|
},
|
|
959
1601
|
"api-version": {
|
|
960
|
-
"name": "api-version",
|
|
961
|
-
"type": "option",
|
|
962
1602
|
"description": "Override the api version used for api requests made by this command",
|
|
963
|
-
"
|
|
1603
|
+
"name": "api-version",
|
|
1604
|
+
"hasDynamicHelp": false,
|
|
1605
|
+
"multiple": false,
|
|
1606
|
+
"type": "option"
|
|
964
1607
|
}
|
|
965
1608
|
},
|
|
966
|
-
"
|
|
967
|
-
"
|
|
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",
|
|
1609
|
+
"hasDynamicHelp": true,
|
|
1610
|
+
"hiddenAliases": [],
|
|
1611
|
+
"id": "kit:object:fields:describe",
|
|
974
1612
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1613
|
+
"pluginName": "@kitalive/sfdx-plugin",
|
|
975
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": {
|
|
976
1656
|
"aliases": [],
|
|
1657
|
+
"args": {},
|
|
977
1658
|
"examples": [
|
|
978
1659
|
"Upsert Account fields to the default org:\n<%= config.bin %> <%= command.id %> -s Account -f path/to/account_fields.csv",
|
|
979
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"
|
|
980
1661
|
],
|
|
981
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
|
+
},
|
|
982
1678
|
"sobject": {
|
|
983
|
-
"name": "sobject",
|
|
984
|
-
"type": "option",
|
|
985
1679
|
"char": "s",
|
|
986
|
-
"
|
|
1680
|
+
"name": "sobject",
|
|
987
1681
|
"required": true,
|
|
988
|
-
"
|
|
1682
|
+
"summary": "SObject name to setup",
|
|
1683
|
+
"hasDynamicHelp": false,
|
|
1684
|
+
"multiple": false,
|
|
1685
|
+
"type": "option"
|
|
989
1686
|
},
|
|
990
1687
|
"file": {
|
|
991
|
-
"name": "file",
|
|
992
|
-
"type": "option",
|
|
993
1688
|
"char": "f",
|
|
994
|
-
"
|
|
1689
|
+
"name": "file",
|
|
995
1690
|
"required": true,
|
|
996
|
-
"
|
|
1691
|
+
"summary": "Input csv file path",
|
|
1692
|
+
"hasDynamicHelp": false,
|
|
1693
|
+
"multiple": false,
|
|
1694
|
+
"type": "option"
|
|
997
1695
|
},
|
|
998
1696
|
"delete": {
|
|
999
1697
|
"name": "delete",
|
|
1000
|
-
"type": "boolean",
|
|
1001
1698
|
"summary": "Delete fields that are not in the csv file",
|
|
1002
|
-
"allowNo": false
|
|
1699
|
+
"allowNo": false,
|
|
1700
|
+
"type": "boolean"
|
|
1003
1701
|
},
|
|
1004
1702
|
"force": {
|
|
1005
1703
|
"name": "force",
|
|
1006
|
-
"type": "boolean",
|
|
1007
1704
|
"summary": "Do not confirm when deleting",
|
|
1008
|
-
"allowNo": false
|
|
1705
|
+
"allowNo": false,
|
|
1706
|
+
"type": "boolean"
|
|
1009
1707
|
},
|
|
1010
1708
|
"target-org": {
|
|
1011
|
-
"name": "target-org",
|
|
1012
|
-
"type": "option",
|
|
1013
|
-
"char": "o",
|
|
1014
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1015
|
-
"required": true,
|
|
1016
|
-
"multiple": false,
|
|
1017
1709
|
"aliases": [
|
|
1018
1710
|
"targetusername",
|
|
1019
1711
|
"u"
|
|
1020
|
-
]
|
|
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"
|
|
1021
1722
|
},
|
|
1022
1723
|
"api-version": {
|
|
1023
|
-
"name": "api-version",
|
|
1024
|
-
"type": "option",
|
|
1025
1724
|
"description": "Override the api version used for api requests made by this command",
|
|
1026
|
-
"
|
|
1725
|
+
"name": "api-version",
|
|
1726
|
+
"hasDynamicHelp": false,
|
|
1727
|
+
"multiple": false,
|
|
1728
|
+
"type": "option"
|
|
1027
1729
|
}
|
|
1028
1730
|
},
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
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
|
+
]
|
|
1031
1776
|
}
|
|
1032
|
-
}
|
|
1777
|
+
},
|
|
1778
|
+
"version": "1.0.0-rc.0"
|
|
1033
1779
|
}
|