@salesforce/plugin-data 4.0.70 → 4.0.71
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 +24 -24
- package/oclif.manifest.json +174 -174
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ EXAMPLES
|
|
|
144
144
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
147
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/bulk/results.ts)_
|
|
148
148
|
|
|
149
149
|
## `sf data create file`
|
|
150
150
|
|
|
@@ -193,7 +193,7 @@ EXAMPLES
|
|
|
193
193
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
196
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/create/file.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf data create record`
|
|
199
199
|
|
|
@@ -249,7 +249,7 @@ EXAMPLES
|
|
|
249
249
|
TracedEntityId=01p17000000R6bLAAS"
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
252
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/create/record.ts)_
|
|
253
253
|
|
|
254
254
|
## `sf data delete bulk`
|
|
255
255
|
|
|
@@ -308,7 +308,7 @@ FLAG DESCRIPTIONS
|
|
|
308
308
|
and can be enabled only by a system administrator.
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
311
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/delete/bulk.ts)_
|
|
312
312
|
|
|
313
313
|
## `sf data delete record`
|
|
314
314
|
|
|
@@ -369,7 +369,7 @@ EXAMPLES
|
|
|
369
369
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
370
370
|
```
|
|
371
371
|
|
|
372
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
372
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/delete/record.ts)_
|
|
373
373
|
|
|
374
374
|
## `sf data delete resume`
|
|
375
375
|
|
|
@@ -408,7 +408,7 @@ EXAMPLES
|
|
|
408
408
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
409
409
|
```
|
|
410
410
|
|
|
411
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
411
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/delete/resume.ts)_
|
|
412
412
|
|
|
413
413
|
## `sf data export bulk`
|
|
414
414
|
|
|
@@ -475,7 +475,7 @@ EXAMPLES
|
|
|
475
475
|
--result-format json --wait 10 --all-rows
|
|
476
476
|
```
|
|
477
477
|
|
|
478
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
478
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/export/bulk.ts)_
|
|
479
479
|
|
|
480
480
|
## `sf data export resume`
|
|
481
481
|
|
|
@@ -514,7 +514,7 @@ EXAMPLES
|
|
|
514
514
|
$ sf data export resume --use-most-recent
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
517
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/export/resume.ts)_
|
|
518
518
|
|
|
519
519
|
## `sf data export tree`
|
|
520
520
|
|
|
@@ -574,7 +574,7 @@ EXAMPLES
|
|
|
574
574
|
my-scratch
|
|
575
575
|
```
|
|
576
576
|
|
|
577
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
577
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/export/tree.ts)_
|
|
578
578
|
|
|
579
579
|
## `sf data get record`
|
|
580
580
|
|
|
@@ -638,7 +638,7 @@ EXAMPLES
|
|
|
638
638
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
641
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/get/record.ts)_
|
|
642
642
|
|
|
643
643
|
## `sf data import bulk`
|
|
644
644
|
|
|
@@ -690,7 +690,7 @@ EXAMPLES
|
|
|
690
690
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
691
691
|
```
|
|
692
692
|
|
|
693
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
693
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/import/bulk.ts)_
|
|
694
694
|
|
|
695
695
|
## `sf data import resume`
|
|
696
696
|
|
|
@@ -726,7 +726,7 @@ EXAMPLES
|
|
|
726
726
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
727
727
|
```
|
|
728
728
|
|
|
729
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
729
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/import/resume.ts)_
|
|
730
730
|
|
|
731
731
|
## `sf data import tree`
|
|
732
732
|
|
|
@@ -790,7 +790,7 @@ FLAG DESCRIPTIONS
|
|
|
790
790
|
- files(array) - Files: An array of files paths to load
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
793
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/import/tree.ts)_
|
|
794
794
|
|
|
795
795
|
## `sf data query`
|
|
796
796
|
|
|
@@ -843,7 +843,7 @@ EXAMPLES
|
|
|
843
843
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
844
844
|
```
|
|
845
845
|
|
|
846
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
846
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/query.ts)_
|
|
847
847
|
|
|
848
848
|
## `sf data resume`
|
|
849
849
|
|
|
@@ -880,7 +880,7 @@ EXAMPLES
|
|
|
880
880
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
881
881
|
```
|
|
882
882
|
|
|
883
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
883
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/resume.ts)_
|
|
884
884
|
|
|
885
885
|
## `sf data search`
|
|
886
886
|
|
|
@@ -930,7 +930,7 @@ EXAMPLES
|
|
|
930
930
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
931
931
|
```
|
|
932
932
|
|
|
933
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
933
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/search.ts)_
|
|
934
934
|
|
|
935
935
|
## `sf data update bulk`
|
|
936
936
|
|
|
@@ -985,7 +985,7 @@ EXAMPLES
|
|
|
985
985
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
986
986
|
```
|
|
987
987
|
|
|
988
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
988
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/update/bulk.ts)_
|
|
989
989
|
|
|
990
990
|
## `sf data update record`
|
|
991
991
|
|
|
@@ -1047,7 +1047,7 @@ EXAMPLES
|
|
|
1047
1047
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1048
1048
|
```
|
|
1049
1049
|
|
|
1050
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1050
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/update/record.ts)_
|
|
1051
1051
|
|
|
1052
1052
|
## `sf data update resume`
|
|
1053
1053
|
|
|
@@ -1086,7 +1086,7 @@ EXAMPLES
|
|
|
1086
1086
|
$ sf data update resume --use-most-recent
|
|
1087
1087
|
```
|
|
1088
1088
|
|
|
1089
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1089
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/update/resume.ts)_
|
|
1090
1090
|
|
|
1091
1091
|
## `sf data upsert bulk`
|
|
1092
1092
|
|
|
@@ -1142,7 +1142,7 @@ EXAMPLES
|
|
|
1142
1142
|
my-scratch
|
|
1143
1143
|
```
|
|
1144
1144
|
|
|
1145
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1145
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/upsert/bulk.ts)_
|
|
1146
1146
|
|
|
1147
1147
|
## `sf data upsert resume`
|
|
1148
1148
|
|
|
@@ -1181,7 +1181,7 @@ EXAMPLES
|
|
|
1181
1181
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1182
1182
|
```
|
|
1183
1183
|
|
|
1184
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1184
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/data/upsert/resume.ts)_
|
|
1185
1185
|
|
|
1186
1186
|
## `sf force data bulk delete`
|
|
1187
1187
|
|
|
@@ -1228,7 +1228,7 @@ EXAMPLES
|
|
|
1228
1228
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1229
1229
|
```
|
|
1230
1230
|
|
|
1231
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1231
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/force/data/bulk/delete.ts)_
|
|
1232
1232
|
|
|
1233
1233
|
## `sf force data bulk status`
|
|
1234
1234
|
|
|
@@ -1265,7 +1265,7 @@ EXAMPLES
|
|
|
1265
1265
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1266
1266
|
```
|
|
1267
1267
|
|
|
1268
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1268
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/force/data/bulk/status.ts)_
|
|
1269
1269
|
|
|
1270
1270
|
## `sf force data bulk upsert`
|
|
1271
1271
|
|
|
@@ -1323,6 +1323,6 @@ EXAMPLES
|
|
|
1323
1323
|
--target-org my-scratch
|
|
1324
1324
|
```
|
|
1325
1325
|
|
|
1326
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1326
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.71/src/commands/force/data/bulk/upsert.ts)_
|
|
1327
1327
|
|
|
1328
1328
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1165,179 +1165,6 @@
|
|
|
1165
1165
|
"resume:delete:data"
|
|
1166
1166
|
]
|
|
1167
1167
|
},
|
|
1168
|
-
"data:get:record": {
|
|
1169
|
-
"aliases": [
|
|
1170
|
-
"force:data:record:get"
|
|
1171
|
-
],
|
|
1172
|
-
"args": {},
|
|
1173
|
-
"deprecateAliases": true,
|
|
1174
|
-
"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.",
|
|
1175
|
-
"examples": [
|
|
1176
|
-
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1177
|
-
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1178
|
-
"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",
|
|
1179
|
-
"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"
|
|
1180
|
-
],
|
|
1181
|
-
"flags": {
|
|
1182
|
-
"json": {
|
|
1183
|
-
"description": "Format output as json.",
|
|
1184
|
-
"helpGroup": "GLOBAL",
|
|
1185
|
-
"name": "json",
|
|
1186
|
-
"allowNo": false,
|
|
1187
|
-
"type": "boolean"
|
|
1188
|
-
},
|
|
1189
|
-
"flags-dir": {
|
|
1190
|
-
"helpGroup": "GLOBAL",
|
|
1191
|
-
"name": "flags-dir",
|
|
1192
|
-
"summary": "Import flag values from a directory.",
|
|
1193
|
-
"hasDynamicHelp": false,
|
|
1194
|
-
"multiple": false,
|
|
1195
|
-
"type": "option"
|
|
1196
|
-
},
|
|
1197
|
-
"target-org": {
|
|
1198
|
-
"aliases": [
|
|
1199
|
-
"targetusername",
|
|
1200
|
-
"u"
|
|
1201
|
-
],
|
|
1202
|
-
"char": "o",
|
|
1203
|
-
"deprecateAliases": true,
|
|
1204
|
-
"name": "target-org",
|
|
1205
|
-
"noCacheDefault": true,
|
|
1206
|
-
"required": true,
|
|
1207
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1208
|
-
"hasDynamicHelp": true,
|
|
1209
|
-
"multiple": false,
|
|
1210
|
-
"type": "option"
|
|
1211
|
-
},
|
|
1212
|
-
"api-version": {
|
|
1213
|
-
"aliases": [
|
|
1214
|
-
"apiversion"
|
|
1215
|
-
],
|
|
1216
|
-
"deprecateAliases": true,
|
|
1217
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1218
|
-
"name": "api-version",
|
|
1219
|
-
"hasDynamicHelp": false,
|
|
1220
|
-
"multiple": false,
|
|
1221
|
-
"type": "option"
|
|
1222
|
-
},
|
|
1223
|
-
"loglevel": {
|
|
1224
|
-
"deprecated": {
|
|
1225
|
-
"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."
|
|
1226
|
-
},
|
|
1227
|
-
"hidden": true,
|
|
1228
|
-
"name": "loglevel",
|
|
1229
|
-
"hasDynamicHelp": false,
|
|
1230
|
-
"multiple": false,
|
|
1231
|
-
"type": "option"
|
|
1232
|
-
},
|
|
1233
|
-
"sobject": {
|
|
1234
|
-
"aliases": [
|
|
1235
|
-
"sobjecttype"
|
|
1236
|
-
],
|
|
1237
|
-
"char": "s",
|
|
1238
|
-
"deprecateAliases": true,
|
|
1239
|
-
"name": "sobject",
|
|
1240
|
-
"required": true,
|
|
1241
|
-
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1242
|
-
"hasDynamicHelp": false,
|
|
1243
|
-
"multiple": false,
|
|
1244
|
-
"type": "option"
|
|
1245
|
-
},
|
|
1246
|
-
"record-id": {
|
|
1247
|
-
"aliases": [
|
|
1248
|
-
"sobjectid"
|
|
1249
|
-
],
|
|
1250
|
-
"char": "i",
|
|
1251
|
-
"deprecateAliases": true,
|
|
1252
|
-
"name": "record-id",
|
|
1253
|
-
"summary": "ID of the record you’re retrieving.",
|
|
1254
|
-
"hasDynamicHelp": false,
|
|
1255
|
-
"multiple": false,
|
|
1256
|
-
"type": "option"
|
|
1257
|
-
},
|
|
1258
|
-
"where": {
|
|
1259
|
-
"char": "w",
|
|
1260
|
-
"name": "where",
|
|
1261
|
-
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1262
|
-
"hasDynamicHelp": false,
|
|
1263
|
-
"multiple": false,
|
|
1264
|
-
"type": "option"
|
|
1265
|
-
},
|
|
1266
|
-
"use-tooling-api": {
|
|
1267
|
-
"aliases": [
|
|
1268
|
-
"usetoolingapi"
|
|
1269
|
-
],
|
|
1270
|
-
"char": "t",
|
|
1271
|
-
"deprecateAliases": true,
|
|
1272
|
-
"name": "use-tooling-api",
|
|
1273
|
-
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
1274
|
-
"allowNo": false,
|
|
1275
|
-
"type": "boolean"
|
|
1276
|
-
},
|
|
1277
|
-
"perflog": {
|
|
1278
|
-
"deprecated": {
|
|
1279
|
-
"version": "57"
|
|
1280
|
-
},
|
|
1281
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1282
|
-
"hidden": true,
|
|
1283
|
-
"name": "perflog",
|
|
1284
|
-
"summary": "Get API performance data.",
|
|
1285
|
-
"allowNo": false,
|
|
1286
|
-
"type": "boolean"
|
|
1287
|
-
}
|
|
1288
|
-
},
|
|
1289
|
-
"hasDynamicHelp": true,
|
|
1290
|
-
"hiddenAliases": [],
|
|
1291
|
-
"id": "data:get:record",
|
|
1292
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
1293
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1294
|
-
"pluginType": "core",
|
|
1295
|
-
"strict": true,
|
|
1296
|
-
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1297
|
-
"enableJsonFlag": true,
|
|
1298
|
-
"isESM": true,
|
|
1299
|
-
"relativePath": [
|
|
1300
|
-
"lib",
|
|
1301
|
-
"commands",
|
|
1302
|
-
"data",
|
|
1303
|
-
"get",
|
|
1304
|
-
"record.js"
|
|
1305
|
-
],
|
|
1306
|
-
"aliasPermutations": [
|
|
1307
|
-
"force:data:record:get",
|
|
1308
|
-
"data:force:record:get",
|
|
1309
|
-
"data:record:force:get",
|
|
1310
|
-
"data:record:get:force",
|
|
1311
|
-
"force:record:data:get",
|
|
1312
|
-
"record:force:data:get",
|
|
1313
|
-
"record:data:force:get",
|
|
1314
|
-
"record:data:get:force",
|
|
1315
|
-
"force:record:get:data",
|
|
1316
|
-
"record:force:get:data",
|
|
1317
|
-
"record:get:force:data",
|
|
1318
|
-
"record:get:data:force",
|
|
1319
|
-
"force:data:get:record",
|
|
1320
|
-
"data:force:get:record",
|
|
1321
|
-
"data:get:force:record",
|
|
1322
|
-
"data:get:record:force",
|
|
1323
|
-
"force:get:data:record",
|
|
1324
|
-
"get:force:data:record",
|
|
1325
|
-
"get:data:force:record",
|
|
1326
|
-
"get:data:record:force",
|
|
1327
|
-
"force:get:record:data",
|
|
1328
|
-
"get:force:record:data",
|
|
1329
|
-
"get:record:force:data",
|
|
1330
|
-
"get:record:data:force"
|
|
1331
|
-
],
|
|
1332
|
-
"permutations": [
|
|
1333
|
-
"data:get:record",
|
|
1334
|
-
"get:data:record",
|
|
1335
|
-
"get:record:data",
|
|
1336
|
-
"data:record:get",
|
|
1337
|
-
"record:data:get",
|
|
1338
|
-
"record:get:data"
|
|
1339
|
-
]
|
|
1340
|
-
},
|
|
1341
1168
|
"data:export:bulk": {
|
|
1342
1169
|
"aliases": [],
|
|
1343
1170
|
"args": {},
|
|
@@ -1737,6 +1564,179 @@
|
|
|
1737
1564
|
"tree:export:data"
|
|
1738
1565
|
]
|
|
1739
1566
|
},
|
|
1567
|
+
"data:get:record": {
|
|
1568
|
+
"aliases": [
|
|
1569
|
+
"force:data:record:get"
|
|
1570
|
+
],
|
|
1571
|
+
"args": {},
|
|
1572
|
+
"deprecateAliases": true,
|
|
1573
|
+
"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.",
|
|
1574
|
+
"examples": [
|
|
1575
|
+
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1576
|
+
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1577
|
+
"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",
|
|
1578
|
+
"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"
|
|
1579
|
+
],
|
|
1580
|
+
"flags": {
|
|
1581
|
+
"json": {
|
|
1582
|
+
"description": "Format output as json.",
|
|
1583
|
+
"helpGroup": "GLOBAL",
|
|
1584
|
+
"name": "json",
|
|
1585
|
+
"allowNo": false,
|
|
1586
|
+
"type": "boolean"
|
|
1587
|
+
},
|
|
1588
|
+
"flags-dir": {
|
|
1589
|
+
"helpGroup": "GLOBAL",
|
|
1590
|
+
"name": "flags-dir",
|
|
1591
|
+
"summary": "Import flag values from a directory.",
|
|
1592
|
+
"hasDynamicHelp": false,
|
|
1593
|
+
"multiple": false,
|
|
1594
|
+
"type": "option"
|
|
1595
|
+
},
|
|
1596
|
+
"target-org": {
|
|
1597
|
+
"aliases": [
|
|
1598
|
+
"targetusername",
|
|
1599
|
+
"u"
|
|
1600
|
+
],
|
|
1601
|
+
"char": "o",
|
|
1602
|
+
"deprecateAliases": true,
|
|
1603
|
+
"name": "target-org",
|
|
1604
|
+
"noCacheDefault": true,
|
|
1605
|
+
"required": true,
|
|
1606
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1607
|
+
"hasDynamicHelp": true,
|
|
1608
|
+
"multiple": false,
|
|
1609
|
+
"type": "option"
|
|
1610
|
+
},
|
|
1611
|
+
"api-version": {
|
|
1612
|
+
"aliases": [
|
|
1613
|
+
"apiversion"
|
|
1614
|
+
],
|
|
1615
|
+
"deprecateAliases": true,
|
|
1616
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1617
|
+
"name": "api-version",
|
|
1618
|
+
"hasDynamicHelp": false,
|
|
1619
|
+
"multiple": false,
|
|
1620
|
+
"type": "option"
|
|
1621
|
+
},
|
|
1622
|
+
"loglevel": {
|
|
1623
|
+
"deprecated": {
|
|
1624
|
+
"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."
|
|
1625
|
+
},
|
|
1626
|
+
"hidden": true,
|
|
1627
|
+
"name": "loglevel",
|
|
1628
|
+
"hasDynamicHelp": false,
|
|
1629
|
+
"multiple": false,
|
|
1630
|
+
"type": "option"
|
|
1631
|
+
},
|
|
1632
|
+
"sobject": {
|
|
1633
|
+
"aliases": [
|
|
1634
|
+
"sobjecttype"
|
|
1635
|
+
],
|
|
1636
|
+
"char": "s",
|
|
1637
|
+
"deprecateAliases": true,
|
|
1638
|
+
"name": "sobject",
|
|
1639
|
+
"required": true,
|
|
1640
|
+
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1641
|
+
"hasDynamicHelp": false,
|
|
1642
|
+
"multiple": false,
|
|
1643
|
+
"type": "option"
|
|
1644
|
+
},
|
|
1645
|
+
"record-id": {
|
|
1646
|
+
"aliases": [
|
|
1647
|
+
"sobjectid"
|
|
1648
|
+
],
|
|
1649
|
+
"char": "i",
|
|
1650
|
+
"deprecateAliases": true,
|
|
1651
|
+
"name": "record-id",
|
|
1652
|
+
"summary": "ID of the record you’re retrieving.",
|
|
1653
|
+
"hasDynamicHelp": false,
|
|
1654
|
+
"multiple": false,
|
|
1655
|
+
"type": "option"
|
|
1656
|
+
},
|
|
1657
|
+
"where": {
|
|
1658
|
+
"char": "w",
|
|
1659
|
+
"name": "where",
|
|
1660
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1661
|
+
"hasDynamicHelp": false,
|
|
1662
|
+
"multiple": false,
|
|
1663
|
+
"type": "option"
|
|
1664
|
+
},
|
|
1665
|
+
"use-tooling-api": {
|
|
1666
|
+
"aliases": [
|
|
1667
|
+
"usetoolingapi"
|
|
1668
|
+
],
|
|
1669
|
+
"char": "t",
|
|
1670
|
+
"deprecateAliases": true,
|
|
1671
|
+
"name": "use-tooling-api",
|
|
1672
|
+
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
1673
|
+
"allowNo": false,
|
|
1674
|
+
"type": "boolean"
|
|
1675
|
+
},
|
|
1676
|
+
"perflog": {
|
|
1677
|
+
"deprecated": {
|
|
1678
|
+
"version": "57"
|
|
1679
|
+
},
|
|
1680
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1681
|
+
"hidden": true,
|
|
1682
|
+
"name": "perflog",
|
|
1683
|
+
"summary": "Get API performance data.",
|
|
1684
|
+
"allowNo": false,
|
|
1685
|
+
"type": "boolean"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"hasDynamicHelp": true,
|
|
1689
|
+
"hiddenAliases": [],
|
|
1690
|
+
"id": "data:get:record",
|
|
1691
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1692
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1693
|
+
"pluginType": "core",
|
|
1694
|
+
"strict": true,
|
|
1695
|
+
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1696
|
+
"enableJsonFlag": true,
|
|
1697
|
+
"isESM": true,
|
|
1698
|
+
"relativePath": [
|
|
1699
|
+
"lib",
|
|
1700
|
+
"commands",
|
|
1701
|
+
"data",
|
|
1702
|
+
"get",
|
|
1703
|
+
"record.js"
|
|
1704
|
+
],
|
|
1705
|
+
"aliasPermutations": [
|
|
1706
|
+
"force:data:record:get",
|
|
1707
|
+
"data:force:record:get",
|
|
1708
|
+
"data:record:force:get",
|
|
1709
|
+
"data:record:get:force",
|
|
1710
|
+
"force:record:data:get",
|
|
1711
|
+
"record:force:data:get",
|
|
1712
|
+
"record:data:force:get",
|
|
1713
|
+
"record:data:get:force",
|
|
1714
|
+
"force:record:get:data",
|
|
1715
|
+
"record:force:get:data",
|
|
1716
|
+
"record:get:force:data",
|
|
1717
|
+
"record:get:data:force",
|
|
1718
|
+
"force:data:get:record",
|
|
1719
|
+
"data:force:get:record",
|
|
1720
|
+
"data:get:force:record",
|
|
1721
|
+
"data:get:record:force",
|
|
1722
|
+
"force:get:data:record",
|
|
1723
|
+
"get:force:data:record",
|
|
1724
|
+
"get:data:force:record",
|
|
1725
|
+
"get:data:record:force",
|
|
1726
|
+
"force:get:record:data",
|
|
1727
|
+
"get:force:record:data",
|
|
1728
|
+
"get:record:force:data",
|
|
1729
|
+
"get:record:data:force"
|
|
1730
|
+
],
|
|
1731
|
+
"permutations": [
|
|
1732
|
+
"data:get:record",
|
|
1733
|
+
"get:data:record",
|
|
1734
|
+
"get:record:data",
|
|
1735
|
+
"data:record:get",
|
|
1736
|
+
"record:data:get",
|
|
1737
|
+
"record:get:data"
|
|
1738
|
+
]
|
|
1739
|
+
},
|
|
1740
1740
|
"data:import:bulk": {
|
|
1741
1741
|
"aliases": [],
|
|
1742
1742
|
"args": {},
|
|
@@ -3166,5 +3166,5 @@
|
|
|
3166
3166
|
]
|
|
3167
3167
|
}
|
|
3168
3168
|
},
|
|
3169
|
-
"version": "4.0.
|
|
3169
|
+
"version": "4.0.71"
|
|
3170
3170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.71",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"csv-stringify": "^6.6.0",
|
|
136
136
|
"form-data": "^4.0.5",
|
|
137
137
|
"terminal-link": "^3.0.0",
|
|
138
|
-
"zod": "^4.
|
|
138
|
+
"zod": "^4.3.6"
|
|
139
139
|
},
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@oclif/core": "^4.8.0",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"@salesforce/plugin-command-reference": "^3.1.79",
|
|
147
147
|
"@salesforce/types": "^1.6.0",
|
|
148
148
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
149
|
-
"oclif": "^4.22.
|
|
149
|
+
"oclif": "^4.22.77",
|
|
150
150
|
"ts-node": "^10.9.2",
|
|
151
151
|
"typescript": "^5.8.3"
|
|
152
152
|
},
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
"exports": "./lib/index.js",
|
|
272
272
|
"type": "module",
|
|
273
273
|
"sfdx": {
|
|
274
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
275
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
274
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.71.crt",
|
|
275
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.71.sig"
|
|
276
276
|
}
|
|
277
277
|
}
|