@salesforce/plugin-data 2.6.3 → 2.6.4-test.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 +113 -113
- package/lib/BulkBaseCommand.js +26 -26
- package/lib/BulkBaseCommand.js.map +1 -1
- package/lib/api/data/tree/exportApi.js +31 -30
- package/lib/api/data/tree/exportApi.js.map +1 -1
- package/lib/api/data/tree/importApi.js +46 -43
- package/lib/api/data/tree/importApi.js.map +1 -1
- package/lib/batcher.js +24 -17
- package/lib/batcher.js.map +1 -1
- package/lib/bulkDataRequestCache.js +21 -26
- package/lib/bulkDataRequestCache.js.map +1 -1
- package/lib/bulkOperationCommand.js +55 -57
- package/lib/bulkOperationCommand.js.map +1 -1
- package/lib/bulkUtils.js +20 -20
- package/lib/bulkUtils.js.map +1 -1
- package/lib/commands/data/create/record.js +38 -39
- package/lib/commands/data/create/record.js.map +1 -1
- package/lib/commands/data/delete/bulk.js +14 -15
- package/lib/commands/data/delete/bulk.js.map +1 -1
- package/lib/commands/data/delete/record.js +48 -49
- package/lib/commands/data/delete/record.js.map +1 -1
- package/lib/commands/data/delete/resume.js +16 -17
- package/lib/commands/data/delete/resume.js.map +1 -1
- package/lib/commands/data/export/tree.js +38 -39
- package/lib/commands/data/export/tree.js.map +1 -1
- package/lib/commands/data/get/record.js +50 -51
- package/lib/commands/data/get/record.js.map +1 -1
- package/lib/commands/data/import/tree.js +45 -46
- package/lib/commands/data/import/tree.js.map +1 -1
- package/lib/commands/data/query/resume.js +40 -42
- package/lib/commands/data/query/resume.js.map +1 -1
- package/lib/commands/data/query.js +91 -93
- package/lib/commands/data/query.js.map +1 -1
- package/lib/commands/data/resume.js +45 -40
- package/lib/commands/data/resume.js.map +1 -1
- package/lib/commands/data/update/record.js +61 -62
- package/lib/commands/data/update/record.js.map +1 -1
- package/lib/commands/data/upsert/bulk.js +24 -25
- package/lib/commands/data/upsert/bulk.js.map +1 -1
- package/lib/commands/data/upsert/resume.js +15 -16
- package/lib/commands/data/upsert/resume.js.map +1 -1
- package/lib/commands/force/data/bulk/delete.js +42 -43
- package/lib/commands/force/data/bulk/delete.js.map +1 -1
- package/lib/commands/force/data/bulk/status.js +40 -35
- package/lib/commands/force/data/bulk/status.js.map +1 -1
- package/lib/commands/force/data/bulk/upsert.js +54 -55
- package/lib/commands/force/data/bulk/upsert.js.map +1 -1
- package/lib/dataCommand.js +16 -21
- package/lib/dataCommand.js.map +1 -1
- package/lib/dataSoqlQueryTypes.js +4 -9
- package/lib/dataSoqlQueryTypes.js.map +1 -1
- package/lib/flags.js +12 -13
- package/lib/flags.js.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/queryUtils.js +8 -13
- package/lib/queryUtils.js.map +1 -1
- package/lib/reporters.js +52 -59
- package/lib/reporters.js.map +1 -1
- package/lib/resumeBulkCommand.js +37 -39
- package/lib/resumeBulkCommand.js.map +1 -1
- package/lib/types.js +1 -2
- package/oclif.lock +8086 -0
- package/oclif.manifest.json +1614 -854
- package/package.json +33 -50
package/oclif.manifest.json
CHANGED
|
@@ -1,1690 +1,2450 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.6.3",
|
|
3
2
|
"commands": {
|
|
4
3
|
"data:query": {
|
|
5
|
-
"id": "data:query",
|
|
6
|
-
"summary": "Execute a SOQL query.",
|
|
7
|
-
"description": "Specify the SOQL query at the command line with the --query flag or read the query from a file with the --file flag.\n\nIf your query returns more than 10,000 records, specify the --bulk flag. The command then runs the query using Bulk API 2.0, which has higher limits than the default API used by the command.\n\nWhen using --bulk, the command waits 3 minutes by default for the query to complete. Use the --wait parameter to specify a different number of minutes to wait, or set --wait to 0 to immediately return control to the terminal. If you set --wait to 0, or you use the --async flag, or the command simply times out, the command displays an ID. Pass this ID to the the \"data query resume\" command using the --bulk-query-id flag to get the results; pass the ID to the \"data resume\" command to get the job status.",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"pluginName": "@salesforce/plugin-data",
|
|
10
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
11
|
-
"pluginType": "core",
|
|
12
4
|
"aliases": [
|
|
13
5
|
"force:data:soql:query"
|
|
14
6
|
],
|
|
7
|
+
"args": {},
|
|
8
|
+
"deprecateAliases": true,
|
|
9
|
+
"description": "Specify the SOQL query at the command line with the --query flag or read the query from a file with the --file flag.\n\nIf your query returns more than 10,000 records, specify the --bulk flag. The command then runs the query using Bulk API 2.0, which has higher limits than the default API used by the command.\n\nWhen using --bulk, the command waits 3 minutes by default for the query to complete. Use the --wait parameter to specify a different number of minutes to wait, or set --wait to 0 to immediately return control to the terminal. If you set --wait to 0, or you use the --async flag, or the command simply times out, the command displays an ID. Pass this ID to the the \"data query resume\" command using the --bulk-query-id flag to get the results; pass the ID to the \"data resume\" command to get the job status.",
|
|
15
10
|
"examples": [
|
|
16
11
|
"Specify a SOQL query at the command line; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, Account.Name FROM Contact\"",
|
|
17
12
|
"Read the SOQL query from a file called \"query.txt\"; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file query.txt --target-org my-scratch",
|
|
18
13
|
"Use Tooling API to run a query on the ApexTrigger Tooling API object:\n<%= config.bin %> <%= command.id %> --query \"SELECT Name FROM ApexTrigger\" --use-tooling-api",
|
|
19
14
|
"Use Bulk API 2.0 to run a query that returns many rows, and return control to the terminal immediately:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id FROM Contact\" --bulk --wait 0"
|
|
20
15
|
],
|
|
21
|
-
"deprecateAliases": true,
|
|
22
16
|
"flags": {
|
|
23
17
|
"json": {
|
|
24
|
-
"name": "json",
|
|
25
|
-
"type": "boolean",
|
|
26
18
|
"description": "Format output as json.",
|
|
27
19
|
"helpGroup": "GLOBAL",
|
|
20
|
+
"name": "json",
|
|
28
21
|
"allowNo": false,
|
|
29
|
-
"
|
|
22
|
+
"type": "boolean"
|
|
30
23
|
},
|
|
31
24
|
"target-org": {
|
|
32
|
-
"name": "target-org",
|
|
33
|
-
"type": "option",
|
|
34
|
-
"char": "o",
|
|
35
|
-
"summary": "Username or alias of the target org.",
|
|
36
|
-
"required": true,
|
|
37
|
-
"multiple": false,
|
|
38
|
-
"deprecateAliases": true,
|
|
39
25
|
"aliases": [
|
|
40
26
|
"targetusername",
|
|
41
27
|
"u"
|
|
42
|
-
]
|
|
28
|
+
],
|
|
29
|
+
"char": "o",
|
|
30
|
+
"deprecateAliases": true,
|
|
31
|
+
"name": "target-org",
|
|
32
|
+
"noCacheDefault": true,
|
|
33
|
+
"required": true,
|
|
34
|
+
"summary": "Username or alias of the target org.",
|
|
35
|
+
"hasDynamicHelp": true,
|
|
36
|
+
"multiple": false,
|
|
37
|
+
"type": "option"
|
|
43
38
|
},
|
|
44
39
|
"api-version": {
|
|
45
|
-
"name": "api-version",
|
|
46
|
-
"type": "option",
|
|
47
|
-
"description": "Override the api version used for api requests made by this command",
|
|
48
|
-
"multiple": false,
|
|
49
|
-
"deprecateAliases": true,
|
|
50
40
|
"aliases": [
|
|
51
41
|
"apiversion"
|
|
52
|
-
]
|
|
42
|
+
],
|
|
43
|
+
"deprecateAliases": true,
|
|
44
|
+
"description": "Override the api version used for api requests made by this command",
|
|
45
|
+
"name": "api-version",
|
|
46
|
+
"hasDynamicHelp": false,
|
|
47
|
+
"multiple": false,
|
|
48
|
+
"type": "option"
|
|
53
49
|
},
|
|
54
50
|
"loglevel": {
|
|
55
|
-
"name": "loglevel",
|
|
56
|
-
"type": "option",
|
|
57
|
-
"hidden": true,
|
|
58
|
-
"multiple": false,
|
|
59
51
|
"deprecated": {
|
|
60
52
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
61
53
|
},
|
|
62
|
-
"
|
|
54
|
+
"hidden": true,
|
|
55
|
+
"name": "loglevel",
|
|
56
|
+
"hasDynamicHelp": false,
|
|
57
|
+
"multiple": false,
|
|
58
|
+
"type": "option"
|
|
63
59
|
},
|
|
64
60
|
"query": {
|
|
65
|
-
"name": "query",
|
|
66
|
-
"type": "option",
|
|
67
61
|
"char": "q",
|
|
62
|
+
"name": "query",
|
|
68
63
|
"summary": "SOQL query to execute.",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
69
65
|
"multiple": false,
|
|
70
|
-
"
|
|
66
|
+
"type": "option"
|
|
71
67
|
},
|
|
72
68
|
"file": {
|
|
73
|
-
"
|
|
74
|
-
|
|
69
|
+
"aliases": [
|
|
70
|
+
"soqlqueryfile"
|
|
71
|
+
],
|
|
75
72
|
"char": "f",
|
|
73
|
+
"deprecateAliases": true,
|
|
74
|
+
"name": "file",
|
|
76
75
|
"summary": "File that contains the SOQL query.",
|
|
76
|
+
"hasDynamicHelp": false,
|
|
77
77
|
"multiple": false,
|
|
78
|
-
"
|
|
79
|
-
"aliases": [
|
|
80
|
-
"soqlqueryfile"
|
|
81
|
-
]
|
|
78
|
+
"type": "option"
|
|
82
79
|
},
|
|
83
80
|
"use-tooling-api": {
|
|
84
|
-
"
|
|
85
|
-
|
|
81
|
+
"aliases": [
|
|
82
|
+
"usetoolingapi"
|
|
83
|
+
],
|
|
86
84
|
"char": "t",
|
|
85
|
+
"deprecateAliases": true,
|
|
86
|
+
"name": "use-tooling-api",
|
|
87
87
|
"summary": "Use Tooling API so you can run queries on Tooling API objects.",
|
|
88
88
|
"allowNo": false,
|
|
89
|
-
"
|
|
90
|
-
"aliases": [
|
|
91
|
-
"usetoolingapi"
|
|
92
|
-
]
|
|
89
|
+
"type": "boolean"
|
|
93
90
|
},
|
|
94
91
|
"bulk": {
|
|
95
|
-
"name": "bulk",
|
|
96
|
-
"type": "boolean",
|
|
97
92
|
"char": "b",
|
|
98
|
-
"summary": "Use Bulk API 2.0 to run the query.",
|
|
99
|
-
"allowNo": false,
|
|
100
93
|
"exclusive": [
|
|
101
94
|
"use-tooling-api"
|
|
102
95
|
],
|
|
103
|
-
"
|
|
96
|
+
"name": "bulk",
|
|
97
|
+
"summary": "Use Bulk API 2.0 to run the query.",
|
|
98
|
+
"allowNo": false,
|
|
99
|
+
"type": "boolean"
|
|
104
100
|
},
|
|
105
101
|
"wait": {
|
|
106
|
-
"name": "wait",
|
|
107
|
-
"type": "option",
|
|
108
102
|
"char": "w",
|
|
109
|
-
"summary": "Time to wait for the command to finish, in minutes.",
|
|
110
|
-
"multiple": false,
|
|
111
103
|
"dependsOn": [
|
|
112
104
|
"bulk"
|
|
113
105
|
],
|
|
114
106
|
"exclusive": [
|
|
115
107
|
"async"
|
|
116
108
|
],
|
|
117
|
-
"
|
|
109
|
+
"name": "wait",
|
|
110
|
+
"summary": "Time to wait for the command to finish, in minutes.",
|
|
111
|
+
"hasDynamicHelp": false,
|
|
112
|
+
"multiple": false,
|
|
113
|
+
"type": "option"
|
|
118
114
|
},
|
|
119
115
|
"async": {
|
|
120
|
-
"name": "async",
|
|
121
|
-
"type": "boolean",
|
|
122
|
-
"summary": "Use Bulk API 2.0, but don't wait for the job to complete.",
|
|
123
|
-
"allowNo": false,
|
|
124
116
|
"dependsOn": [
|
|
125
117
|
"bulk"
|
|
126
118
|
],
|
|
127
119
|
"exclusive": [
|
|
128
120
|
"wait"
|
|
129
121
|
],
|
|
130
|
-
"
|
|
122
|
+
"name": "async",
|
|
123
|
+
"summary": "Use Bulk API 2.0, but don't wait for the job to complete.",
|
|
124
|
+
"allowNo": false,
|
|
125
|
+
"type": "boolean"
|
|
131
126
|
},
|
|
132
127
|
"all-rows": {
|
|
133
128
|
"name": "all-rows",
|
|
134
|
-
"type": "boolean",
|
|
135
129
|
"summary": "Include deleted records. By default, deleted records are not returned.",
|
|
136
130
|
"allowNo": false,
|
|
137
|
-
"
|
|
131
|
+
"type": "boolean"
|
|
138
132
|
},
|
|
139
133
|
"result-format": {
|
|
140
|
-
"
|
|
141
|
-
|
|
134
|
+
"aliases": [
|
|
135
|
+
"resultformat"
|
|
136
|
+
],
|
|
142
137
|
"char": "r",
|
|
138
|
+
"deprecateAliases": true,
|
|
139
|
+
"name": "result-format",
|
|
143
140
|
"summary": "Format to display the results; the --json flag overrides this flag.",
|
|
141
|
+
"default": "human",
|
|
142
|
+
"hasDynamicHelp": false,
|
|
144
143
|
"multiple": false,
|
|
145
144
|
"options": [
|
|
146
145
|
"human",
|
|
147
146
|
"json",
|
|
148
147
|
"csv"
|
|
149
148
|
],
|
|
150
|
-
"
|
|
151
|
-
"deprecateAliases": true,
|
|
152
|
-
"aliases": [
|
|
153
|
-
"resultformat"
|
|
154
|
-
]
|
|
149
|
+
"type": "option"
|
|
155
150
|
},
|
|
156
151
|
"perflog": {
|
|
157
|
-
"name": "perflog",
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"summary": "Get API performance data.",
|
|
160
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
161
|
-
"hidden": true,
|
|
162
|
-
"allowNo": false,
|
|
163
152
|
"deprecated": {
|
|
164
153
|
"version": "57"
|
|
165
154
|
},
|
|
166
|
-
"
|
|
155
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
156
|
+
"hidden": true,
|
|
157
|
+
"name": "perflog",
|
|
158
|
+
"summary": "Get API performance data.",
|
|
159
|
+
"allowNo": false,
|
|
160
|
+
"type": "boolean"
|
|
167
161
|
}
|
|
168
162
|
},
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
"data:resume": {
|
|
173
|
-
"id": "data:resume",
|
|
174
|
-
"summary": "View the status of a bulk data load job or batch.",
|
|
175
|
-
"description": "Run this command using the job ID or batch ID returned from the \"<%= config.bin %> data delete bulk\" or \"<%= config.bin %> data upsert bulk\" commands.",
|
|
176
|
-
"strict": true,
|
|
177
|
-
"pluginName": "@salesforce/plugin-data",
|
|
163
|
+
"hasDynamicHelp": true,
|
|
164
|
+
"hiddenAliases": [],
|
|
165
|
+
"id": "data:query",
|
|
178
166
|
"pluginAlias": "@salesforce/plugin-data",
|
|
167
|
+
"pluginName": "@salesforce/plugin-data",
|
|
179
168
|
"pluginType": "core",
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
169
|
+
"strict": true,
|
|
170
|
+
"summary": "Execute a SOQL query.",
|
|
171
|
+
"enableJsonFlag": true,
|
|
172
|
+
"SF_ENV": "SF_ENV",
|
|
173
|
+
"isESM": true,
|
|
174
|
+
"relativePath": [
|
|
175
|
+
"lib",
|
|
176
|
+
"commands",
|
|
177
|
+
"data",
|
|
178
|
+
"query.js"
|
|
179
|
+
],
|
|
180
|
+
"aliasPermutations": [
|
|
181
|
+
"force:data:soql:query",
|
|
182
|
+
"data:force:soql:query",
|
|
183
|
+
"data:soql:force:query",
|
|
184
|
+
"data:soql:query:force",
|
|
185
|
+
"force:soql:data:query",
|
|
186
|
+
"soql:force:data:query",
|
|
187
|
+
"soql:data:force:query",
|
|
188
|
+
"soql:data:query:force",
|
|
189
|
+
"force:soql:query:data",
|
|
190
|
+
"soql:force:query:data",
|
|
191
|
+
"soql:query:force:data",
|
|
192
|
+
"soql:query:data:force",
|
|
193
|
+
"force:data:query:soql",
|
|
194
|
+
"data:force:query:soql",
|
|
195
|
+
"data:query:force:soql",
|
|
196
|
+
"data:query:soql:force",
|
|
197
|
+
"force:query:data:soql",
|
|
198
|
+
"query:force:data:soql",
|
|
199
|
+
"query:data:force:soql",
|
|
200
|
+
"query:data:soql:force",
|
|
201
|
+
"force:query:soql:data",
|
|
202
|
+
"query:force:soql:data",
|
|
203
|
+
"query:soql:force:data",
|
|
204
|
+
"query:soql:data:force"
|
|
185
205
|
],
|
|
206
|
+
"permutations": [
|
|
207
|
+
"data:query",
|
|
208
|
+
"query:data"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"data:resume": {
|
|
212
|
+
"aliases": [],
|
|
213
|
+
"args": {},
|
|
186
214
|
"deprecationOptions": {
|
|
187
215
|
"to": "force:data:bulk:status",
|
|
188
216
|
"message": "Use force:data:bulk:status instead"
|
|
189
217
|
},
|
|
218
|
+
"description": "Run this command using the job ID or batch ID returned from the \"<%= config.bin %> data delete bulk\" or \"<%= config.bin %> data upsert bulk\" commands.",
|
|
219
|
+
"examples": [
|
|
220
|
+
"View the status of a bulk load job:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
221
|
+
"View the status of a bulk load job and a specific batches:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA"
|
|
222
|
+
],
|
|
190
223
|
"flags": {
|
|
191
224
|
"json": {
|
|
192
|
-
"name": "json",
|
|
193
|
-
"type": "boolean",
|
|
194
225
|
"description": "Format output as json.",
|
|
195
226
|
"helpGroup": "GLOBAL",
|
|
196
|
-
"
|
|
227
|
+
"name": "json",
|
|
228
|
+
"allowNo": false,
|
|
229
|
+
"type": "boolean"
|
|
197
230
|
},
|
|
198
231
|
"target-org": {
|
|
199
|
-
"name": "target-org",
|
|
200
|
-
"type": "option",
|
|
201
|
-
"char": "o",
|
|
202
|
-
"summary": "Username or alias of the target org.",
|
|
203
|
-
"required": true,
|
|
204
|
-
"multiple": false,
|
|
205
232
|
"aliases": [
|
|
206
233
|
"targetusername",
|
|
207
234
|
"u"
|
|
208
|
-
]
|
|
235
|
+
],
|
|
236
|
+
"char": "o",
|
|
237
|
+
"deprecateAliases": true,
|
|
238
|
+
"name": "target-org",
|
|
239
|
+
"noCacheDefault": true,
|
|
240
|
+
"required": true,
|
|
241
|
+
"summary": "Username or alias of the target org.",
|
|
242
|
+
"hasDynamicHelp": true,
|
|
243
|
+
"multiple": false,
|
|
244
|
+
"type": "option"
|
|
209
245
|
},
|
|
210
246
|
"api-version": {
|
|
211
|
-
"name": "api-version",
|
|
212
|
-
"type": "option",
|
|
213
|
-
"description": "Override the api version used for api requests made by this command",
|
|
214
|
-
"multiple": false,
|
|
215
247
|
"aliases": [
|
|
216
248
|
"apiversion"
|
|
217
|
-
]
|
|
249
|
+
],
|
|
250
|
+
"deprecateAliases": true,
|
|
251
|
+
"description": "Override the api version used for api requests made by this command",
|
|
252
|
+
"name": "api-version",
|
|
253
|
+
"hasDynamicHelp": false,
|
|
254
|
+
"multiple": false,
|
|
255
|
+
"type": "option"
|
|
218
256
|
},
|
|
219
257
|
"loglevel": {
|
|
220
|
-
"name": "loglevel",
|
|
221
|
-
"type": "option",
|
|
222
|
-
"hidden": true,
|
|
223
|
-
"multiple": false,
|
|
224
258
|
"deprecated": {
|
|
225
259
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
226
|
-
}
|
|
260
|
+
},
|
|
261
|
+
"hidden": true,
|
|
262
|
+
"name": "loglevel",
|
|
263
|
+
"hasDynamicHelp": false,
|
|
264
|
+
"multiple": false,
|
|
265
|
+
"type": "option"
|
|
227
266
|
},
|
|
228
267
|
"batch-id": {
|
|
229
|
-
"
|
|
230
|
-
|
|
268
|
+
"aliases": [
|
|
269
|
+
"batchid"
|
|
270
|
+
],
|
|
231
271
|
"char": "b",
|
|
272
|
+
"deprecateAliases": true,
|
|
273
|
+
"name": "batch-id",
|
|
232
274
|
"summary": "ID of the batch whose status you want to view; you must also specify the job ID.",
|
|
275
|
+
"hasDynamicHelp": false,
|
|
233
276
|
"multiple": false,
|
|
234
|
-
"
|
|
235
|
-
"batchid"
|
|
236
|
-
]
|
|
277
|
+
"type": "option"
|
|
237
278
|
},
|
|
238
279
|
"job-id": {
|
|
239
|
-
"
|
|
240
|
-
|
|
280
|
+
"aliases": [
|
|
281
|
+
"jobid"
|
|
282
|
+
],
|
|
241
283
|
"char": "i",
|
|
242
|
-
"
|
|
284
|
+
"deprecateAliases": true,
|
|
285
|
+
"name": "job-id",
|
|
243
286
|
"required": true,
|
|
287
|
+
"summary": "ID of the job whose status you want to view.",
|
|
288
|
+
"hasDynamicHelp": false,
|
|
244
289
|
"multiple": false,
|
|
245
|
-
"
|
|
246
|
-
"jobid"
|
|
247
|
-
]
|
|
290
|
+
"type": "option"
|
|
248
291
|
}
|
|
249
292
|
},
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
"data:create:record": {
|
|
254
|
-
"id": "data:create:record",
|
|
255
|
-
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
256
|
-
"description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
|
|
257
|
-
"strict": true,
|
|
258
|
-
"pluginName": "@salesforce/plugin-data",
|
|
293
|
+
"hasDynamicHelp": true,
|
|
294
|
+
"hiddenAliases": [],
|
|
295
|
+
"id": "data:resume",
|
|
259
296
|
"pluginAlias": "@salesforce/plugin-data",
|
|
297
|
+
"pluginName": "@salesforce/plugin-data",
|
|
260
298
|
"pluginType": "core",
|
|
299
|
+
"state": "deprecated",
|
|
300
|
+
"strict": true,
|
|
301
|
+
"summary": "View the status of a bulk data load job or batch.",
|
|
302
|
+
"enableJsonFlag": true,
|
|
303
|
+
"SF_ENV": "SF_ENV",
|
|
304
|
+
"isESM": true,
|
|
305
|
+
"relativePath": [
|
|
306
|
+
"lib",
|
|
307
|
+
"commands",
|
|
308
|
+
"data",
|
|
309
|
+
"resume.js"
|
|
310
|
+
],
|
|
311
|
+
"aliasPermutations": [],
|
|
312
|
+
"permutations": [
|
|
313
|
+
"data:resume",
|
|
314
|
+
"resume:data"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"data:create:record": {
|
|
261
318
|
"aliases": [
|
|
262
319
|
"force:data:record:create"
|
|
263
320
|
],
|
|
321
|
+
"args": {},
|
|
322
|
+
"deprecateAliases": true,
|
|
323
|
+
"description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
|
|
264
324
|
"examples": [
|
|
265
325
|
"Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
|
|
266
326
|
"Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
|
|
267
327
|
"Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
|
|
268
328
|
],
|
|
269
|
-
"deprecateAliases": true,
|
|
270
329
|
"flags": {
|
|
271
330
|
"json": {
|
|
272
|
-
"name": "json",
|
|
273
|
-
"type": "boolean",
|
|
274
331
|
"description": "Format output as json.",
|
|
275
332
|
"helpGroup": "GLOBAL",
|
|
333
|
+
"name": "json",
|
|
276
334
|
"allowNo": false,
|
|
277
|
-
"
|
|
335
|
+
"type": "boolean"
|
|
278
336
|
},
|
|
279
337
|
"target-org": {
|
|
280
|
-
"name": "target-org",
|
|
281
|
-
"type": "option",
|
|
282
|
-
"char": "o",
|
|
283
|
-
"summary": "Username or alias of the target org.",
|
|
284
|
-
"required": true,
|
|
285
|
-
"multiple": false,
|
|
286
|
-
"deprecateAliases": true,
|
|
287
338
|
"aliases": [
|
|
288
339
|
"targetusername",
|
|
289
340
|
"u"
|
|
290
|
-
]
|
|
341
|
+
],
|
|
342
|
+
"char": "o",
|
|
343
|
+
"deprecateAliases": true,
|
|
344
|
+
"name": "target-org",
|
|
345
|
+
"noCacheDefault": true,
|
|
346
|
+
"required": true,
|
|
347
|
+
"summary": "Username or alias of the target org.",
|
|
348
|
+
"hasDynamicHelp": true,
|
|
349
|
+
"multiple": false,
|
|
350
|
+
"type": "option"
|
|
291
351
|
},
|
|
292
352
|
"api-version": {
|
|
293
|
-
"name": "api-version",
|
|
294
|
-
"type": "option",
|
|
295
|
-
"description": "Override the api version used for api requests made by this command",
|
|
296
|
-
"multiple": false,
|
|
297
|
-
"deprecateAliases": true,
|
|
298
353
|
"aliases": [
|
|
299
354
|
"apiversion"
|
|
300
|
-
]
|
|
355
|
+
],
|
|
356
|
+
"deprecateAliases": true,
|
|
357
|
+
"description": "Override the api version used for api requests made by this command",
|
|
358
|
+
"name": "api-version",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
301
362
|
},
|
|
302
363
|
"loglevel": {
|
|
303
|
-
"name": "loglevel",
|
|
304
|
-
"type": "option",
|
|
305
|
-
"hidden": true,
|
|
306
|
-
"multiple": false,
|
|
307
364
|
"deprecated": {
|
|
308
365
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
309
366
|
},
|
|
310
|
-
"
|
|
367
|
+
"hidden": true,
|
|
368
|
+
"name": "loglevel",
|
|
369
|
+
"hasDynamicHelp": false,
|
|
370
|
+
"multiple": false,
|
|
371
|
+
"type": "option"
|
|
311
372
|
},
|
|
312
373
|
"sobject": {
|
|
313
|
-
"
|
|
314
|
-
|
|
374
|
+
"aliases": [
|
|
375
|
+
"sobjecttype"
|
|
376
|
+
],
|
|
315
377
|
"char": "s",
|
|
316
|
-
"
|
|
378
|
+
"deprecateAliases": true,
|
|
379
|
+
"name": "sobject",
|
|
317
380
|
"required": true,
|
|
381
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
382
|
+
"hasDynamicHelp": false,
|
|
318
383
|
"multiple": false,
|
|
319
|
-
"
|
|
320
|
-
"aliases": [
|
|
321
|
-
"sobjecttype"
|
|
322
|
-
]
|
|
384
|
+
"type": "option"
|
|
323
385
|
},
|
|
324
386
|
"values": {
|
|
325
|
-
"name": "values",
|
|
326
|
-
"type": "option",
|
|
327
387
|
"char": "v",
|
|
328
|
-
"
|
|
388
|
+
"name": "values",
|
|
329
389
|
"required": true,
|
|
390
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
391
|
+
"hasDynamicHelp": false,
|
|
330
392
|
"multiple": false,
|
|
331
|
-
"
|
|
393
|
+
"type": "option"
|
|
332
394
|
},
|
|
333
395
|
"use-tooling-api": {
|
|
334
|
-
"
|
|
335
|
-
|
|
396
|
+
"aliases": [
|
|
397
|
+
"usetoolingapi"
|
|
398
|
+
],
|
|
336
399
|
"char": "t",
|
|
400
|
+
"deprecateAliases": true,
|
|
401
|
+
"name": "use-tooling-api",
|
|
337
402
|
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
338
403
|
"allowNo": false,
|
|
339
|
-
"
|
|
340
|
-
"aliases": [
|
|
341
|
-
"usetoolingapi"
|
|
342
|
-
]
|
|
404
|
+
"type": "boolean"
|
|
343
405
|
},
|
|
344
406
|
"perflog": {
|
|
345
|
-
"name": "perflog",
|
|
346
|
-
"type": "boolean",
|
|
347
|
-
"summary": "Get API performance data.",
|
|
348
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
349
|
-
"hidden": true,
|
|
350
|
-
"allowNo": false,
|
|
351
407
|
"deprecated": {
|
|
352
408
|
"version": "57"
|
|
353
409
|
},
|
|
354
|
-
"
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"pluginName": "@salesforce/plugin-data",
|
|
410
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
411
|
+
"hidden": true,
|
|
412
|
+
"name": "perflog",
|
|
413
|
+
"summary": "Get API performance data.",
|
|
414
|
+
"allowNo": false,
|
|
415
|
+
"type": "boolean"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"hasDynamicHelp": true,
|
|
419
|
+
"hiddenAliases": [],
|
|
420
|
+
"id": "data:create:record",
|
|
366
421
|
"pluginAlias": "@salesforce/plugin-data",
|
|
422
|
+
"pluginName": "@salesforce/plugin-data",
|
|
367
423
|
"pluginType": "core",
|
|
424
|
+
"strict": true,
|
|
425
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
426
|
+
"enableJsonFlag": true,
|
|
427
|
+
"SF_ENV": "SF_ENV",
|
|
428
|
+
"isESM": true,
|
|
429
|
+
"relativePath": [
|
|
430
|
+
"lib",
|
|
431
|
+
"commands",
|
|
432
|
+
"data",
|
|
433
|
+
"create",
|
|
434
|
+
"record.js"
|
|
435
|
+
],
|
|
436
|
+
"aliasPermutations": [
|
|
437
|
+
"force:data:record:create",
|
|
438
|
+
"data:force:record:create",
|
|
439
|
+
"data:record:force:create",
|
|
440
|
+
"data:record:create:force",
|
|
441
|
+
"force:record:data:create",
|
|
442
|
+
"record:force:data:create",
|
|
443
|
+
"record:data:force:create",
|
|
444
|
+
"record:data:create:force",
|
|
445
|
+
"force:record:create:data",
|
|
446
|
+
"record:force:create:data",
|
|
447
|
+
"record:create:force:data",
|
|
448
|
+
"record:create:data:force",
|
|
449
|
+
"force:data:create:record",
|
|
450
|
+
"data:force:create:record",
|
|
451
|
+
"data:create:force:record",
|
|
452
|
+
"data:create:record:force",
|
|
453
|
+
"force:create:data:record",
|
|
454
|
+
"create:force:data:record",
|
|
455
|
+
"create:data:force:record",
|
|
456
|
+
"create:data:record:force",
|
|
457
|
+
"force:create:record:data",
|
|
458
|
+
"create:force:record:data",
|
|
459
|
+
"create:record:force:data",
|
|
460
|
+
"create:record:data:force"
|
|
461
|
+
],
|
|
462
|
+
"permutations": [
|
|
463
|
+
"data:create:record",
|
|
464
|
+
"create:data:record",
|
|
465
|
+
"create:record:data",
|
|
466
|
+
"data:record:create",
|
|
467
|
+
"record:data:create",
|
|
468
|
+
"record:create:data"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"data:delete:bulk": {
|
|
368
472
|
"aliases": [],
|
|
473
|
+
"args": {},
|
|
474
|
+
"description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job ID to check the status of the job with the \"<%= config.bin %> data delete resume\" command.",
|
|
369
475
|
"examples": [
|
|
370
476
|
"Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
|
|
371
477
|
"Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
|
|
372
478
|
],
|
|
373
479
|
"flags": {
|
|
374
480
|
"json": {
|
|
375
|
-
"name": "json",
|
|
376
|
-
"type": "boolean",
|
|
377
481
|
"description": "Format output as json.",
|
|
378
482
|
"helpGroup": "GLOBAL",
|
|
379
|
-
"
|
|
483
|
+
"name": "json",
|
|
484
|
+
"allowNo": false,
|
|
485
|
+
"type": "boolean"
|
|
380
486
|
},
|
|
381
487
|
"target-org": {
|
|
382
|
-
"name": "target-org",
|
|
383
|
-
"type": "option",
|
|
384
|
-
"char": "o",
|
|
385
|
-
"summary": "Username or alias of the target org.",
|
|
386
|
-
"required": true,
|
|
387
|
-
"multiple": false,
|
|
388
488
|
"aliases": [
|
|
389
489
|
"targetusername",
|
|
390
490
|
"u"
|
|
391
|
-
]
|
|
491
|
+
],
|
|
492
|
+
"char": "o",
|
|
493
|
+
"deprecateAliases": true,
|
|
494
|
+
"name": "target-org",
|
|
495
|
+
"noCacheDefault": true,
|
|
496
|
+
"required": true,
|
|
497
|
+
"summary": "Username or alias of the target org.",
|
|
498
|
+
"hasDynamicHelp": true,
|
|
499
|
+
"multiple": false,
|
|
500
|
+
"type": "option"
|
|
392
501
|
},
|
|
393
502
|
"api-version": {
|
|
394
|
-
"name": "api-version",
|
|
395
|
-
"type": "option",
|
|
396
|
-
"description": "Override the api version used for api requests made by this command",
|
|
397
|
-
"multiple": false,
|
|
398
503
|
"aliases": [
|
|
399
504
|
"apiversion"
|
|
400
|
-
]
|
|
505
|
+
],
|
|
506
|
+
"deprecateAliases": true,
|
|
507
|
+
"description": "Override the api version used for api requests made by this command",
|
|
508
|
+
"name": "api-version",
|
|
509
|
+
"hasDynamicHelp": false,
|
|
510
|
+
"multiple": false,
|
|
511
|
+
"type": "option"
|
|
401
512
|
},
|
|
402
513
|
"loglevel": {
|
|
403
|
-
"name": "loglevel",
|
|
404
|
-
"type": "option",
|
|
405
|
-
"hidden": true,
|
|
406
|
-
"multiple": false,
|
|
407
514
|
"deprecated": {
|
|
408
515
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
409
|
-
}
|
|
516
|
+
},
|
|
517
|
+
"hidden": true,
|
|
518
|
+
"name": "loglevel",
|
|
519
|
+
"hasDynamicHelp": false,
|
|
520
|
+
"multiple": false,
|
|
521
|
+
"type": "option"
|
|
410
522
|
},
|
|
411
523
|
"file": {
|
|
412
|
-
"
|
|
413
|
-
|
|
524
|
+
"aliases": [
|
|
525
|
+
"csvfile"
|
|
526
|
+
],
|
|
414
527
|
"char": "f",
|
|
415
|
-
"
|
|
528
|
+
"deprecateAliases": true,
|
|
529
|
+
"name": "file",
|
|
416
530
|
"required": true,
|
|
531
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
532
|
+
"hasDynamicHelp": false,
|
|
417
533
|
"multiple": false,
|
|
418
|
-
"
|
|
419
|
-
"csvfile"
|
|
420
|
-
]
|
|
534
|
+
"type": "option"
|
|
421
535
|
},
|
|
422
536
|
"sobject": {
|
|
423
|
-
"
|
|
424
|
-
|
|
537
|
+
"aliases": [
|
|
538
|
+
"sobjecttype"
|
|
539
|
+
],
|
|
425
540
|
"char": "s",
|
|
426
|
-
"
|
|
541
|
+
"deprecateAliases": true,
|
|
542
|
+
"name": "sobject",
|
|
427
543
|
"required": true,
|
|
544
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
545
|
+
"hasDynamicHelp": false,
|
|
428
546
|
"multiple": false,
|
|
429
|
-
"
|
|
430
|
-
"sobjecttype"
|
|
431
|
-
]
|
|
547
|
+
"type": "option"
|
|
432
548
|
},
|
|
433
549
|
"wait": {
|
|
434
|
-
"name": "wait",
|
|
435
|
-
"type": "option",
|
|
436
550
|
"char": "w",
|
|
437
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
438
|
-
"multiple": false,
|
|
439
551
|
"exclusive": [
|
|
440
552
|
"async"
|
|
441
553
|
],
|
|
554
|
+
"name": "wait",
|
|
555
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
442
556
|
"default": {
|
|
443
557
|
"quantity": 0,
|
|
444
558
|
"unit": 0
|
|
445
|
-
}
|
|
559
|
+
},
|
|
560
|
+
"hasDynamicHelp": false,
|
|
561
|
+
"multiple": false,
|
|
562
|
+
"type": "option"
|
|
446
563
|
},
|
|
447
564
|
"async": {
|
|
448
|
-
"name": "async",
|
|
449
|
-
"type": "boolean",
|
|
450
565
|
"char": "a",
|
|
451
|
-
"summary": "Run the command asynchronously.",
|
|
452
|
-
"allowNo": false,
|
|
453
566
|
"exclusive": [
|
|
454
567
|
"wait"
|
|
455
|
-
]
|
|
568
|
+
],
|
|
569
|
+
"name": "async",
|
|
570
|
+
"summary": "Run the command asynchronously.",
|
|
571
|
+
"allowNo": false,
|
|
572
|
+
"type": "boolean"
|
|
456
573
|
},
|
|
457
574
|
"verbose": {
|
|
458
575
|
"name": "verbose",
|
|
459
|
-
"type": "boolean",
|
|
460
576
|
"summary": "Print verbose output of failed records if result is available.",
|
|
461
|
-
"allowNo": false
|
|
577
|
+
"allowNo": false,
|
|
578
|
+
"type": "boolean"
|
|
462
579
|
}
|
|
463
580
|
},
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
|
|
467
|
-
"data:delete:record": {
|
|
468
|
-
"id": "data:delete:record",
|
|
469
|
-
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
470
|
-
"description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
|
|
471
|
-
"strict": true,
|
|
472
|
-
"pluginName": "@salesforce/plugin-data",
|
|
581
|
+
"hasDynamicHelp": true,
|
|
582
|
+
"hiddenAliases": [],
|
|
583
|
+
"id": "data:delete:bulk",
|
|
473
584
|
"pluginAlias": "@salesforce/plugin-data",
|
|
585
|
+
"pluginName": "@salesforce/plugin-data",
|
|
474
586
|
"pluginType": "core",
|
|
587
|
+
"strict": true,
|
|
588
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
589
|
+
"enableJsonFlag": true,
|
|
590
|
+
"SF_ENV": "SF_ENV",
|
|
591
|
+
"isESM": true,
|
|
592
|
+
"relativePath": [
|
|
593
|
+
"lib",
|
|
594
|
+
"commands",
|
|
595
|
+
"data",
|
|
596
|
+
"delete",
|
|
597
|
+
"bulk.js"
|
|
598
|
+
],
|
|
599
|
+
"aliasPermutations": [],
|
|
600
|
+
"permutations": [
|
|
601
|
+
"data:delete:bulk",
|
|
602
|
+
"delete:data:bulk",
|
|
603
|
+
"delete:bulk:data",
|
|
604
|
+
"data:bulk:delete",
|
|
605
|
+
"bulk:data:delete",
|
|
606
|
+
"bulk:delete:data"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"data:delete:record": {
|
|
475
610
|
"aliases": [
|
|
476
611
|
"force:data:record:delete"
|
|
477
612
|
],
|
|
613
|
+
"args": {},
|
|
614
|
+
"deprecateAliases": true,
|
|
615
|
+
"description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
|
|
478
616
|
"examples": [
|
|
479
617
|
"Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
480
618
|
"Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
481
619
|
"Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
|
|
482
620
|
"Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
483
621
|
],
|
|
484
|
-
"deprecateAliases": true,
|
|
485
622
|
"flags": {
|
|
486
623
|
"json": {
|
|
487
|
-
"name": "json",
|
|
488
|
-
"type": "boolean",
|
|
489
624
|
"description": "Format output as json.",
|
|
490
625
|
"helpGroup": "GLOBAL",
|
|
626
|
+
"name": "json",
|
|
491
627
|
"allowNo": false,
|
|
492
|
-
"
|
|
628
|
+
"type": "boolean"
|
|
493
629
|
},
|
|
494
630
|
"target-org": {
|
|
495
|
-
"name": "target-org",
|
|
496
|
-
"type": "option",
|
|
497
|
-
"char": "o",
|
|
498
|
-
"summary": "Username or alias of the target org.",
|
|
499
|
-
"required": true,
|
|
500
|
-
"multiple": false,
|
|
501
|
-
"deprecateAliases": true,
|
|
502
631
|
"aliases": [
|
|
503
632
|
"targetusername",
|
|
504
633
|
"u"
|
|
505
|
-
]
|
|
634
|
+
],
|
|
635
|
+
"char": "o",
|
|
636
|
+
"deprecateAliases": true,
|
|
637
|
+
"name": "target-org",
|
|
638
|
+
"noCacheDefault": true,
|
|
639
|
+
"required": true,
|
|
640
|
+
"summary": "Username or alias of the target org.",
|
|
641
|
+
"hasDynamicHelp": true,
|
|
642
|
+
"multiple": false,
|
|
643
|
+
"type": "option"
|
|
506
644
|
},
|
|
507
645
|
"api-version": {
|
|
508
|
-
"name": "api-version",
|
|
509
|
-
"type": "option",
|
|
510
|
-
"description": "Override the api version used for api requests made by this command",
|
|
511
|
-
"multiple": false,
|
|
512
|
-
"deprecateAliases": true,
|
|
513
646
|
"aliases": [
|
|
514
647
|
"apiversion"
|
|
515
|
-
]
|
|
648
|
+
],
|
|
649
|
+
"deprecateAliases": true,
|
|
650
|
+
"description": "Override the api version used for api requests made by this command",
|
|
651
|
+
"name": "api-version",
|
|
652
|
+
"hasDynamicHelp": false,
|
|
653
|
+
"multiple": false,
|
|
654
|
+
"type": "option"
|
|
516
655
|
},
|
|
517
656
|
"loglevel": {
|
|
518
|
-
"name": "loglevel",
|
|
519
|
-
"type": "option",
|
|
520
|
-
"hidden": true,
|
|
521
|
-
"multiple": false,
|
|
522
657
|
"deprecated": {
|
|
523
658
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
524
659
|
},
|
|
525
|
-
"
|
|
660
|
+
"hidden": true,
|
|
661
|
+
"name": "loglevel",
|
|
662
|
+
"hasDynamicHelp": false,
|
|
663
|
+
"multiple": false,
|
|
664
|
+
"type": "option"
|
|
526
665
|
},
|
|
527
666
|
"sobject": {
|
|
528
|
-
"
|
|
529
|
-
|
|
667
|
+
"aliases": [
|
|
668
|
+
"sobjecttype"
|
|
669
|
+
],
|
|
530
670
|
"char": "s",
|
|
531
|
-
"
|
|
671
|
+
"deprecateAliases": true,
|
|
672
|
+
"name": "sobject",
|
|
532
673
|
"required": true,
|
|
674
|
+
"summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
|
|
675
|
+
"hasDynamicHelp": false,
|
|
533
676
|
"multiple": false,
|
|
534
|
-
"
|
|
535
|
-
"aliases": [
|
|
536
|
-
"sobjecttype"
|
|
537
|
-
]
|
|
677
|
+
"type": "option"
|
|
538
678
|
},
|
|
539
679
|
"record-id": {
|
|
540
|
-
"
|
|
541
|
-
|
|
680
|
+
"aliases": [
|
|
681
|
+
"sobjectid"
|
|
682
|
+
],
|
|
542
683
|
"char": "i",
|
|
684
|
+
"deprecateAliases": true,
|
|
685
|
+
"name": "record-id",
|
|
543
686
|
"summary": "ID of the record you’re deleting.",
|
|
687
|
+
"hasDynamicHelp": false,
|
|
544
688
|
"multiple": false,
|
|
545
|
-
"
|
|
546
|
-
"aliases": [
|
|
547
|
-
"sobjectid"
|
|
548
|
-
]
|
|
689
|
+
"type": "option"
|
|
549
690
|
},
|
|
550
691
|
"where": {
|
|
551
|
-
"name": "where",
|
|
552
|
-
"type": "option",
|
|
553
692
|
"char": "w",
|
|
693
|
+
"name": "where",
|
|
554
694
|
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
695
|
+
"hasDynamicHelp": false,
|
|
555
696
|
"multiple": false,
|
|
556
|
-
"
|
|
697
|
+
"type": "option"
|
|
557
698
|
},
|
|
558
699
|
"use-tooling-api": {
|
|
559
|
-
"
|
|
560
|
-
|
|
700
|
+
"aliases": [
|
|
701
|
+
"usetoolingapi"
|
|
702
|
+
],
|
|
561
703
|
"char": "t",
|
|
704
|
+
"deprecateAliases": true,
|
|
705
|
+
"name": "use-tooling-api",
|
|
562
706
|
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
563
707
|
"allowNo": false,
|
|
564
|
-
"
|
|
565
|
-
"aliases": [
|
|
566
|
-
"usetoolingapi"
|
|
567
|
-
]
|
|
708
|
+
"type": "boolean"
|
|
568
709
|
},
|
|
569
710
|
"perflog": {
|
|
570
|
-
"name": "perflog",
|
|
571
|
-
"type": "boolean",
|
|
572
|
-
"summary": "Get API performance data.",
|
|
573
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
574
|
-
"hidden": true,
|
|
575
|
-
"allowNo": false,
|
|
576
711
|
"deprecated": {
|
|
577
712
|
"version": "57"
|
|
578
713
|
},
|
|
579
|
-
"
|
|
714
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
715
|
+
"hidden": true,
|
|
716
|
+
"name": "perflog",
|
|
717
|
+
"summary": "Get API performance data.",
|
|
718
|
+
"allowNo": false,
|
|
719
|
+
"type": "boolean"
|
|
580
720
|
}
|
|
581
721
|
},
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
|
|
585
|
-
"data:delete:resume": {
|
|
586
|
-
"id": "data:delete:resume",
|
|
587
|
-
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
588
|
-
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
589
|
-
"strict": true,
|
|
590
|
-
"pluginName": "@salesforce/plugin-data",
|
|
722
|
+
"hasDynamicHelp": true,
|
|
723
|
+
"hiddenAliases": [],
|
|
724
|
+
"id": "data:delete:record",
|
|
591
725
|
"pluginAlias": "@salesforce/plugin-data",
|
|
726
|
+
"pluginName": "@salesforce/plugin-data",
|
|
592
727
|
"pluginType": "core",
|
|
728
|
+
"strict": true,
|
|
729
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
730
|
+
"enableJsonFlag": true,
|
|
731
|
+
"SF_ENV": "SF_ENV",
|
|
732
|
+
"isESM": true,
|
|
733
|
+
"relativePath": [
|
|
734
|
+
"lib",
|
|
735
|
+
"commands",
|
|
736
|
+
"data",
|
|
737
|
+
"delete",
|
|
738
|
+
"record.js"
|
|
739
|
+
],
|
|
740
|
+
"aliasPermutations": [
|
|
741
|
+
"force:data:record:delete",
|
|
742
|
+
"data:force:record:delete",
|
|
743
|
+
"data:record:force:delete",
|
|
744
|
+
"data:record:delete:force",
|
|
745
|
+
"force:record:data:delete",
|
|
746
|
+
"record:force:data:delete",
|
|
747
|
+
"record:data:force:delete",
|
|
748
|
+
"record:data:delete:force",
|
|
749
|
+
"force:record:delete:data",
|
|
750
|
+
"record:force:delete:data",
|
|
751
|
+
"record:delete:force:data",
|
|
752
|
+
"record:delete:data:force",
|
|
753
|
+
"force:data:delete:record",
|
|
754
|
+
"data:force:delete:record",
|
|
755
|
+
"data:delete:force:record",
|
|
756
|
+
"data:delete:record:force",
|
|
757
|
+
"force:delete:data:record",
|
|
758
|
+
"delete:force:data:record",
|
|
759
|
+
"delete:data:force:record",
|
|
760
|
+
"delete:data:record:force",
|
|
761
|
+
"force:delete:record:data",
|
|
762
|
+
"delete:force:record:data",
|
|
763
|
+
"delete:record:force:data",
|
|
764
|
+
"delete:record:data:force"
|
|
765
|
+
],
|
|
766
|
+
"permutations": [
|
|
767
|
+
"data:delete:record",
|
|
768
|
+
"delete:data:record",
|
|
769
|
+
"delete:record:data",
|
|
770
|
+
"data:record:delete",
|
|
771
|
+
"record:data:delete",
|
|
772
|
+
"record:delete:data"
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
"data:delete:resume": {
|
|
593
776
|
"aliases": [],
|
|
777
|
+
"args": {},
|
|
778
|
+
"deprecateAliases": true,
|
|
779
|
+
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
594
780
|
"examples": [
|
|
595
781
|
"Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
596
782
|
"Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
597
783
|
],
|
|
598
|
-
"deprecateAliases": true,
|
|
599
784
|
"flags": {
|
|
600
785
|
"json": {
|
|
601
|
-
"name": "json",
|
|
602
|
-
"type": "boolean",
|
|
603
786
|
"description": "Format output as json.",
|
|
604
787
|
"helpGroup": "GLOBAL",
|
|
788
|
+
"name": "json",
|
|
605
789
|
"allowNo": false,
|
|
606
|
-
"
|
|
790
|
+
"type": "boolean"
|
|
607
791
|
},
|
|
608
792
|
"target-org": {
|
|
609
|
-
"name": "target-org",
|
|
610
|
-
"type": "option",
|
|
611
|
-
"char": "o",
|
|
612
|
-
"summary": "Org alias or username to use for the target org.",
|
|
613
|
-
"multiple": false,
|
|
614
|
-
"deprecateAliases": true,
|
|
615
793
|
"aliases": [
|
|
616
794
|
"targetusername",
|
|
617
795
|
"u"
|
|
618
|
-
]
|
|
796
|
+
],
|
|
797
|
+
"char": "o",
|
|
798
|
+
"deprecateAliases": true,
|
|
799
|
+
"name": "target-org",
|
|
800
|
+
"noCacheDefault": true,
|
|
801
|
+
"summary": "Org alias or username to use for the target org.",
|
|
802
|
+
"hasDynamicHelp": true,
|
|
803
|
+
"multiple": false,
|
|
804
|
+
"type": "option"
|
|
619
805
|
},
|
|
620
806
|
"job-id": {
|
|
621
|
-
"
|
|
622
|
-
|
|
807
|
+
"aliases": [
|
|
808
|
+
"jobid"
|
|
809
|
+
],
|
|
623
810
|
"char": "i",
|
|
811
|
+
"deprecateAliases": true,
|
|
812
|
+
"name": "job-id",
|
|
624
813
|
"summary": "ID of the job you want to resume.",
|
|
814
|
+
"hasDynamicHelp": false,
|
|
625
815
|
"multiple": false,
|
|
626
|
-
"
|
|
627
|
-
"aliases": [
|
|
628
|
-
"jobid"
|
|
629
|
-
]
|
|
816
|
+
"type": "option"
|
|
630
817
|
},
|
|
631
818
|
"use-most-recent": {
|
|
632
|
-
"name": "use-most-recent",
|
|
633
|
-
"type": "boolean",
|
|
634
|
-
"summary": "Use the ID of the most recently-run bulk job.",
|
|
635
|
-
"allowNo": false,
|
|
636
819
|
"exclusive": [
|
|
637
820
|
"job-id"
|
|
638
821
|
],
|
|
639
|
-
"
|
|
822
|
+
"name": "use-most-recent",
|
|
823
|
+
"summary": "Use the ID of the most recently-run bulk job.",
|
|
824
|
+
"allowNo": false,
|
|
825
|
+
"type": "boolean"
|
|
640
826
|
},
|
|
641
827
|
"wait": {
|
|
642
828
|
"name": "wait",
|
|
643
|
-
"type": "option",
|
|
644
829
|
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
645
|
-
"multiple": false,
|
|
646
830
|
"default": {
|
|
647
831
|
"quantity": 0,
|
|
648
832
|
"unit": 0
|
|
649
833
|
},
|
|
650
|
-
"
|
|
834
|
+
"hasDynamicHelp": false,
|
|
835
|
+
"multiple": false,
|
|
836
|
+
"type": "option"
|
|
651
837
|
},
|
|
652
838
|
"api-version": {
|
|
653
|
-
"name": "api-version",
|
|
654
|
-
"type": "option",
|
|
655
839
|
"description": "Override the api version used for api requests made by this command",
|
|
840
|
+
"name": "api-version",
|
|
841
|
+
"hasDynamicHelp": false,
|
|
656
842
|
"multiple": false,
|
|
657
|
-
"
|
|
843
|
+
"type": "option"
|
|
658
844
|
},
|
|
659
845
|
"loglevel": {
|
|
660
|
-
"name": "loglevel",
|
|
661
|
-
"type": "option",
|
|
662
|
-
"hidden": true,
|
|
663
|
-
"multiple": false,
|
|
664
846
|
"deprecated": {
|
|
665
847
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
666
848
|
},
|
|
667
|
-
"
|
|
849
|
+
"hidden": true,
|
|
850
|
+
"name": "loglevel",
|
|
851
|
+
"hasDynamicHelp": false,
|
|
852
|
+
"multiple": false,
|
|
853
|
+
"type": "option"
|
|
668
854
|
}
|
|
669
855
|
},
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
|
|
673
|
-
"data:export:tree": {
|
|
674
|
-
"id": "data:export:tree",
|
|
675
|
-
"summary": "Export data from an org into one or more JSON files.",
|
|
676
|
-
"description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
|
|
677
|
-
"strict": true,
|
|
678
|
-
"pluginName": "@salesforce/plugin-data",
|
|
856
|
+
"hasDynamicHelp": true,
|
|
857
|
+
"hiddenAliases": [],
|
|
858
|
+
"id": "data:delete:resume",
|
|
679
859
|
"pluginAlias": "@salesforce/plugin-data",
|
|
860
|
+
"pluginName": "@salesforce/plugin-data",
|
|
680
861
|
"pluginType": "core",
|
|
862
|
+
"strict": true,
|
|
863
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
864
|
+
"enableJsonFlag": true,
|
|
865
|
+
"SF_ENV": "SF_ENV",
|
|
866
|
+
"isESM": true,
|
|
867
|
+
"relativePath": [
|
|
868
|
+
"lib",
|
|
869
|
+
"commands",
|
|
870
|
+
"data",
|
|
871
|
+
"delete",
|
|
872
|
+
"resume.js"
|
|
873
|
+
],
|
|
874
|
+
"aliasPermutations": [],
|
|
875
|
+
"permutations": [
|
|
876
|
+
"data:delete:resume",
|
|
877
|
+
"delete:data:resume",
|
|
878
|
+
"delete:resume:data",
|
|
879
|
+
"data:resume:delete",
|
|
880
|
+
"resume:data:delete",
|
|
881
|
+
"resume:delete:data"
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
"data:export:tree": {
|
|
681
885
|
"aliases": [
|
|
682
886
|
"force:data:tree:export"
|
|
683
887
|
],
|
|
888
|
+
"args": {},
|
|
889
|
+
"deprecateAliases": true,
|
|
890
|
+
"description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
|
|
684
891
|
"examples": [
|
|
685
892
|
"Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"",
|
|
686
893
|
"Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
|
|
687
894
|
"Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
|
|
688
895
|
],
|
|
689
|
-
"deprecateAliases": true,
|
|
690
896
|
"flags": {
|
|
691
897
|
"json": {
|
|
692
|
-
"name": "json",
|
|
693
|
-
"type": "boolean",
|
|
694
898
|
"description": "Format output as json.",
|
|
695
899
|
"helpGroup": "GLOBAL",
|
|
900
|
+
"name": "json",
|
|
696
901
|
"allowNo": false,
|
|
697
|
-
"
|
|
902
|
+
"type": "boolean"
|
|
698
903
|
},
|
|
699
904
|
"target-org": {
|
|
700
|
-
"name": "target-org",
|
|
701
|
-
"type": "option",
|
|
702
|
-
"char": "o",
|
|
703
|
-
"summary": "Username or alias of the target org.",
|
|
704
|
-
"required": true,
|
|
705
|
-
"multiple": false,
|
|
706
|
-
"deprecateAliases": true,
|
|
707
905
|
"aliases": [
|
|
708
906
|
"targetusername",
|
|
709
907
|
"u"
|
|
710
|
-
]
|
|
908
|
+
],
|
|
909
|
+
"char": "o",
|
|
910
|
+
"deprecateAliases": true,
|
|
911
|
+
"name": "target-org",
|
|
912
|
+
"noCacheDefault": true,
|
|
913
|
+
"required": true,
|
|
914
|
+
"summary": "Username or alias of the target org.",
|
|
915
|
+
"hasDynamicHelp": true,
|
|
916
|
+
"multiple": false,
|
|
917
|
+
"type": "option"
|
|
711
918
|
},
|
|
712
919
|
"api-version": {
|
|
713
|
-
"name": "api-version",
|
|
714
|
-
"type": "option",
|
|
715
|
-
"description": "Override the api version used for api requests made by this command",
|
|
716
|
-
"multiple": false,
|
|
717
|
-
"deprecateAliases": true,
|
|
718
920
|
"aliases": [
|
|
719
921
|
"apiversion"
|
|
720
|
-
]
|
|
922
|
+
],
|
|
923
|
+
"deprecateAliases": true,
|
|
924
|
+
"description": "Override the api version used for api requests made by this command",
|
|
925
|
+
"name": "api-version",
|
|
926
|
+
"hasDynamicHelp": false,
|
|
927
|
+
"multiple": false,
|
|
928
|
+
"type": "option"
|
|
721
929
|
},
|
|
722
930
|
"loglevel": {
|
|
723
|
-
"name": "loglevel",
|
|
724
|
-
"type": "option",
|
|
725
|
-
"hidden": true,
|
|
726
|
-
"multiple": false,
|
|
727
931
|
"deprecated": {
|
|
728
932
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
729
933
|
},
|
|
730
|
-
"
|
|
934
|
+
"hidden": true,
|
|
935
|
+
"name": "loglevel",
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": false,
|
|
938
|
+
"type": "option"
|
|
731
939
|
},
|
|
732
940
|
"query": {
|
|
733
|
-
"name": "query",
|
|
734
|
-
"type": "option",
|
|
735
941
|
"char": "q",
|
|
736
|
-
"
|
|
942
|
+
"name": "query",
|
|
737
943
|
"required": true,
|
|
944
|
+
"summary": "SOQL query, or filepath of a file that contains the query, to retrieve records.",
|
|
945
|
+
"hasDynamicHelp": false,
|
|
738
946
|
"multiple": false,
|
|
739
|
-
"
|
|
947
|
+
"type": "option"
|
|
740
948
|
},
|
|
741
949
|
"plan": {
|
|
742
|
-
"name": "plan",
|
|
743
|
-
"type": "boolean",
|
|
744
950
|
"char": "p",
|
|
951
|
+
"name": "plan",
|
|
745
952
|
"summary": "Generate multiple sObject tree files and a plan definition file for aggregated import.",
|
|
746
953
|
"allowNo": false,
|
|
747
|
-
"
|
|
954
|
+
"type": "boolean"
|
|
748
955
|
},
|
|
749
956
|
"prefix": {
|
|
750
|
-
"name": "prefix",
|
|
751
|
-
"type": "option",
|
|
752
957
|
"char": "x",
|
|
958
|
+
"name": "prefix",
|
|
753
959
|
"summary": "Prefix of generated files.",
|
|
960
|
+
"hasDynamicHelp": false,
|
|
754
961
|
"multiple": false,
|
|
755
|
-
"
|
|
962
|
+
"type": "option"
|
|
756
963
|
},
|
|
757
964
|
"output-dir": {
|
|
758
|
-
"
|
|
759
|
-
|
|
965
|
+
"aliases": [
|
|
966
|
+
"outputdir"
|
|
967
|
+
],
|
|
760
968
|
"char": "d",
|
|
969
|
+
"deprecateAliases": true,
|
|
970
|
+
"name": "output-dir",
|
|
761
971
|
"summary": "Directory in which to generate the JSON files; default is current directory.",
|
|
972
|
+
"hasDynamicHelp": false,
|
|
762
973
|
"multiple": false,
|
|
763
|
-
"
|
|
764
|
-
"aliases": [
|
|
765
|
-
"outputdir"
|
|
766
|
-
]
|
|
974
|
+
"type": "option"
|
|
767
975
|
}
|
|
768
976
|
},
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
|
|
772
|
-
"data:get:record": {
|
|
773
|
-
"id": "data:get:record",
|
|
774
|
-
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
775
|
-
"description": "Specify the record you want to retrieve with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the command fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThe command displays all the record's fields and their values, one field per terminal line. Fields with no values are displayed as \"null\".\n\nThis command retrieves a record from Salesforce objects by default. Use the --use-tooling-api flag to retrieve from a Tooling API object.",
|
|
776
|
-
"strict": true,
|
|
777
|
-
"pluginName": "@salesforce/plugin-data",
|
|
977
|
+
"hasDynamicHelp": true,
|
|
978
|
+
"hiddenAliases": [],
|
|
979
|
+
"id": "data:export:tree",
|
|
778
980
|
"pluginAlias": "@salesforce/plugin-data",
|
|
981
|
+
"pluginName": "@salesforce/plugin-data",
|
|
779
982
|
"pluginType": "core",
|
|
983
|
+
"strict": true,
|
|
984
|
+
"summary": "Export data from an org into one or more JSON files.",
|
|
985
|
+
"enableJsonFlag": true,
|
|
986
|
+
"SF_ENV": "SF_ENV",
|
|
987
|
+
"isESM": true,
|
|
988
|
+
"relativePath": [
|
|
989
|
+
"lib",
|
|
990
|
+
"commands",
|
|
991
|
+
"data",
|
|
992
|
+
"export",
|
|
993
|
+
"tree.js"
|
|
994
|
+
],
|
|
995
|
+
"aliasPermutations": [
|
|
996
|
+
"force:data:tree:export",
|
|
997
|
+
"data:force:tree:export",
|
|
998
|
+
"data:tree:force:export",
|
|
999
|
+
"data:tree:export:force",
|
|
1000
|
+
"force:tree:data:export",
|
|
1001
|
+
"tree:force:data:export",
|
|
1002
|
+
"tree:data:force:export",
|
|
1003
|
+
"tree:data:export:force",
|
|
1004
|
+
"force:tree:export:data",
|
|
1005
|
+
"tree:force:export:data",
|
|
1006
|
+
"tree:export:force:data",
|
|
1007
|
+
"tree:export:data:force",
|
|
1008
|
+
"force:data:export:tree",
|
|
1009
|
+
"data:force:export:tree",
|
|
1010
|
+
"data:export:force:tree",
|
|
1011
|
+
"data:export:tree:force",
|
|
1012
|
+
"force:export:data:tree",
|
|
1013
|
+
"export:force:data:tree",
|
|
1014
|
+
"export:data:force:tree",
|
|
1015
|
+
"export:data:tree:force",
|
|
1016
|
+
"force:export:tree:data",
|
|
1017
|
+
"export:force:tree:data",
|
|
1018
|
+
"export:tree:force:data",
|
|
1019
|
+
"export:tree:data:force"
|
|
1020
|
+
],
|
|
1021
|
+
"permutations": [
|
|
1022
|
+
"data:export:tree",
|
|
1023
|
+
"export:data:tree",
|
|
1024
|
+
"export:tree:data",
|
|
1025
|
+
"data:tree:export",
|
|
1026
|
+
"tree:data:export",
|
|
1027
|
+
"tree:export:data"
|
|
1028
|
+
]
|
|
1029
|
+
},
|
|
1030
|
+
"data:get:record": {
|
|
780
1031
|
"aliases": [
|
|
781
1032
|
"force:data:record:get"
|
|
782
1033
|
],
|
|
1034
|
+
"args": {},
|
|
1035
|
+
"deprecateAliases": true,
|
|
1036
|
+
"description": "Specify the record you want to retrieve with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the command fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThe command displays all the record's fields and their values, one field per terminal line. Fields with no values are displayed as \"null\".\n\nThis command retrieves a record from Salesforce objects by default. Use the --use-tooling-api flag to retrieve from a Tooling API object.",
|
|
783
1037
|
"examples": [
|
|
784
1038
|
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
785
1039
|
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
786
1040
|
"Retrieve a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
|
|
787
1041
|
"Retrieve a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
788
1042
|
],
|
|
789
|
-
"deprecateAliases": true,
|
|
790
1043
|
"flags": {
|
|
791
1044
|
"json": {
|
|
792
|
-
"name": "json",
|
|
793
|
-
"type": "boolean",
|
|
794
1045
|
"description": "Format output as json.",
|
|
795
1046
|
"helpGroup": "GLOBAL",
|
|
1047
|
+
"name": "json",
|
|
796
1048
|
"allowNo": false,
|
|
797
|
-
"
|
|
1049
|
+
"type": "boolean"
|
|
798
1050
|
},
|
|
799
1051
|
"target-org": {
|
|
800
|
-
"name": "target-org",
|
|
801
|
-
"type": "option",
|
|
802
|
-
"char": "o",
|
|
803
|
-
"summary": "Username or alias of the target org.",
|
|
804
|
-
"required": true,
|
|
805
|
-
"multiple": false,
|
|
806
|
-
"deprecateAliases": true,
|
|
807
1052
|
"aliases": [
|
|
808
1053
|
"targetusername",
|
|
809
1054
|
"u"
|
|
810
|
-
]
|
|
1055
|
+
],
|
|
1056
|
+
"char": "o",
|
|
1057
|
+
"deprecateAliases": true,
|
|
1058
|
+
"name": "target-org",
|
|
1059
|
+
"noCacheDefault": true,
|
|
1060
|
+
"required": true,
|
|
1061
|
+
"summary": "Username or alias of the target org.",
|
|
1062
|
+
"hasDynamicHelp": true,
|
|
1063
|
+
"multiple": false,
|
|
1064
|
+
"type": "option"
|
|
811
1065
|
},
|
|
812
1066
|
"api-version": {
|
|
813
|
-
"name": "api-version",
|
|
814
|
-
"type": "option",
|
|
815
|
-
"description": "Override the api version used for api requests made by this command",
|
|
816
|
-
"multiple": false,
|
|
817
|
-
"deprecateAliases": true,
|
|
818
1067
|
"aliases": [
|
|
819
1068
|
"apiversion"
|
|
820
|
-
]
|
|
1069
|
+
],
|
|
1070
|
+
"deprecateAliases": true,
|
|
1071
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1072
|
+
"name": "api-version",
|
|
1073
|
+
"hasDynamicHelp": false,
|
|
1074
|
+
"multiple": false,
|
|
1075
|
+
"type": "option"
|
|
821
1076
|
},
|
|
822
1077
|
"loglevel": {
|
|
823
|
-
"name": "loglevel",
|
|
824
|
-
"type": "option",
|
|
825
|
-
"hidden": true,
|
|
826
|
-
"multiple": false,
|
|
827
1078
|
"deprecated": {
|
|
828
1079
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
829
1080
|
},
|
|
830
|
-
"
|
|
1081
|
+
"hidden": true,
|
|
1082
|
+
"name": "loglevel",
|
|
1083
|
+
"hasDynamicHelp": false,
|
|
1084
|
+
"multiple": false,
|
|
1085
|
+
"type": "option"
|
|
831
1086
|
},
|
|
832
1087
|
"sobject": {
|
|
833
|
-
"
|
|
834
|
-
|
|
1088
|
+
"aliases": [
|
|
1089
|
+
"sobjecttype"
|
|
1090
|
+
],
|
|
835
1091
|
"char": "s",
|
|
836
|
-
"
|
|
1092
|
+
"deprecateAliases": true,
|
|
1093
|
+
"name": "sobject",
|
|
837
1094
|
"required": true,
|
|
1095
|
+
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1096
|
+
"hasDynamicHelp": false,
|
|
838
1097
|
"multiple": false,
|
|
839
|
-
"
|
|
840
|
-
"aliases": [
|
|
841
|
-
"sobjecttype"
|
|
842
|
-
]
|
|
1098
|
+
"type": "option"
|
|
843
1099
|
},
|
|
844
1100
|
"record-id": {
|
|
845
|
-
"
|
|
846
|
-
|
|
1101
|
+
"aliases": [
|
|
1102
|
+
"sobjectid"
|
|
1103
|
+
],
|
|
847
1104
|
"char": "i",
|
|
1105
|
+
"deprecateAliases": true,
|
|
1106
|
+
"name": "record-id",
|
|
848
1107
|
"summary": "ID of the record you’re retrieving.",
|
|
1108
|
+
"hasDynamicHelp": false,
|
|
849
1109
|
"multiple": false,
|
|
850
|
-
"
|
|
851
|
-
"aliases": [
|
|
852
|
-
"sobjectid"
|
|
853
|
-
]
|
|
1110
|
+
"type": "option"
|
|
854
1111
|
},
|
|
855
1112
|
"where": {
|
|
856
|
-
"name": "where",
|
|
857
|
-
"type": "option",
|
|
858
1113
|
"char": "w",
|
|
1114
|
+
"name": "where",
|
|
859
1115
|
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1116
|
+
"hasDynamicHelp": false,
|
|
860
1117
|
"multiple": false,
|
|
861
|
-
"
|
|
1118
|
+
"type": "option"
|
|
862
1119
|
},
|
|
863
1120
|
"use-tooling-api": {
|
|
864
|
-
"
|
|
865
|
-
|
|
1121
|
+
"aliases": [
|
|
1122
|
+
"usetoolingapi"
|
|
1123
|
+
],
|
|
866
1124
|
"char": "t",
|
|
1125
|
+
"deprecateAliases": true,
|
|
1126
|
+
"name": "use-tooling-api",
|
|
867
1127
|
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
868
1128
|
"allowNo": false,
|
|
869
|
-
"
|
|
870
|
-
"aliases": [
|
|
871
|
-
"usetoolingapi"
|
|
872
|
-
]
|
|
1129
|
+
"type": "boolean"
|
|
873
1130
|
},
|
|
874
1131
|
"perflog": {
|
|
875
|
-
"name": "perflog",
|
|
876
|
-
"type": "boolean",
|
|
877
|
-
"summary": "Get API performance data.",
|
|
878
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
879
|
-
"hidden": true,
|
|
880
|
-
"allowNo": false,
|
|
881
1132
|
"deprecated": {
|
|
882
1133
|
"version": "57"
|
|
883
1134
|
},
|
|
884
|
-
"
|
|
1135
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1136
|
+
"hidden": true,
|
|
1137
|
+
"name": "perflog",
|
|
1138
|
+
"summary": "Get API performance data.",
|
|
1139
|
+
"allowNo": false,
|
|
1140
|
+
"type": "boolean"
|
|
885
1141
|
}
|
|
886
1142
|
},
|
|
887
|
-
"
|
|
888
|
-
"
|
|
889
|
-
|
|
890
|
-
"data:import:tree": {
|
|
891
|
-
"id": "data:import:tree",
|
|
892
|
-
"summary": "Import data from one or more JSON files into an org.",
|
|
893
|
-
"description": "The JSON files that contain the data are in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use the \"<%= config.bin %> data export tree\" command to generate these JSON files.\n\nIf you used the --plan flag when exporting the data to generate a plan definition file, use the --plan flag to reference the file when you import. If you're not using a plan, use the --files flag to list the files. If you specify multiple JSON files that depend on each other in a parent-child relationship, be sure you list them in the correct order.\n\nThe sObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm)",
|
|
894
|
-
"strict": true,
|
|
895
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1143
|
+
"hasDynamicHelp": true,
|
|
1144
|
+
"hiddenAliases": [],
|
|
1145
|
+
"id": "data:get:record",
|
|
896
1146
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1147
|
+
"pluginName": "@salesforce/plugin-data",
|
|
897
1148
|
"pluginType": "core",
|
|
1149
|
+
"strict": true,
|
|
1150
|
+
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1151
|
+
"enableJsonFlag": true,
|
|
1152
|
+
"SF_ENV": "SF_ENV",
|
|
1153
|
+
"isESM": true,
|
|
1154
|
+
"relativePath": [
|
|
1155
|
+
"lib",
|
|
1156
|
+
"commands",
|
|
1157
|
+
"data",
|
|
1158
|
+
"get",
|
|
1159
|
+
"record.js"
|
|
1160
|
+
],
|
|
1161
|
+
"aliasPermutations": [
|
|
1162
|
+
"force:data:record:get",
|
|
1163
|
+
"data:force:record:get",
|
|
1164
|
+
"data:record:force:get",
|
|
1165
|
+
"data:record:get:force",
|
|
1166
|
+
"force:record:data:get",
|
|
1167
|
+
"record:force:data:get",
|
|
1168
|
+
"record:data:force:get",
|
|
1169
|
+
"record:data:get:force",
|
|
1170
|
+
"force:record:get:data",
|
|
1171
|
+
"record:force:get:data",
|
|
1172
|
+
"record:get:force:data",
|
|
1173
|
+
"record:get:data:force",
|
|
1174
|
+
"force:data:get:record",
|
|
1175
|
+
"data:force:get:record",
|
|
1176
|
+
"data:get:force:record",
|
|
1177
|
+
"data:get:record:force",
|
|
1178
|
+
"force:get:data:record",
|
|
1179
|
+
"get:force:data:record",
|
|
1180
|
+
"get:data:force:record",
|
|
1181
|
+
"get:data:record:force",
|
|
1182
|
+
"force:get:record:data",
|
|
1183
|
+
"get:force:record:data",
|
|
1184
|
+
"get:record:force:data",
|
|
1185
|
+
"get:record:data:force"
|
|
1186
|
+
],
|
|
1187
|
+
"permutations": [
|
|
1188
|
+
"data:get:record",
|
|
1189
|
+
"get:data:record",
|
|
1190
|
+
"get:record:data",
|
|
1191
|
+
"data:record:get",
|
|
1192
|
+
"record:data:get",
|
|
1193
|
+
"record:get:data"
|
|
1194
|
+
]
|
|
1195
|
+
},
|
|
1196
|
+
"data:import:tree": {
|
|
898
1197
|
"aliases": [
|
|
899
1198
|
"force:data:tree:import"
|
|
900
1199
|
],
|
|
1200
|
+
"args": {},
|
|
1201
|
+
"deprecateAliases": true,
|
|
1202
|
+
"description": "The JSON files that contain the data are in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use the \"<%= config.bin %> data export tree\" command to generate these JSON files.\n\nIf you used the --plan flag when exporting the data to generate a plan definition file, use the --plan flag to reference the file when you import. If you're not using a plan, use the --files flag to list the files. If you specify multiple JSON files that depend on each other in a parent-child relationship, be sure you list them in the correct order.\n\nThe sObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm)",
|
|
901
1203
|
"examples": [
|
|
902
1204
|
"Import the records contained in two JSON files into the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --files Contact.json,Account.json --target-org my-scratch",
|
|
903
1205
|
"Import records using a plan definition file into your default org:\n<%= config.bin %> <%= command.id %> --plan Account-Contact-plan.json"
|
|
904
1206
|
],
|
|
905
|
-
"deprecateAliases": true,
|
|
906
1207
|
"flags": {
|
|
907
1208
|
"json": {
|
|
908
|
-
"name": "json",
|
|
909
|
-
"type": "boolean",
|
|
910
1209
|
"description": "Format output as json.",
|
|
911
1210
|
"helpGroup": "GLOBAL",
|
|
1211
|
+
"name": "json",
|
|
912
1212
|
"allowNo": false,
|
|
913
|
-
"
|
|
1213
|
+
"type": "boolean"
|
|
914
1214
|
},
|
|
915
1215
|
"target-org": {
|
|
916
|
-
"name": "target-org",
|
|
917
|
-
"type": "option",
|
|
918
|
-
"char": "o",
|
|
919
|
-
"summary": "Username or alias of the target org.",
|
|
920
|
-
"required": true,
|
|
921
|
-
"multiple": false,
|
|
922
|
-
"deprecateAliases": true,
|
|
923
1216
|
"aliases": [
|
|
924
1217
|
"targetusername",
|
|
925
1218
|
"u"
|
|
926
|
-
]
|
|
1219
|
+
],
|
|
1220
|
+
"char": "o",
|
|
1221
|
+
"deprecateAliases": true,
|
|
1222
|
+
"name": "target-org",
|
|
1223
|
+
"noCacheDefault": true,
|
|
1224
|
+
"required": true,
|
|
1225
|
+
"summary": "Username or alias of the target org.",
|
|
1226
|
+
"hasDynamicHelp": true,
|
|
1227
|
+
"multiple": false,
|
|
1228
|
+
"type": "option"
|
|
927
1229
|
},
|
|
928
1230
|
"api-version": {
|
|
929
|
-
"name": "api-version",
|
|
930
|
-
"type": "option",
|
|
931
|
-
"description": "Override the api version used for api requests made by this command",
|
|
932
|
-
"multiple": false,
|
|
933
|
-
"deprecateAliases": true,
|
|
934
1231
|
"aliases": [
|
|
935
1232
|
"apiversion"
|
|
936
|
-
]
|
|
1233
|
+
],
|
|
1234
|
+
"deprecateAliases": true,
|
|
1235
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1236
|
+
"name": "api-version",
|
|
1237
|
+
"hasDynamicHelp": false,
|
|
1238
|
+
"multiple": false,
|
|
1239
|
+
"type": "option"
|
|
937
1240
|
},
|
|
938
1241
|
"loglevel": {
|
|
939
|
-
"name": "loglevel",
|
|
940
|
-
"type": "option",
|
|
941
|
-
"hidden": true,
|
|
942
|
-
"multiple": false,
|
|
943
1242
|
"deprecated": {
|
|
944
1243
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
945
1244
|
},
|
|
946
|
-
"
|
|
1245
|
+
"hidden": true,
|
|
1246
|
+
"name": "loglevel",
|
|
1247
|
+
"hasDynamicHelp": false,
|
|
1248
|
+
"multiple": false,
|
|
1249
|
+
"type": "option"
|
|
947
1250
|
},
|
|
948
1251
|
"files": {
|
|
949
|
-
"
|
|
950
|
-
|
|
1252
|
+
"aliases": [
|
|
1253
|
+
"sobjecttreefiles"
|
|
1254
|
+
],
|
|
951
1255
|
"char": "f",
|
|
952
|
-
"
|
|
953
|
-
"multiple": true,
|
|
1256
|
+
"deprecateAliases": true,
|
|
954
1257
|
"exclusive": [
|
|
955
1258
|
"plan"
|
|
956
1259
|
],
|
|
957
|
-
"
|
|
958
|
-
"
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
"
|
|
1260
|
+
"name": "files",
|
|
1261
|
+
"summary": "Comma-separated and in-order JSON files that contain the records, in sObject tree format, that you want to insert.",
|
|
1262
|
+
"delimiter": ",",
|
|
1263
|
+
"hasDynamicHelp": false,
|
|
1264
|
+
"multiple": true,
|
|
1265
|
+
"type": "option"
|
|
962
1266
|
},
|
|
963
1267
|
"plan": {
|
|
964
|
-
"name": "plan",
|
|
965
|
-
"type": "option",
|
|
966
1268
|
"char": "p",
|
|
1269
|
+
"name": "plan",
|
|
967
1270
|
"summary": "Plan definition file to insert multiple data files.",
|
|
1271
|
+
"hasDynamicHelp": false,
|
|
968
1272
|
"multiple": false,
|
|
969
|
-
"
|
|
1273
|
+
"type": "option"
|
|
970
1274
|
},
|
|
971
1275
|
"content-type": {
|
|
972
|
-
"
|
|
973
|
-
|
|
1276
|
+
"aliases": [
|
|
1277
|
+
"contenttype"
|
|
1278
|
+
],
|
|
974
1279
|
"char": "c",
|
|
975
|
-
"
|
|
1280
|
+
"deprecateAliases": true,
|
|
976
1281
|
"hidden": true,
|
|
1282
|
+
"name": "content-type",
|
|
1283
|
+
"summary": "Content type of import files if their extention is not .json.",
|
|
1284
|
+
"hasDynamicHelp": false,
|
|
977
1285
|
"multiple": false,
|
|
978
|
-
"
|
|
979
|
-
"aliases": [
|
|
980
|
-
"contenttype"
|
|
981
|
-
]
|
|
1286
|
+
"type": "option"
|
|
982
1287
|
},
|
|
983
1288
|
"config-help": {
|
|
1289
|
+
"aliases": [
|
|
1290
|
+
"confighelp"
|
|
1291
|
+
],
|
|
1292
|
+
"deprecateAliases": true,
|
|
984
1293
|
"name": "config-help",
|
|
985
|
-
"type": "boolean",
|
|
986
1294
|
"summary": "Display schema information for the --plan configuration file to stdout; if you specify this flag, all other flags except --json are ignored.",
|
|
987
1295
|
"allowNo": false,
|
|
988
|
-
"
|
|
989
|
-
"aliases": [
|
|
990
|
-
"confighelp"
|
|
991
|
-
]
|
|
1296
|
+
"type": "boolean"
|
|
992
1297
|
}
|
|
993
1298
|
},
|
|
994
|
-
"
|
|
995
|
-
"
|
|
996
|
-
|
|
997
|
-
"data:query:resume": {
|
|
998
|
-
"id": "data:query:resume",
|
|
999
|
-
"summary": "View the status of a bulk query.",
|
|
1000
|
-
"description": "Run this command using the job ID returned from the \"<%= config.bin %> data query --bulk\" command.",
|
|
1001
|
-
"strict": true,
|
|
1002
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1299
|
+
"hasDynamicHelp": true,
|
|
1300
|
+
"hiddenAliases": [],
|
|
1301
|
+
"id": "data:import:tree",
|
|
1003
1302
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1303
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1004
1304
|
"pluginType": "core",
|
|
1305
|
+
"strict": true,
|
|
1306
|
+
"summary": "Import data from one or more JSON files into an org.",
|
|
1307
|
+
"enableJsonFlag": true,
|
|
1308
|
+
"SF_ENV": "SF_ENV",
|
|
1309
|
+
"isESM": true,
|
|
1310
|
+
"relativePath": [
|
|
1311
|
+
"lib",
|
|
1312
|
+
"commands",
|
|
1313
|
+
"data",
|
|
1314
|
+
"import",
|
|
1315
|
+
"tree.js"
|
|
1316
|
+
],
|
|
1317
|
+
"aliasPermutations": [
|
|
1318
|
+
"force:data:tree:import",
|
|
1319
|
+
"data:force:tree:import",
|
|
1320
|
+
"data:tree:force:import",
|
|
1321
|
+
"data:tree:import:force",
|
|
1322
|
+
"force:tree:data:import",
|
|
1323
|
+
"tree:force:data:import",
|
|
1324
|
+
"tree:data:force:import",
|
|
1325
|
+
"tree:data:import:force",
|
|
1326
|
+
"force:tree:import:data",
|
|
1327
|
+
"tree:force:import:data",
|
|
1328
|
+
"tree:import:force:data",
|
|
1329
|
+
"tree:import:data:force",
|
|
1330
|
+
"force:data:import:tree",
|
|
1331
|
+
"data:force:import:tree",
|
|
1332
|
+
"data:import:force:tree",
|
|
1333
|
+
"data:import:tree:force",
|
|
1334
|
+
"force:import:data:tree",
|
|
1335
|
+
"import:force:data:tree",
|
|
1336
|
+
"import:data:force:tree",
|
|
1337
|
+
"import:data:tree:force",
|
|
1338
|
+
"force:import:tree:data",
|
|
1339
|
+
"import:force:tree:data",
|
|
1340
|
+
"import:tree:force:data",
|
|
1341
|
+
"import:tree:data:force"
|
|
1342
|
+
],
|
|
1343
|
+
"permutations": [
|
|
1344
|
+
"data:import:tree",
|
|
1345
|
+
"import:data:tree",
|
|
1346
|
+
"import:tree:data",
|
|
1347
|
+
"data:tree:import",
|
|
1348
|
+
"tree:data:import",
|
|
1349
|
+
"tree:import:data"
|
|
1350
|
+
]
|
|
1351
|
+
},
|
|
1352
|
+
"data:query:resume": {
|
|
1005
1353
|
"aliases": [
|
|
1006
1354
|
"force:data:soql:bulk:report"
|
|
1007
1355
|
],
|
|
1356
|
+
"args": {},
|
|
1357
|
+
"deprecateAliases": true,
|
|
1358
|
+
"description": "Run this command using the job ID returned from the \"<%= config.bin %> data query --bulk\" command.",
|
|
1008
1359
|
"examples": [
|
|
1009
1360
|
"View the status of a bulk query with the specified ID:\n<%= config.bin %> <%= command.id %> --bulk-query-id 7500x000005BdFzXXX"
|
|
1010
1361
|
],
|
|
1011
|
-
"deprecateAliases": true,
|
|
1012
1362
|
"flags": {
|
|
1013
1363
|
"json": {
|
|
1014
|
-
"name": "json",
|
|
1015
|
-
"type": "boolean",
|
|
1016
1364
|
"description": "Format output as json.",
|
|
1017
1365
|
"helpGroup": "GLOBAL",
|
|
1366
|
+
"name": "json",
|
|
1018
1367
|
"allowNo": false,
|
|
1019
|
-
"
|
|
1368
|
+
"type": "boolean"
|
|
1020
1369
|
},
|
|
1021
1370
|
"target-org": {
|
|
1022
|
-
"name": "target-org",
|
|
1023
|
-
"type": "option",
|
|
1024
|
-
"char": "o",
|
|
1025
|
-
"summary": "Org alias or username to use for the target org.",
|
|
1026
|
-
"multiple": false,
|
|
1027
|
-
"deprecateAliases": true,
|
|
1028
1371
|
"aliases": [
|
|
1029
1372
|
"targetusername",
|
|
1030
1373
|
"u"
|
|
1031
|
-
]
|
|
1374
|
+
],
|
|
1375
|
+
"char": "o",
|
|
1376
|
+
"deprecateAliases": true,
|
|
1377
|
+
"name": "target-org",
|
|
1378
|
+
"noCacheDefault": true,
|
|
1379
|
+
"summary": "Org alias or username to use for the target org.",
|
|
1380
|
+
"hasDynamicHelp": true,
|
|
1381
|
+
"multiple": false,
|
|
1382
|
+
"type": "option"
|
|
1032
1383
|
},
|
|
1033
1384
|
"api-version": {
|
|
1034
|
-
"name": "api-version",
|
|
1035
|
-
"type": "option",
|
|
1036
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1037
|
-
"multiple": false,
|
|
1038
|
-
"deprecateAliases": true,
|
|
1039
1385
|
"aliases": [
|
|
1040
1386
|
"apiversion"
|
|
1041
|
-
]
|
|
1387
|
+
],
|
|
1388
|
+
"deprecateAliases": true,
|
|
1389
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1390
|
+
"name": "api-version",
|
|
1391
|
+
"hasDynamicHelp": false,
|
|
1392
|
+
"multiple": false,
|
|
1393
|
+
"type": "option"
|
|
1042
1394
|
},
|
|
1043
1395
|
"loglevel": {
|
|
1044
|
-
"name": "loglevel",
|
|
1045
|
-
"type": "option",
|
|
1046
|
-
"hidden": true,
|
|
1047
|
-
"multiple": false,
|
|
1048
1396
|
"deprecated": {
|
|
1049
1397
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1050
1398
|
},
|
|
1051
|
-
"
|
|
1399
|
+
"hidden": true,
|
|
1400
|
+
"name": "loglevel",
|
|
1401
|
+
"hasDynamicHelp": false,
|
|
1402
|
+
"multiple": false,
|
|
1403
|
+
"type": "option"
|
|
1052
1404
|
},
|
|
1053
1405
|
"result-format": {
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1406
|
+
"aliases": [
|
|
1407
|
+
"resultformat"
|
|
1408
|
+
],
|
|
1056
1409
|
"char": "r",
|
|
1410
|
+
"deprecateAliases": true,
|
|
1411
|
+
"name": "result-format",
|
|
1057
1412
|
"summary": "Format to display the results; the --json flag overrides this flag.",
|
|
1413
|
+
"default": "human",
|
|
1414
|
+
"hasDynamicHelp": false,
|
|
1058
1415
|
"multiple": false,
|
|
1059
1416
|
"options": [
|
|
1060
1417
|
"human",
|
|
1061
1418
|
"json",
|
|
1062
1419
|
"csv"
|
|
1063
1420
|
],
|
|
1064
|
-
"
|
|
1065
|
-
"deprecateAliases": true,
|
|
1066
|
-
"aliases": [
|
|
1067
|
-
"resultformat"
|
|
1068
|
-
]
|
|
1421
|
+
"type": "option"
|
|
1069
1422
|
},
|
|
1070
1423
|
"bulk-query-id": {
|
|
1071
|
-
"
|
|
1072
|
-
|
|
1424
|
+
"aliases": [
|
|
1425
|
+
"bulkqueryid"
|
|
1426
|
+
],
|
|
1073
1427
|
"char": "i",
|
|
1428
|
+
"deprecateAliases": true,
|
|
1429
|
+
"name": "bulk-query-id",
|
|
1074
1430
|
"summary": "Job ID of the bulk query.",
|
|
1431
|
+
"hasDynamicHelp": false,
|
|
1075
1432
|
"multiple": false,
|
|
1076
|
-
"
|
|
1077
|
-
"aliases": [
|
|
1078
|
-
"bulkqueryid"
|
|
1079
|
-
]
|
|
1433
|
+
"type": "option"
|
|
1080
1434
|
},
|
|
1081
1435
|
"use-most-recent": {
|
|
1082
|
-
"name": "use-most-recent",
|
|
1083
|
-
"type": "boolean",
|
|
1084
|
-
"summary": "Use the most recent bulk query ID from cache.",
|
|
1085
|
-
"allowNo": false,
|
|
1086
1436
|
"exclusive": [
|
|
1087
1437
|
"bulk-query-id"
|
|
1088
1438
|
],
|
|
1089
|
-
"
|
|
1439
|
+
"name": "use-most-recent",
|
|
1440
|
+
"summary": "Use the most recent bulk query ID from cache.",
|
|
1441
|
+
"allowNo": false,
|
|
1442
|
+
"type": "boolean"
|
|
1090
1443
|
}
|
|
1091
1444
|
},
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1094
|
-
|
|
1095
|
-
"data:update:record": {
|
|
1096
|
-
"id": "data:update:record",
|
|
1097
|
-
"summary": "Updates a single record of a Salesforce or Tooling API object.",
|
|
1098
|
-
"description": "Specify the record you want to update with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the update fails; the error displays how many records were found.\n\nWhen using field-value pairs for both identifying the record and specifiyng the new field values, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command updates a record in Salesforce objects by default. Use the --use-tooling-api flag to update a Tooling API object.",
|
|
1099
|
-
"strict": true,
|
|
1100
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1445
|
+
"hasDynamicHelp": true,
|
|
1446
|
+
"hiddenAliases": [],
|
|
1447
|
+
"id": "data:query:resume",
|
|
1101
1448
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1449
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1102
1450
|
"pluginType": "core",
|
|
1451
|
+
"strict": true,
|
|
1452
|
+
"summary": "View the status of a bulk query.",
|
|
1453
|
+
"enableJsonFlag": true,
|
|
1454
|
+
"SF_ENV": "SF_ENV",
|
|
1455
|
+
"isESM": true,
|
|
1456
|
+
"relativePath": [
|
|
1457
|
+
"lib",
|
|
1458
|
+
"commands",
|
|
1459
|
+
"data",
|
|
1460
|
+
"query",
|
|
1461
|
+
"resume.js"
|
|
1462
|
+
],
|
|
1463
|
+
"aliasPermutations": [
|
|
1464
|
+
"force:data:soql:bulk:report",
|
|
1465
|
+
"data:force:soql:bulk:report",
|
|
1466
|
+
"data:soql:force:bulk:report",
|
|
1467
|
+
"data:soql:bulk:force:report",
|
|
1468
|
+
"data:soql:bulk:report:force",
|
|
1469
|
+
"force:soql:data:bulk:report",
|
|
1470
|
+
"soql:force:data:bulk:report",
|
|
1471
|
+
"soql:data:force:bulk:report",
|
|
1472
|
+
"soql:data:bulk:force:report",
|
|
1473
|
+
"soql:data:bulk:report:force",
|
|
1474
|
+
"force:soql:bulk:data:report",
|
|
1475
|
+
"soql:force:bulk:data:report",
|
|
1476
|
+
"soql:bulk:force:data:report",
|
|
1477
|
+
"soql:bulk:data:force:report",
|
|
1478
|
+
"soql:bulk:data:report:force",
|
|
1479
|
+
"force:soql:bulk:report:data",
|
|
1480
|
+
"soql:force:bulk:report:data",
|
|
1481
|
+
"soql:bulk:force:report:data",
|
|
1482
|
+
"soql:bulk:report:force:data",
|
|
1483
|
+
"soql:bulk:report:data:force",
|
|
1484
|
+
"force:data:bulk:soql:report",
|
|
1485
|
+
"data:force:bulk:soql:report",
|
|
1486
|
+
"data:bulk:force:soql:report",
|
|
1487
|
+
"data:bulk:soql:force:report",
|
|
1488
|
+
"data:bulk:soql:report:force",
|
|
1489
|
+
"force:bulk:data:soql:report",
|
|
1490
|
+
"bulk:force:data:soql:report",
|
|
1491
|
+
"bulk:data:force:soql:report",
|
|
1492
|
+
"bulk:data:soql:force:report",
|
|
1493
|
+
"bulk:data:soql:report:force",
|
|
1494
|
+
"force:bulk:soql:data:report",
|
|
1495
|
+
"bulk:force:soql:data:report",
|
|
1496
|
+
"bulk:soql:force:data:report",
|
|
1497
|
+
"bulk:soql:data:force:report",
|
|
1498
|
+
"bulk:soql:data:report:force",
|
|
1499
|
+
"force:bulk:soql:report:data",
|
|
1500
|
+
"bulk:force:soql:report:data",
|
|
1501
|
+
"bulk:soql:force:report:data",
|
|
1502
|
+
"bulk:soql:report:force:data",
|
|
1503
|
+
"bulk:soql:report:data:force",
|
|
1504
|
+
"force:data:bulk:report:soql",
|
|
1505
|
+
"data:force:bulk:report:soql",
|
|
1506
|
+
"data:bulk:force:report:soql",
|
|
1507
|
+
"data:bulk:report:force:soql",
|
|
1508
|
+
"data:bulk:report:soql:force",
|
|
1509
|
+
"force:bulk:data:report:soql",
|
|
1510
|
+
"bulk:force:data:report:soql",
|
|
1511
|
+
"bulk:data:force:report:soql",
|
|
1512
|
+
"bulk:data:report:force:soql",
|
|
1513
|
+
"bulk:data:report:soql:force",
|
|
1514
|
+
"force:bulk:report:data:soql",
|
|
1515
|
+
"bulk:force:report:data:soql",
|
|
1516
|
+
"bulk:report:force:data:soql",
|
|
1517
|
+
"bulk:report:data:force:soql",
|
|
1518
|
+
"bulk:report:data:soql:force",
|
|
1519
|
+
"force:bulk:report:soql:data",
|
|
1520
|
+
"bulk:force:report:soql:data",
|
|
1521
|
+
"bulk:report:force:soql:data",
|
|
1522
|
+
"bulk:report:soql:force:data",
|
|
1523
|
+
"bulk:report:soql:data:force",
|
|
1524
|
+
"force:data:soql:report:bulk",
|
|
1525
|
+
"data:force:soql:report:bulk",
|
|
1526
|
+
"data:soql:force:report:bulk",
|
|
1527
|
+
"data:soql:report:force:bulk",
|
|
1528
|
+
"data:soql:report:bulk:force",
|
|
1529
|
+
"force:soql:data:report:bulk",
|
|
1530
|
+
"soql:force:data:report:bulk",
|
|
1531
|
+
"soql:data:force:report:bulk",
|
|
1532
|
+
"soql:data:report:force:bulk",
|
|
1533
|
+
"soql:data:report:bulk:force",
|
|
1534
|
+
"force:soql:report:data:bulk",
|
|
1535
|
+
"soql:force:report:data:bulk",
|
|
1536
|
+
"soql:report:force:data:bulk",
|
|
1537
|
+
"soql:report:data:force:bulk",
|
|
1538
|
+
"soql:report:data:bulk:force",
|
|
1539
|
+
"force:soql:report:bulk:data",
|
|
1540
|
+
"soql:force:report:bulk:data",
|
|
1541
|
+
"soql:report:force:bulk:data",
|
|
1542
|
+
"soql:report:bulk:force:data",
|
|
1543
|
+
"soql:report:bulk:data:force",
|
|
1544
|
+
"force:data:report:soql:bulk",
|
|
1545
|
+
"data:force:report:soql:bulk",
|
|
1546
|
+
"data:report:force:soql:bulk",
|
|
1547
|
+
"data:report:soql:force:bulk",
|
|
1548
|
+
"data:report:soql:bulk:force",
|
|
1549
|
+
"force:report:data:soql:bulk",
|
|
1550
|
+
"report:force:data:soql:bulk",
|
|
1551
|
+
"report:data:force:soql:bulk",
|
|
1552
|
+
"report:data:soql:force:bulk",
|
|
1553
|
+
"report:data:soql:bulk:force",
|
|
1554
|
+
"force:report:soql:data:bulk",
|
|
1555
|
+
"report:force:soql:data:bulk",
|
|
1556
|
+
"report:soql:force:data:bulk",
|
|
1557
|
+
"report:soql:data:force:bulk",
|
|
1558
|
+
"report:soql:data:bulk:force",
|
|
1559
|
+
"force:report:soql:bulk:data",
|
|
1560
|
+
"report:force:soql:bulk:data",
|
|
1561
|
+
"report:soql:force:bulk:data",
|
|
1562
|
+
"report:soql:bulk:force:data",
|
|
1563
|
+
"report:soql:bulk:data:force",
|
|
1564
|
+
"force:data:report:bulk:soql",
|
|
1565
|
+
"data:force:report:bulk:soql",
|
|
1566
|
+
"data:report:force:bulk:soql",
|
|
1567
|
+
"data:report:bulk:force:soql",
|
|
1568
|
+
"data:report:bulk:soql:force",
|
|
1569
|
+
"force:report:data:bulk:soql",
|
|
1570
|
+
"report:force:data:bulk:soql",
|
|
1571
|
+
"report:data:force:bulk:soql",
|
|
1572
|
+
"report:data:bulk:force:soql",
|
|
1573
|
+
"report:data:bulk:soql:force",
|
|
1574
|
+
"force:report:bulk:data:soql",
|
|
1575
|
+
"report:force:bulk:data:soql",
|
|
1576
|
+
"report:bulk:force:data:soql",
|
|
1577
|
+
"report:bulk:data:force:soql",
|
|
1578
|
+
"report:bulk:data:soql:force",
|
|
1579
|
+
"force:report:bulk:soql:data",
|
|
1580
|
+
"report:force:bulk:soql:data",
|
|
1581
|
+
"report:bulk:force:soql:data",
|
|
1582
|
+
"report:bulk:soql:force:data",
|
|
1583
|
+
"report:bulk:soql:data:force"
|
|
1584
|
+
],
|
|
1585
|
+
"permutations": [
|
|
1586
|
+
"data:query:resume",
|
|
1587
|
+
"query:data:resume",
|
|
1588
|
+
"query:resume:data",
|
|
1589
|
+
"data:resume:query",
|
|
1590
|
+
"resume:data:query",
|
|
1591
|
+
"resume:query:data"
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
"data:update:record": {
|
|
1103
1595
|
"aliases": [
|
|
1104
1596
|
"force:data:record:update"
|
|
1105
1597
|
],
|
|
1598
|
+
"args": {},
|
|
1599
|
+
"deprecateAliases": true,
|
|
1600
|
+
"description": "Specify the record you want to update with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the update fails; the error displays how many records were found.\n\nWhen using field-value pairs for both identifying the record and specifiyng the new field values, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command updates a record in Salesforce objects by default. Use the --use-tooling-api flag to update a Tooling API object.",
|
|
1106
1601
|
"examples": [
|
|
1107
1602
|
"Update the Name field of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name=NewAcme\"",
|
|
1108
1603
|
"Update the Name field of an Account record whose current name is 'Old Acme':\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Old Acme'\" --values \"Name='New Acme'\"",
|
|
1109
1604
|
"Update the Name and Website fields of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name='Acme III' Website=www.example.com\"",
|
|
1110
1605
|
"Update the ExpirationDate field of a record of the Tooling API object TraceFlag using the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> -t --sobject TraceFlag --record-id 7tf170000009cUBAAY --values \"ExpirationDate=2017-12-01T00:58:04.000+0000\""
|
|
1111
1606
|
],
|
|
1112
|
-
"deprecateAliases": true,
|
|
1113
1607
|
"flags": {
|
|
1114
1608
|
"json": {
|
|
1115
|
-
"name": "json",
|
|
1116
|
-
"type": "boolean",
|
|
1117
1609
|
"description": "Format output as json.",
|
|
1118
1610
|
"helpGroup": "GLOBAL",
|
|
1611
|
+
"name": "json",
|
|
1119
1612
|
"allowNo": false,
|
|
1120
|
-
"
|
|
1613
|
+
"type": "boolean"
|
|
1121
1614
|
},
|
|
1122
1615
|
"target-org": {
|
|
1123
|
-
"name": "target-org",
|
|
1124
|
-
"type": "option",
|
|
1125
|
-
"char": "o",
|
|
1126
|
-
"summary": "Username or alias of the target org.",
|
|
1127
|
-
"required": true,
|
|
1128
|
-
"multiple": false,
|
|
1129
|
-
"deprecateAliases": true,
|
|
1130
1616
|
"aliases": [
|
|
1131
1617
|
"targetusername",
|
|
1132
1618
|
"u"
|
|
1133
|
-
]
|
|
1619
|
+
],
|
|
1620
|
+
"char": "o",
|
|
1621
|
+
"deprecateAliases": true,
|
|
1622
|
+
"name": "target-org",
|
|
1623
|
+
"noCacheDefault": true,
|
|
1624
|
+
"required": true,
|
|
1625
|
+
"summary": "Username or alias of the target org.",
|
|
1626
|
+
"hasDynamicHelp": true,
|
|
1627
|
+
"multiple": false,
|
|
1628
|
+
"type": "option"
|
|
1134
1629
|
},
|
|
1135
1630
|
"api-version": {
|
|
1136
|
-
"name": "api-version",
|
|
1137
|
-
"type": "option",
|
|
1138
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1139
|
-
"multiple": false,
|
|
1140
|
-
"deprecateAliases": true,
|
|
1141
1631
|
"aliases": [
|
|
1142
1632
|
"apiversion"
|
|
1143
|
-
]
|
|
1633
|
+
],
|
|
1634
|
+
"deprecateAliases": true,
|
|
1635
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1636
|
+
"name": "api-version",
|
|
1637
|
+
"hasDynamicHelp": false,
|
|
1638
|
+
"multiple": false,
|
|
1639
|
+
"type": "option"
|
|
1144
1640
|
},
|
|
1145
1641
|
"loglevel": {
|
|
1146
|
-
"name": "loglevel",
|
|
1147
|
-
"type": "option",
|
|
1148
|
-
"hidden": true,
|
|
1149
|
-
"multiple": false,
|
|
1150
1642
|
"deprecated": {
|
|
1151
1643
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1152
1644
|
},
|
|
1153
|
-
"
|
|
1645
|
+
"hidden": true,
|
|
1646
|
+
"name": "loglevel",
|
|
1647
|
+
"hasDynamicHelp": false,
|
|
1648
|
+
"multiple": false,
|
|
1649
|
+
"type": "option"
|
|
1154
1650
|
},
|
|
1155
1651
|
"sobject": {
|
|
1156
|
-
"
|
|
1157
|
-
|
|
1652
|
+
"aliases": [
|
|
1653
|
+
"sobjecttype"
|
|
1654
|
+
],
|
|
1158
1655
|
"char": "s",
|
|
1159
|
-
"
|
|
1656
|
+
"deprecateAliases": true,
|
|
1657
|
+
"name": "sobject",
|
|
1160
1658
|
"required": true,
|
|
1659
|
+
"summary": "API name of the Salesforce or Tooling API object that contains the record you're updating.",
|
|
1660
|
+
"hasDynamicHelp": false,
|
|
1161
1661
|
"multiple": false,
|
|
1162
|
-
"
|
|
1163
|
-
"aliases": [
|
|
1164
|
-
"sobjecttype"
|
|
1165
|
-
]
|
|
1662
|
+
"type": "option"
|
|
1166
1663
|
},
|
|
1167
1664
|
"record-id": {
|
|
1168
|
-
"
|
|
1169
|
-
|
|
1665
|
+
"aliases": [
|
|
1666
|
+
"sobjectid"
|
|
1667
|
+
],
|
|
1170
1668
|
"char": "i",
|
|
1669
|
+
"deprecateAliases": true,
|
|
1670
|
+
"name": "record-id",
|
|
1171
1671
|
"summary": "ID of the record you’re updating.",
|
|
1672
|
+
"hasDynamicHelp": false,
|
|
1172
1673
|
"multiple": false,
|
|
1173
|
-
"
|
|
1174
|
-
"aliases": [
|
|
1175
|
-
"sobjectid"
|
|
1176
|
-
]
|
|
1674
|
+
"type": "option"
|
|
1177
1675
|
},
|
|
1178
1676
|
"where": {
|
|
1179
|
-
"name": "where",
|
|
1180
|
-
"type": "option",
|
|
1181
1677
|
"char": "w",
|
|
1678
|
+
"name": "where",
|
|
1182
1679
|
"summary": "List of <fieldName>=<value> pairs that identify the record you want to update.",
|
|
1680
|
+
"hasDynamicHelp": false,
|
|
1183
1681
|
"multiple": false,
|
|
1184
|
-
"
|
|
1682
|
+
"type": "option"
|
|
1185
1683
|
},
|
|
1186
1684
|
"values": {
|
|
1187
|
-
"name": "values",
|
|
1188
|
-
"type": "option",
|
|
1189
1685
|
"char": "v",
|
|
1190
|
-
"
|
|
1686
|
+
"name": "values",
|
|
1191
1687
|
"required": true,
|
|
1688
|
+
"summary": "Fields that you're updating, in the format of <fieldName>=<value> pairs.",
|
|
1689
|
+
"hasDynamicHelp": false,
|
|
1192
1690
|
"multiple": false,
|
|
1193
|
-
"
|
|
1691
|
+
"type": "option"
|
|
1194
1692
|
},
|
|
1195
1693
|
"use-tooling-api": {
|
|
1196
|
-
"
|
|
1197
|
-
|
|
1694
|
+
"aliases": [
|
|
1695
|
+
"usetoolingapi"
|
|
1696
|
+
],
|
|
1198
1697
|
"char": "t",
|
|
1698
|
+
"deprecateAliases": true,
|
|
1699
|
+
"name": "use-tooling-api",
|
|
1199
1700
|
"summary": "Use Tooling API so you can update a record in a Tooling API object.",
|
|
1200
1701
|
"allowNo": false,
|
|
1201
|
-
"
|
|
1202
|
-
"aliases": [
|
|
1203
|
-
"usetoolingapi"
|
|
1204
|
-
]
|
|
1702
|
+
"type": "boolean"
|
|
1205
1703
|
},
|
|
1206
1704
|
"perflog": {
|
|
1207
|
-
"name": "perflog",
|
|
1208
|
-
"type": "boolean",
|
|
1209
|
-
"summary": "Get API performance data.",
|
|
1210
|
-
"hidden": true,
|
|
1211
|
-
"allowNo": false,
|
|
1212
1705
|
"deprecated": {
|
|
1213
1706
|
"version": "57"
|
|
1214
1707
|
},
|
|
1215
|
-
"
|
|
1708
|
+
"hidden": true,
|
|
1709
|
+
"name": "perflog",
|
|
1710
|
+
"summary": "Get API performance data.",
|
|
1711
|
+
"allowNo": false,
|
|
1712
|
+
"type": "boolean"
|
|
1216
1713
|
}
|
|
1217
1714
|
},
|
|
1218
|
-
"
|
|
1219
|
-
"
|
|
1220
|
-
|
|
1221
|
-
"data:upsert:bulk": {
|
|
1222
|
-
"id": "data:upsert:bulk",
|
|
1223
|
-
"summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.",
|
|
1224
|
-
"description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> data upsert resume\" command.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_csv.htm)",
|
|
1225
|
-
"strict": true,
|
|
1226
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1715
|
+
"hasDynamicHelp": true,
|
|
1716
|
+
"hiddenAliases": [],
|
|
1717
|
+
"id": "data:update:record",
|
|
1227
1718
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1719
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1228
1720
|
"pluginType": "core",
|
|
1721
|
+
"strict": true,
|
|
1722
|
+
"summary": "Updates a single record of a Salesforce or Tooling API object.",
|
|
1723
|
+
"enableJsonFlag": true,
|
|
1724
|
+
"SF_ENV": "SF_ENV",
|
|
1725
|
+
"isESM": true,
|
|
1726
|
+
"relativePath": [
|
|
1727
|
+
"lib",
|
|
1728
|
+
"commands",
|
|
1729
|
+
"data",
|
|
1730
|
+
"update",
|
|
1731
|
+
"record.js"
|
|
1732
|
+
],
|
|
1733
|
+
"aliasPermutations": [
|
|
1734
|
+
"force:data:record:update",
|
|
1735
|
+
"data:force:record:update",
|
|
1736
|
+
"data:record:force:update",
|
|
1737
|
+
"data:record:update:force",
|
|
1738
|
+
"force:record:data:update",
|
|
1739
|
+
"record:force:data:update",
|
|
1740
|
+
"record:data:force:update",
|
|
1741
|
+
"record:data:update:force",
|
|
1742
|
+
"force:record:update:data",
|
|
1743
|
+
"record:force:update:data",
|
|
1744
|
+
"record:update:force:data",
|
|
1745
|
+
"record:update:data:force",
|
|
1746
|
+
"force:data:update:record",
|
|
1747
|
+
"data:force:update:record",
|
|
1748
|
+
"data:update:force:record",
|
|
1749
|
+
"data:update:record:force",
|
|
1750
|
+
"force:update:data:record",
|
|
1751
|
+
"update:force:data:record",
|
|
1752
|
+
"update:data:force:record",
|
|
1753
|
+
"update:data:record:force",
|
|
1754
|
+
"force:update:record:data",
|
|
1755
|
+
"update:force:record:data",
|
|
1756
|
+
"update:record:force:data",
|
|
1757
|
+
"update:record:data:force"
|
|
1758
|
+
],
|
|
1759
|
+
"permutations": [
|
|
1760
|
+
"data:update:record",
|
|
1761
|
+
"update:data:record",
|
|
1762
|
+
"update:record:data",
|
|
1763
|
+
"data:record:update",
|
|
1764
|
+
"record:data:update",
|
|
1765
|
+
"record:update:data"
|
|
1766
|
+
]
|
|
1767
|
+
},
|
|
1768
|
+
"data:upsert:bulk": {
|
|
1229
1769
|
"aliases": [],
|
|
1770
|
+
"args": {},
|
|
1771
|
+
"description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> data upsert resume\" command.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_csv.htm)",
|
|
1230
1772
|
"examples": [
|
|
1231
1773
|
"Bulk upsert records to the Contact object in your default org:\n<%= config.bin %> <%= command.id %> --sobject Contact --file files/contacts.csv --external-id Id",
|
|
1232
1774
|
"Bulk upsert records to a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/file.csv --external-id MyField__c --wait 5 --target-org my-scratch"
|
|
1233
1775
|
],
|
|
1234
1776
|
"flags": {
|
|
1235
1777
|
"json": {
|
|
1236
|
-
"name": "json",
|
|
1237
|
-
"type": "boolean",
|
|
1238
1778
|
"description": "Format output as json.",
|
|
1239
1779
|
"helpGroup": "GLOBAL",
|
|
1240
|
-
"
|
|
1780
|
+
"name": "json",
|
|
1781
|
+
"allowNo": false,
|
|
1782
|
+
"type": "boolean"
|
|
1241
1783
|
},
|
|
1242
1784
|
"target-org": {
|
|
1243
|
-
"name": "target-org",
|
|
1244
|
-
"type": "option",
|
|
1245
|
-
"char": "o",
|
|
1246
|
-
"summary": "Username or alias of the target org.",
|
|
1247
|
-
"required": true,
|
|
1248
|
-
"multiple": false,
|
|
1249
1785
|
"aliases": [
|
|
1250
1786
|
"targetusername",
|
|
1251
1787
|
"u"
|
|
1252
|
-
]
|
|
1788
|
+
],
|
|
1789
|
+
"char": "o",
|
|
1790
|
+
"deprecateAliases": true,
|
|
1791
|
+
"name": "target-org",
|
|
1792
|
+
"noCacheDefault": true,
|
|
1793
|
+
"required": true,
|
|
1794
|
+
"summary": "Username or alias of the target org.",
|
|
1795
|
+
"hasDynamicHelp": true,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1253
1798
|
},
|
|
1254
1799
|
"api-version": {
|
|
1255
|
-
"name": "api-version",
|
|
1256
|
-
"type": "option",
|
|
1257
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1258
|
-
"multiple": false,
|
|
1259
1800
|
"aliases": [
|
|
1260
1801
|
"apiversion"
|
|
1261
|
-
]
|
|
1802
|
+
],
|
|
1803
|
+
"deprecateAliases": true,
|
|
1804
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1805
|
+
"name": "api-version",
|
|
1806
|
+
"hasDynamicHelp": false,
|
|
1807
|
+
"multiple": false,
|
|
1808
|
+
"type": "option"
|
|
1262
1809
|
},
|
|
1263
1810
|
"loglevel": {
|
|
1264
|
-
"name": "loglevel",
|
|
1265
|
-
"type": "option",
|
|
1266
|
-
"hidden": true,
|
|
1267
|
-
"multiple": false,
|
|
1268
1811
|
"deprecated": {
|
|
1269
1812
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1270
|
-
}
|
|
1813
|
+
},
|
|
1814
|
+
"hidden": true,
|
|
1815
|
+
"name": "loglevel",
|
|
1816
|
+
"hasDynamicHelp": false,
|
|
1817
|
+
"multiple": false,
|
|
1818
|
+
"type": "option"
|
|
1271
1819
|
},
|
|
1272
1820
|
"file": {
|
|
1273
|
-
"
|
|
1274
|
-
|
|
1821
|
+
"aliases": [
|
|
1822
|
+
"csvfile"
|
|
1823
|
+
],
|
|
1275
1824
|
"char": "f",
|
|
1276
|
-
"
|
|
1825
|
+
"deprecateAliases": true,
|
|
1826
|
+
"name": "file",
|
|
1277
1827
|
"required": true,
|
|
1828
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
1829
|
+
"hasDynamicHelp": false,
|
|
1278
1830
|
"multiple": false,
|
|
1279
|
-
"
|
|
1280
|
-
"csvfile"
|
|
1281
|
-
]
|
|
1831
|
+
"type": "option"
|
|
1282
1832
|
},
|
|
1283
1833
|
"sobject": {
|
|
1284
|
-
"
|
|
1285
|
-
|
|
1834
|
+
"aliases": [
|
|
1835
|
+
"sobjecttype"
|
|
1836
|
+
],
|
|
1286
1837
|
"char": "s",
|
|
1287
|
-
"
|
|
1838
|
+
"deprecateAliases": true,
|
|
1839
|
+
"name": "sobject",
|
|
1288
1840
|
"required": true,
|
|
1841
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
1842
|
+
"hasDynamicHelp": false,
|
|
1289
1843
|
"multiple": false,
|
|
1290
|
-
"
|
|
1291
|
-
"sobjecttype"
|
|
1292
|
-
]
|
|
1844
|
+
"type": "option"
|
|
1293
1845
|
},
|
|
1294
1846
|
"wait": {
|
|
1295
|
-
"name": "wait",
|
|
1296
|
-
"type": "option",
|
|
1297
1847
|
"char": "w",
|
|
1298
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1299
|
-
"multiple": false,
|
|
1300
1848
|
"exclusive": [
|
|
1301
1849
|
"async"
|
|
1302
1850
|
],
|
|
1851
|
+
"name": "wait",
|
|
1852
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1303
1853
|
"default": {
|
|
1304
1854
|
"quantity": 0,
|
|
1305
1855
|
"unit": 0
|
|
1306
|
-
}
|
|
1856
|
+
},
|
|
1857
|
+
"hasDynamicHelp": false,
|
|
1858
|
+
"multiple": false,
|
|
1859
|
+
"type": "option"
|
|
1307
1860
|
},
|
|
1308
1861
|
"async": {
|
|
1309
|
-
"name": "async",
|
|
1310
|
-
"type": "boolean",
|
|
1311
1862
|
"char": "a",
|
|
1312
|
-
"summary": "Run the command asynchronously.",
|
|
1313
|
-
"allowNo": false,
|
|
1314
1863
|
"exclusive": [
|
|
1315
1864
|
"wait"
|
|
1316
|
-
]
|
|
1865
|
+
],
|
|
1866
|
+
"name": "async",
|
|
1867
|
+
"summary": "Run the command asynchronously.",
|
|
1868
|
+
"allowNo": false,
|
|
1869
|
+
"type": "boolean"
|
|
1317
1870
|
},
|
|
1318
1871
|
"verbose": {
|
|
1319
1872
|
"name": "verbose",
|
|
1320
|
-
"type": "boolean",
|
|
1321
1873
|
"summary": "Print verbose output of failed records if result is available.",
|
|
1322
|
-
"allowNo": false
|
|
1874
|
+
"allowNo": false,
|
|
1875
|
+
"type": "boolean"
|
|
1323
1876
|
},
|
|
1324
1877
|
"external-id": {
|
|
1325
|
-
"
|
|
1326
|
-
|
|
1878
|
+
"aliases": [
|
|
1879
|
+
"externalid"
|
|
1880
|
+
],
|
|
1327
1881
|
"char": "i",
|
|
1328
|
-
"
|
|
1882
|
+
"deprecateAliases": true,
|
|
1883
|
+
"name": "external-id",
|
|
1329
1884
|
"required": true,
|
|
1885
|
+
"summary": "Name of the external ID field, or the Id field.",
|
|
1886
|
+
"hasDynamicHelp": false,
|
|
1330
1887
|
"multiple": false,
|
|
1331
|
-
"
|
|
1332
|
-
"externalid"
|
|
1333
|
-
]
|
|
1888
|
+
"type": "option"
|
|
1334
1889
|
}
|
|
1335
1890
|
},
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1338
|
-
|
|
1339
|
-
"data:upsert:resume": {
|
|
1340
|
-
"id": "data:upsert:resume",
|
|
1341
|
-
"summary": "Resume a bulk upsert job that you previously started. Uses Bulk API 2.0.",
|
|
1342
|
-
"description": "The command uses the job ID returned from the \"<%= config.bin %> data upsert bulk\" command or the most recently-run bulk upsert job.",
|
|
1343
|
-
"strict": true,
|
|
1344
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1891
|
+
"hasDynamicHelp": true,
|
|
1892
|
+
"hiddenAliases": [],
|
|
1893
|
+
"id": "data:upsert:bulk",
|
|
1345
1894
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1895
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1346
1896
|
"pluginType": "core",
|
|
1897
|
+
"strict": true,
|
|
1898
|
+
"summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.",
|
|
1899
|
+
"enableJsonFlag": true,
|
|
1900
|
+
"SF_ENV": "SF_ENV",
|
|
1901
|
+
"isESM": true,
|
|
1902
|
+
"relativePath": [
|
|
1903
|
+
"lib",
|
|
1904
|
+
"commands",
|
|
1905
|
+
"data",
|
|
1906
|
+
"upsert",
|
|
1907
|
+
"bulk.js"
|
|
1908
|
+
],
|
|
1909
|
+
"aliasPermutations": [],
|
|
1910
|
+
"permutations": [
|
|
1911
|
+
"data:upsert:bulk",
|
|
1912
|
+
"upsert:data:bulk",
|
|
1913
|
+
"upsert:bulk:data",
|
|
1914
|
+
"data:bulk:upsert",
|
|
1915
|
+
"bulk:data:upsert",
|
|
1916
|
+
"bulk:upsert:data"
|
|
1917
|
+
]
|
|
1918
|
+
},
|
|
1919
|
+
"data:upsert:resume": {
|
|
1347
1920
|
"aliases": [],
|
|
1921
|
+
"args": {},
|
|
1922
|
+
"description": "The command uses the job ID returned from the \"<%= config.bin %> data upsert bulk\" command or the most recently-run bulk upsert job.",
|
|
1348
1923
|
"examples": [
|
|
1349
1924
|
"Resume a bulk upsert job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
1350
1925
|
"Resume the most recently run bulk upsert job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
1351
1926
|
],
|
|
1352
1927
|
"flags": {
|
|
1353
1928
|
"json": {
|
|
1354
|
-
"name": "json",
|
|
1355
|
-
"type": "boolean",
|
|
1356
1929
|
"description": "Format output as json.",
|
|
1357
1930
|
"helpGroup": "GLOBAL",
|
|
1358
|
-
"
|
|
1931
|
+
"name": "json",
|
|
1932
|
+
"allowNo": false,
|
|
1933
|
+
"type": "boolean"
|
|
1359
1934
|
},
|
|
1360
1935
|
"target-org": {
|
|
1361
|
-
"
|
|
1362
|
-
|
|
1936
|
+
"aliases": [
|
|
1937
|
+
"targetusername",
|
|
1938
|
+
"u"
|
|
1939
|
+
],
|
|
1363
1940
|
"char": "o",
|
|
1941
|
+
"deprecateAliases": true,
|
|
1942
|
+
"name": "target-org",
|
|
1943
|
+
"noCacheDefault": true,
|
|
1364
1944
|
"summary": "Org alias or username to use for the target org.",
|
|
1945
|
+
"hasDynamicHelp": true,
|
|
1365
1946
|
"multiple": false,
|
|
1947
|
+
"type": "option"
|
|
1948
|
+
},
|
|
1949
|
+
"job-id": {
|
|
1366
1950
|
"aliases": [
|
|
1367
|
-
"
|
|
1368
|
-
|
|
1369
|
-
]
|
|
1370
|
-
},
|
|
1371
|
-
"job-id": {
|
|
1372
|
-
"name": "job-id",
|
|
1373
|
-
"type": "option",
|
|
1951
|
+
"jobid"
|
|
1952
|
+
],
|
|
1374
1953
|
"char": "i",
|
|
1954
|
+
"deprecateAliases": true,
|
|
1955
|
+
"name": "job-id",
|
|
1375
1956
|
"summary": "ID of the job you want to resume.",
|
|
1957
|
+
"hasDynamicHelp": false,
|
|
1376
1958
|
"multiple": false,
|
|
1377
|
-
"
|
|
1378
|
-
"jobid"
|
|
1379
|
-
]
|
|
1959
|
+
"type": "option"
|
|
1380
1960
|
},
|
|
1381
1961
|
"use-most-recent": {
|
|
1962
|
+
"exclusive": [
|
|
1963
|
+
"job-id"
|
|
1964
|
+
],
|
|
1382
1965
|
"name": "use-most-recent",
|
|
1383
|
-
"type": "boolean",
|
|
1384
1966
|
"summary": "Use the ID of the most recently-run bulk job.",
|
|
1385
1967
|
"allowNo": false,
|
|
1386
|
-
"
|
|
1387
|
-
"job-id"
|
|
1388
|
-
]
|
|
1968
|
+
"type": "boolean"
|
|
1389
1969
|
},
|
|
1390
1970
|
"wait": {
|
|
1391
1971
|
"name": "wait",
|
|
1392
|
-
"type": "option",
|
|
1393
1972
|
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1394
|
-
"multiple": false,
|
|
1395
1973
|
"default": {
|
|
1396
1974
|
"quantity": 0,
|
|
1397
1975
|
"unit": 0
|
|
1398
|
-
}
|
|
1976
|
+
},
|
|
1977
|
+
"hasDynamicHelp": false,
|
|
1978
|
+
"multiple": false,
|
|
1979
|
+
"type": "option"
|
|
1399
1980
|
},
|
|
1400
1981
|
"api-version": {
|
|
1401
|
-
"name": "api-version",
|
|
1402
|
-
"type": "option",
|
|
1403
1982
|
"description": "Override the api version used for api requests made by this command",
|
|
1404
|
-
"
|
|
1983
|
+
"name": "api-version",
|
|
1984
|
+
"hasDynamicHelp": false,
|
|
1985
|
+
"multiple": false,
|
|
1986
|
+
"type": "option"
|
|
1405
1987
|
},
|
|
1406
1988
|
"loglevel": {
|
|
1407
|
-
"name": "loglevel",
|
|
1408
|
-
"type": "option",
|
|
1409
|
-
"hidden": true,
|
|
1410
|
-
"multiple": false,
|
|
1411
1989
|
"deprecated": {
|
|
1412
1990
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1413
|
-
}
|
|
1991
|
+
},
|
|
1992
|
+
"hidden": true,
|
|
1993
|
+
"name": "loglevel",
|
|
1994
|
+
"hasDynamicHelp": false,
|
|
1995
|
+
"multiple": false,
|
|
1996
|
+
"type": "option"
|
|
1414
1997
|
}
|
|
1415
1998
|
},
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1418
|
-
|
|
1419
|
-
"force:data:bulk:delete": {
|
|
1420
|
-
"id": "force:data:bulk:delete",
|
|
1421
|
-
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 1.0.",
|
|
1422
|
-
"description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> force data bulk status\" command. A single job can contain many batches, depending on the length of the CSV file.",
|
|
1423
|
-
"strict": true,
|
|
1424
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1999
|
+
"hasDynamicHelp": true,
|
|
2000
|
+
"hiddenAliases": [],
|
|
2001
|
+
"id": "data:upsert:resume",
|
|
1425
2002
|
"pluginAlias": "@salesforce/plugin-data",
|
|
2003
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1426
2004
|
"pluginType": "core",
|
|
2005
|
+
"strict": true,
|
|
2006
|
+
"summary": "Resume a bulk upsert job that you previously started. Uses Bulk API 2.0.",
|
|
2007
|
+
"enableJsonFlag": true,
|
|
2008
|
+
"SF_ENV": "SF_ENV",
|
|
2009
|
+
"isESM": true,
|
|
2010
|
+
"relativePath": [
|
|
2011
|
+
"lib",
|
|
2012
|
+
"commands",
|
|
2013
|
+
"data",
|
|
2014
|
+
"upsert",
|
|
2015
|
+
"resume.js"
|
|
2016
|
+
],
|
|
2017
|
+
"aliasPermutations": [],
|
|
2018
|
+
"permutations": [
|
|
2019
|
+
"data:upsert:resume",
|
|
2020
|
+
"upsert:data:resume",
|
|
2021
|
+
"upsert:resume:data",
|
|
2022
|
+
"data:resume:upsert",
|
|
2023
|
+
"resume:data:upsert",
|
|
2024
|
+
"resume:upsert:data"
|
|
2025
|
+
]
|
|
2026
|
+
},
|
|
2027
|
+
"force:data:bulk:delete": {
|
|
1427
2028
|
"aliases": [],
|
|
2029
|
+
"args": {},
|
|
2030
|
+
"description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> force data bulk status\" command. A single job can contain many batches, depending on the length of the CSV file.",
|
|
1428
2031
|
"examples": [
|
|
1429
2032
|
"Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
|
|
1430
2033
|
"Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
|
|
1431
2034
|
],
|
|
1432
2035
|
"flags": {
|
|
1433
2036
|
"json": {
|
|
1434
|
-
"name": "json",
|
|
1435
|
-
"type": "boolean",
|
|
1436
2037
|
"description": "Format output as json.",
|
|
1437
2038
|
"helpGroup": "GLOBAL",
|
|
1438
|
-
"
|
|
2039
|
+
"name": "json",
|
|
2040
|
+
"allowNo": false,
|
|
2041
|
+
"type": "boolean"
|
|
1439
2042
|
},
|
|
1440
2043
|
"target-org": {
|
|
1441
|
-
"name": "target-org",
|
|
1442
|
-
"type": "option",
|
|
1443
|
-
"char": "o",
|
|
1444
|
-
"summary": "Username or alias of the target org.",
|
|
1445
|
-
"required": true,
|
|
1446
|
-
"multiple": false,
|
|
1447
2044
|
"aliases": [
|
|
1448
2045
|
"targetusername",
|
|
1449
2046
|
"u"
|
|
1450
|
-
]
|
|
2047
|
+
],
|
|
2048
|
+
"char": "o",
|
|
2049
|
+
"deprecateAliases": true,
|
|
2050
|
+
"name": "target-org",
|
|
2051
|
+
"noCacheDefault": true,
|
|
2052
|
+
"required": true,
|
|
2053
|
+
"summary": "Username or alias of the target org.",
|
|
2054
|
+
"hasDynamicHelp": true,
|
|
2055
|
+
"multiple": false,
|
|
2056
|
+
"type": "option"
|
|
1451
2057
|
},
|
|
1452
2058
|
"api-version": {
|
|
1453
|
-
"name": "api-version",
|
|
1454
|
-
"type": "option",
|
|
1455
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1456
|
-
"multiple": false,
|
|
1457
2059
|
"aliases": [
|
|
1458
2060
|
"apiversion"
|
|
1459
|
-
]
|
|
2061
|
+
],
|
|
2062
|
+
"deprecateAliases": true,
|
|
2063
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2064
|
+
"name": "api-version",
|
|
2065
|
+
"hasDynamicHelp": false,
|
|
2066
|
+
"multiple": false,
|
|
2067
|
+
"type": "option"
|
|
1460
2068
|
},
|
|
1461
2069
|
"loglevel": {
|
|
1462
|
-
"name": "loglevel",
|
|
1463
|
-
"type": "option",
|
|
1464
|
-
"hidden": true,
|
|
1465
|
-
"multiple": false,
|
|
1466
2070
|
"deprecated": {
|
|
1467
2071
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1468
|
-
}
|
|
2072
|
+
},
|
|
2073
|
+
"hidden": true,
|
|
2074
|
+
"name": "loglevel",
|
|
2075
|
+
"hasDynamicHelp": false,
|
|
2076
|
+
"multiple": false,
|
|
2077
|
+
"type": "option"
|
|
1469
2078
|
},
|
|
1470
2079
|
"file": {
|
|
1471
|
-
"
|
|
1472
|
-
|
|
2080
|
+
"aliases": [
|
|
2081
|
+
"csvfile"
|
|
2082
|
+
],
|
|
1473
2083
|
"char": "f",
|
|
1474
|
-
"
|
|
2084
|
+
"deprecateAliases": true,
|
|
2085
|
+
"name": "file",
|
|
1475
2086
|
"required": true,
|
|
2087
|
+
"summary": "CSV file that contains the IDs of the records to delete.",
|
|
2088
|
+
"hasDynamicHelp": false,
|
|
1476
2089
|
"multiple": false,
|
|
1477
|
-
"
|
|
1478
|
-
"csvfile"
|
|
1479
|
-
]
|
|
2090
|
+
"type": "option"
|
|
1480
2091
|
},
|
|
1481
2092
|
"sobject": {
|
|
1482
|
-
"
|
|
1483
|
-
|
|
2093
|
+
"aliases": [
|
|
2094
|
+
"sobjecttype"
|
|
2095
|
+
],
|
|
1484
2096
|
"char": "s",
|
|
1485
|
-
"
|
|
2097
|
+
"deprecateAliases": true,
|
|
2098
|
+
"name": "sobject",
|
|
1486
2099
|
"required": true,
|
|
2100
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to delete records from.",
|
|
2101
|
+
"hasDynamicHelp": false,
|
|
1487
2102
|
"multiple": false,
|
|
1488
|
-
"
|
|
1489
|
-
"sobjecttype"
|
|
1490
|
-
]
|
|
2103
|
+
"type": "option"
|
|
1491
2104
|
},
|
|
1492
2105
|
"wait": {
|
|
1493
|
-
"name": "wait",
|
|
1494
|
-
"type": "option",
|
|
1495
2106
|
"char": "w",
|
|
2107
|
+
"name": "wait",
|
|
1496
2108
|
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1497
|
-
"multiple": false,
|
|
1498
2109
|
"default": {
|
|
1499
2110
|
"quantity": 0,
|
|
1500
2111
|
"unit": 0
|
|
1501
|
-
}
|
|
2112
|
+
},
|
|
2113
|
+
"hasDynamicHelp": false,
|
|
2114
|
+
"multiple": false,
|
|
2115
|
+
"type": "option"
|
|
1502
2116
|
}
|
|
1503
2117
|
},
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1506
|
-
|
|
1507
|
-
"force:data:bulk:status": {
|
|
1508
|
-
"id": "force:data:bulk:status",
|
|
1509
|
-
"summary": "View the status of a bulk data load job or batch. Uses Bulk API 1.0.",
|
|
1510
|
-
"description": "Run this command using the job ID or batch ID returned from the \"<%= config.bin %> force data bulk delete\" or \"<%= config.bin %> force data bulk upsert\" commands.",
|
|
1511
|
-
"strict": true,
|
|
1512
|
-
"pluginName": "@salesforce/plugin-data",
|
|
2118
|
+
"hasDynamicHelp": true,
|
|
2119
|
+
"hiddenAliases": [],
|
|
2120
|
+
"id": "force:data:bulk:delete",
|
|
1513
2121
|
"pluginAlias": "@salesforce/plugin-data",
|
|
2122
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1514
2123
|
"pluginType": "core",
|
|
2124
|
+
"strict": true,
|
|
2125
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 1.0.",
|
|
2126
|
+
"enableJsonFlag": true,
|
|
2127
|
+
"SF_ENV": "SF_ENV",
|
|
2128
|
+
"isESM": true,
|
|
2129
|
+
"relativePath": [
|
|
2130
|
+
"lib",
|
|
2131
|
+
"commands",
|
|
2132
|
+
"force",
|
|
2133
|
+
"data",
|
|
2134
|
+
"bulk",
|
|
2135
|
+
"delete.js"
|
|
2136
|
+
],
|
|
2137
|
+
"aliasPermutations": [],
|
|
2138
|
+
"permutations": [
|
|
2139
|
+
"force:data:bulk:delete",
|
|
2140
|
+
"data:force:bulk:delete",
|
|
2141
|
+
"data:bulk:force:delete",
|
|
2142
|
+
"data:bulk:delete:force",
|
|
2143
|
+
"force:bulk:data:delete",
|
|
2144
|
+
"bulk:force:data:delete",
|
|
2145
|
+
"bulk:data:force:delete",
|
|
2146
|
+
"bulk:data:delete:force",
|
|
2147
|
+
"force:bulk:delete:data",
|
|
2148
|
+
"bulk:force:delete:data",
|
|
2149
|
+
"bulk:delete:force:data",
|
|
2150
|
+
"bulk:delete:data:force",
|
|
2151
|
+
"force:data:delete:bulk",
|
|
2152
|
+
"data:force:delete:bulk",
|
|
2153
|
+
"data:delete:force:bulk",
|
|
2154
|
+
"data:delete:bulk:force",
|
|
2155
|
+
"force:delete:data:bulk",
|
|
2156
|
+
"delete:force:data:bulk",
|
|
2157
|
+
"delete:data:force:bulk",
|
|
2158
|
+
"delete:data:bulk:force",
|
|
2159
|
+
"force:delete:bulk:data",
|
|
2160
|
+
"delete:force:bulk:data",
|
|
2161
|
+
"delete:bulk:force:data",
|
|
2162
|
+
"delete:bulk:data:force"
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
2165
|
+
"force:data:bulk:status": {
|
|
1515
2166
|
"aliases": [],
|
|
2167
|
+
"args": {},
|
|
2168
|
+
"description": "Run this command using the job ID or batch ID returned from the \"<%= config.bin %> force data bulk delete\" or \"<%= config.bin %> force data bulk upsert\" commands.",
|
|
1516
2169
|
"examples": [
|
|
1517
2170
|
"View the status of a bulk load job in your default org:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
1518
2171
|
"View the status of a bulk load job and a specific batches in an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch"
|
|
1519
2172
|
],
|
|
1520
2173
|
"flags": {
|
|
1521
2174
|
"json": {
|
|
1522
|
-
"name": "json",
|
|
1523
|
-
"type": "boolean",
|
|
1524
2175
|
"description": "Format output as json.",
|
|
1525
2176
|
"helpGroup": "GLOBAL",
|
|
1526
|
-
"
|
|
2177
|
+
"name": "json",
|
|
2178
|
+
"allowNo": false,
|
|
2179
|
+
"type": "boolean"
|
|
1527
2180
|
},
|
|
1528
2181
|
"target-org": {
|
|
1529
|
-
"name": "target-org",
|
|
1530
|
-
"type": "option",
|
|
1531
|
-
"char": "o",
|
|
1532
|
-
"summary": "Username or alias of the target org.",
|
|
1533
|
-
"required": true,
|
|
1534
|
-
"multiple": false,
|
|
1535
2182
|
"aliases": [
|
|
1536
2183
|
"targetusername",
|
|
1537
2184
|
"u"
|
|
1538
|
-
]
|
|
2185
|
+
],
|
|
2186
|
+
"char": "o",
|
|
2187
|
+
"deprecateAliases": true,
|
|
2188
|
+
"name": "target-org",
|
|
2189
|
+
"noCacheDefault": true,
|
|
2190
|
+
"required": true,
|
|
2191
|
+
"summary": "Username or alias of the target org.",
|
|
2192
|
+
"hasDynamicHelp": true,
|
|
2193
|
+
"multiple": false,
|
|
2194
|
+
"type": "option"
|
|
1539
2195
|
},
|
|
1540
2196
|
"api-version": {
|
|
1541
|
-
"name": "api-version",
|
|
1542
|
-
"type": "option",
|
|
1543
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1544
|
-
"multiple": false,
|
|
1545
2197
|
"aliases": [
|
|
1546
2198
|
"apiversion"
|
|
1547
|
-
]
|
|
2199
|
+
],
|
|
2200
|
+
"deprecateAliases": true,
|
|
2201
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2202
|
+
"name": "api-version",
|
|
2203
|
+
"hasDynamicHelp": false,
|
|
2204
|
+
"multiple": false,
|
|
2205
|
+
"type": "option"
|
|
1548
2206
|
},
|
|
1549
2207
|
"loglevel": {
|
|
1550
|
-
"name": "loglevel",
|
|
1551
|
-
"type": "option",
|
|
1552
|
-
"hidden": true,
|
|
1553
|
-
"multiple": false,
|
|
1554
2208
|
"deprecated": {
|
|
1555
2209
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1556
|
-
}
|
|
2210
|
+
},
|
|
2211
|
+
"hidden": true,
|
|
2212
|
+
"name": "loglevel",
|
|
2213
|
+
"hasDynamicHelp": false,
|
|
2214
|
+
"multiple": false,
|
|
2215
|
+
"type": "option"
|
|
1557
2216
|
},
|
|
1558
2217
|
"batch-id": {
|
|
1559
|
-
"
|
|
1560
|
-
|
|
2218
|
+
"aliases": [
|
|
2219
|
+
"batchid"
|
|
2220
|
+
],
|
|
1561
2221
|
"char": "b",
|
|
2222
|
+
"deprecateAliases": true,
|
|
2223
|
+
"name": "batch-id",
|
|
1562
2224
|
"summary": "ID of the batch whose status you want to view; you must also specify the job ID.",
|
|
2225
|
+
"hasDynamicHelp": false,
|
|
1563
2226
|
"multiple": false,
|
|
1564
|
-
"
|
|
1565
|
-
"batchid"
|
|
1566
|
-
]
|
|
2227
|
+
"type": "option"
|
|
1567
2228
|
},
|
|
1568
2229
|
"job-id": {
|
|
1569
|
-
"
|
|
1570
|
-
|
|
2230
|
+
"aliases": [
|
|
2231
|
+
"jobid"
|
|
2232
|
+
],
|
|
1571
2233
|
"char": "i",
|
|
1572
|
-
"
|
|
2234
|
+
"deprecateAliases": true,
|
|
2235
|
+
"name": "job-id",
|
|
1573
2236
|
"required": true,
|
|
2237
|
+
"summary": "ID of the job whose status you want to view.",
|
|
2238
|
+
"hasDynamicHelp": false,
|
|
1574
2239
|
"multiple": false,
|
|
1575
|
-
"
|
|
1576
|
-
"jobid"
|
|
1577
|
-
]
|
|
2240
|
+
"type": "option"
|
|
1578
2241
|
}
|
|
1579
2242
|
},
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1582
|
-
|
|
1583
|
-
"force:data:bulk:upsert": {
|
|
1584
|
-
"id": "force:data:bulk:upsert",
|
|
1585
|
-
"summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 1.0.",
|
|
1586
|
-
"description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\n\nWhen you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> force data bulk status\" command. A single job can contain many batches, depending on the length of the CSV file.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm)\n\nBy default, the job runs the batches in parallel, which we recommend. You can run jobs serially by specifying the --serial flag. But don't process data in serial mode unless you know this would otherwise result in lock timeouts and you can't reorganize your batches to avoid the locks.",
|
|
1587
|
-
"strict": true,
|
|
1588
|
-
"pluginName": "@salesforce/plugin-data",
|
|
2243
|
+
"hasDynamicHelp": true,
|
|
2244
|
+
"hiddenAliases": [],
|
|
2245
|
+
"id": "force:data:bulk:status",
|
|
1589
2246
|
"pluginAlias": "@salesforce/plugin-data",
|
|
2247
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1590
2248
|
"pluginType": "core",
|
|
2249
|
+
"strict": true,
|
|
2250
|
+
"summary": "View the status of a bulk data load job or batch. Uses Bulk API 1.0.",
|
|
2251
|
+
"enableJsonFlag": true,
|
|
2252
|
+
"SF_ENV": "SF_ENV",
|
|
2253
|
+
"isESM": true,
|
|
2254
|
+
"relativePath": [
|
|
2255
|
+
"lib",
|
|
2256
|
+
"commands",
|
|
2257
|
+
"force",
|
|
2258
|
+
"data",
|
|
2259
|
+
"bulk",
|
|
2260
|
+
"status.js"
|
|
2261
|
+
],
|
|
2262
|
+
"aliasPermutations": [],
|
|
2263
|
+
"permutations": [
|
|
2264
|
+
"force:data:bulk:status",
|
|
2265
|
+
"data:force:bulk:status",
|
|
2266
|
+
"data:bulk:force:status",
|
|
2267
|
+
"data:bulk:status:force",
|
|
2268
|
+
"force:bulk:data:status",
|
|
2269
|
+
"bulk:force:data:status",
|
|
2270
|
+
"bulk:data:force:status",
|
|
2271
|
+
"bulk:data:status:force",
|
|
2272
|
+
"force:bulk:status:data",
|
|
2273
|
+
"bulk:force:status:data",
|
|
2274
|
+
"bulk:status:force:data",
|
|
2275
|
+
"bulk:status:data:force",
|
|
2276
|
+
"force:data:status:bulk",
|
|
2277
|
+
"data:force:status:bulk",
|
|
2278
|
+
"data:status:force:bulk",
|
|
2279
|
+
"data:status:bulk:force",
|
|
2280
|
+
"force:status:data:bulk",
|
|
2281
|
+
"status:force:data:bulk",
|
|
2282
|
+
"status:data:force:bulk",
|
|
2283
|
+
"status:data:bulk:force",
|
|
2284
|
+
"force:status:bulk:data",
|
|
2285
|
+
"status:force:bulk:data",
|
|
2286
|
+
"status:bulk:force:data",
|
|
2287
|
+
"status:bulk:data:force"
|
|
2288
|
+
]
|
|
2289
|
+
},
|
|
2290
|
+
"force:data:bulk:upsert": {
|
|
1591
2291
|
"aliases": [],
|
|
2292
|
+
"args": {},
|
|
2293
|
+
"description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\n\nWhen you execute this command, it starts a job and one or more batches, displays their IDs, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job and batch IDs to check the status of the job with the \"<%= config.bin %> force data bulk status\" command. A single job can contain many batches, depending on the length of the CSV file.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm)\n\nBy default, the job runs the batches in parallel, which we recommend. You can run jobs serially by specifying the --serial flag. But don't process data in serial mode unless you know this would otherwise result in lock timeouts and you can't reorganize your batches to avoid the locks.",
|
|
1592
2294
|
"examples": [
|
|
1593
2295
|
"Bulk upsert records to the Contact object in your default org:\n<%= config.bin %> --sobject Contact --file files/contacts.csv --external-id Id",
|
|
1594
2296
|
"Bulk upsert records to a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/file.csv --external-id MyField__c --wait 5 --target-org my-scratch"
|
|
1595
2297
|
],
|
|
1596
2298
|
"flags": {
|
|
1597
2299
|
"json": {
|
|
1598
|
-
"name": "json",
|
|
1599
|
-
"type": "boolean",
|
|
1600
2300
|
"description": "Format output as json.",
|
|
1601
2301
|
"helpGroup": "GLOBAL",
|
|
1602
|
-
"
|
|
2302
|
+
"name": "json",
|
|
2303
|
+
"allowNo": false,
|
|
2304
|
+
"type": "boolean"
|
|
1603
2305
|
},
|
|
1604
2306
|
"target-org": {
|
|
1605
|
-
"name": "target-org",
|
|
1606
|
-
"type": "option",
|
|
1607
|
-
"char": "o",
|
|
1608
|
-
"summary": "Username or alias of the target org.",
|
|
1609
|
-
"required": true,
|
|
1610
|
-
"multiple": false,
|
|
1611
2307
|
"aliases": [
|
|
1612
2308
|
"targetusername",
|
|
1613
2309
|
"u"
|
|
1614
|
-
]
|
|
2310
|
+
],
|
|
2311
|
+
"char": "o",
|
|
2312
|
+
"deprecateAliases": true,
|
|
2313
|
+
"name": "target-org",
|
|
2314
|
+
"noCacheDefault": true,
|
|
2315
|
+
"required": true,
|
|
2316
|
+
"summary": "Username or alias of the target org.",
|
|
2317
|
+
"hasDynamicHelp": true,
|
|
2318
|
+
"multiple": false,
|
|
2319
|
+
"type": "option"
|
|
1615
2320
|
},
|
|
1616
2321
|
"api-version": {
|
|
1617
|
-
"name": "api-version",
|
|
1618
|
-
"type": "option",
|
|
1619
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1620
|
-
"multiple": false,
|
|
1621
2322
|
"aliases": [
|
|
1622
2323
|
"apiversion"
|
|
1623
|
-
]
|
|
2324
|
+
],
|
|
2325
|
+
"deprecateAliases": true,
|
|
2326
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2327
|
+
"name": "api-version",
|
|
2328
|
+
"hasDynamicHelp": false,
|
|
2329
|
+
"multiple": false,
|
|
2330
|
+
"type": "option"
|
|
1624
2331
|
},
|
|
1625
2332
|
"loglevel": {
|
|
1626
|
-
"name": "loglevel",
|
|
1627
|
-
"type": "option",
|
|
1628
|
-
"hidden": true,
|
|
1629
|
-
"multiple": false,
|
|
1630
2333
|
"deprecated": {
|
|
1631
2334
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1632
|
-
}
|
|
2335
|
+
},
|
|
2336
|
+
"hidden": true,
|
|
2337
|
+
"name": "loglevel",
|
|
2338
|
+
"hasDynamicHelp": false,
|
|
2339
|
+
"multiple": false,
|
|
2340
|
+
"type": "option"
|
|
1633
2341
|
},
|
|
1634
2342
|
"external-id": {
|
|
1635
|
-
"
|
|
1636
|
-
|
|
2343
|
+
"aliases": [
|
|
2344
|
+
"externalid"
|
|
2345
|
+
],
|
|
1637
2346
|
"char": "i",
|
|
1638
|
-
"
|
|
2347
|
+
"deprecateAliases": true,
|
|
2348
|
+
"name": "external-id",
|
|
1639
2349
|
"required": true,
|
|
2350
|
+
"summary": "Name of the external ID field, or the Id field.",
|
|
2351
|
+
"hasDynamicHelp": false,
|
|
1640
2352
|
"multiple": false,
|
|
1641
|
-
"
|
|
1642
|
-
"externalid"
|
|
1643
|
-
]
|
|
2353
|
+
"type": "option"
|
|
1644
2354
|
},
|
|
1645
2355
|
"file": {
|
|
1646
|
-
"
|
|
1647
|
-
|
|
2356
|
+
"aliases": [
|
|
2357
|
+
"csvfile"
|
|
2358
|
+
],
|
|
1648
2359
|
"char": "f",
|
|
1649
|
-
"
|
|
2360
|
+
"deprecateAliases": true,
|
|
2361
|
+
"name": "file",
|
|
1650
2362
|
"required": true,
|
|
2363
|
+
"summary": "CSV file that contains the records to upsert.",
|
|
2364
|
+
"hasDynamicHelp": false,
|
|
1651
2365
|
"multiple": false,
|
|
1652
|
-
"
|
|
1653
|
-
"csvfile"
|
|
1654
|
-
]
|
|
2366
|
+
"type": "option"
|
|
1655
2367
|
},
|
|
1656
2368
|
"sobject": {
|
|
1657
|
-
"
|
|
1658
|
-
|
|
2369
|
+
"aliases": [
|
|
2370
|
+
"sobjecttype"
|
|
2371
|
+
],
|
|
1659
2372
|
"char": "s",
|
|
1660
|
-
"
|
|
2373
|
+
"deprecateAliases": true,
|
|
2374
|
+
"name": "sobject",
|
|
1661
2375
|
"required": true,
|
|
2376
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to upsert records to.",
|
|
2377
|
+
"hasDynamicHelp": false,
|
|
1662
2378
|
"multiple": false,
|
|
1663
|
-
"
|
|
1664
|
-
"sobjecttype"
|
|
1665
|
-
]
|
|
2379
|
+
"type": "option"
|
|
1666
2380
|
},
|
|
1667
2381
|
"wait": {
|
|
1668
|
-
"name": "wait",
|
|
1669
|
-
"type": "option",
|
|
1670
2382
|
"char": "w",
|
|
2383
|
+
"name": "wait",
|
|
1671
2384
|
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1672
|
-
"multiple": false,
|
|
1673
2385
|
"default": {
|
|
1674
2386
|
"quantity": 0,
|
|
1675
2387
|
"unit": 0
|
|
1676
|
-
}
|
|
2388
|
+
},
|
|
2389
|
+
"hasDynamicHelp": false,
|
|
2390
|
+
"multiple": false,
|
|
2391
|
+
"type": "option"
|
|
1677
2392
|
},
|
|
1678
2393
|
"serial": {
|
|
1679
|
-
"name": "serial",
|
|
1680
|
-
"type": "boolean",
|
|
1681
2394
|
"char": "r",
|
|
2395
|
+
"name": "serial",
|
|
1682
2396
|
"summary": "Run batches in serial mode.",
|
|
1683
|
-
"allowNo": false
|
|
2397
|
+
"allowNo": false,
|
|
2398
|
+
"type": "boolean"
|
|
1684
2399
|
}
|
|
1685
2400
|
},
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
2401
|
+
"hasDynamicHelp": true,
|
|
2402
|
+
"hiddenAliases": [],
|
|
2403
|
+
"id": "force:data:bulk:upsert",
|
|
2404
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
2405
|
+
"pluginName": "@salesforce/plugin-data",
|
|
2406
|
+
"pluginType": "core",
|
|
2407
|
+
"strict": true,
|
|
2408
|
+
"summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 1.0.",
|
|
2409
|
+
"enableJsonFlag": true,
|
|
2410
|
+
"SF_ENV": "SF_ENV",
|
|
2411
|
+
"isESM": true,
|
|
2412
|
+
"relativePath": [
|
|
2413
|
+
"lib",
|
|
2414
|
+
"commands",
|
|
2415
|
+
"force",
|
|
2416
|
+
"data",
|
|
2417
|
+
"bulk",
|
|
2418
|
+
"upsert.js"
|
|
2419
|
+
],
|
|
2420
|
+
"aliasPermutations": [],
|
|
2421
|
+
"permutations": [
|
|
2422
|
+
"force:data:bulk:upsert",
|
|
2423
|
+
"data:force:bulk:upsert",
|
|
2424
|
+
"data:bulk:force:upsert",
|
|
2425
|
+
"data:bulk:upsert:force",
|
|
2426
|
+
"force:bulk:data:upsert",
|
|
2427
|
+
"bulk:force:data:upsert",
|
|
2428
|
+
"bulk:data:force:upsert",
|
|
2429
|
+
"bulk:data:upsert:force",
|
|
2430
|
+
"force:bulk:upsert:data",
|
|
2431
|
+
"bulk:force:upsert:data",
|
|
2432
|
+
"bulk:upsert:force:data",
|
|
2433
|
+
"bulk:upsert:data:force",
|
|
2434
|
+
"force:data:upsert:bulk",
|
|
2435
|
+
"data:force:upsert:bulk",
|
|
2436
|
+
"data:upsert:force:bulk",
|
|
2437
|
+
"data:upsert:bulk:force",
|
|
2438
|
+
"force:upsert:data:bulk",
|
|
2439
|
+
"upsert:force:data:bulk",
|
|
2440
|
+
"upsert:data:force:bulk",
|
|
2441
|
+
"upsert:data:bulk:force",
|
|
2442
|
+
"force:upsert:bulk:data",
|
|
2443
|
+
"upsert:force:bulk:data",
|
|
2444
|
+
"upsert:bulk:force:data",
|
|
2445
|
+
"upsert:bulk:data:force"
|
|
2446
|
+
]
|
|
1688
2447
|
}
|
|
1689
|
-
}
|
|
2448
|
+
},
|
|
2449
|
+
"version": "2.6.4-test.0"
|
|
1690
2450
|
}
|