@salesforce/plugin-data 3.13.8 → 3.13.9
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 +25 -25
- package/oclif.manifest.json +174 -174
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ EXAMPLES
|
|
|
145
145
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
148
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/bulk/results.ts)_
|
|
149
149
|
|
|
150
150
|
## `sf data create file`
|
|
151
151
|
|
|
@@ -194,7 +194,7 @@ EXAMPLES
|
|
|
194
194
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
197
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/create/file.ts)_
|
|
198
198
|
|
|
199
199
|
## `sf data create record`
|
|
200
200
|
|
|
@@ -250,7 +250,7 @@ EXAMPLES
|
|
|
250
250
|
TracedEntityId=01p17000000R6bLAAS"
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
253
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/create/record.ts)_
|
|
254
254
|
|
|
255
255
|
## `sf data delete bulk`
|
|
256
256
|
|
|
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
|
|
|
311
311
|
and can be enabled only by a system administrator.
|
|
312
312
|
```
|
|
313
313
|
|
|
314
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
314
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/delete/bulk.ts)_
|
|
315
315
|
|
|
316
316
|
## `sf data delete record`
|
|
317
317
|
|
|
@@ -372,7 +372,7 @@ EXAMPLES
|
|
|
372
372
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
375
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/delete/record.ts)_
|
|
376
376
|
|
|
377
377
|
## `sf data delete resume`
|
|
378
378
|
|
|
@@ -411,7 +411,7 @@ EXAMPLES
|
|
|
411
411
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
412
412
|
```
|
|
413
413
|
|
|
414
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
414
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/delete/resume.ts)_
|
|
415
415
|
|
|
416
416
|
## `sf data export bulk`
|
|
417
417
|
|
|
@@ -485,7 +485,7 @@ EXAMPLES
|
|
|
485
485
|
--result-format json --async
|
|
486
486
|
```
|
|
487
487
|
|
|
488
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
488
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/export/bulk.ts)_
|
|
489
489
|
|
|
490
490
|
## `sf data export resume`
|
|
491
491
|
|
|
@@ -521,7 +521,7 @@ EXAMPLES
|
|
|
521
521
|
$ sf data export resume --use-most-recent --target-org my-scratch
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
524
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/export/resume.ts)_
|
|
525
525
|
|
|
526
526
|
## `sf data export tree`
|
|
527
527
|
|
|
@@ -582,7 +582,7 @@ EXAMPLES
|
|
|
582
582
|
my-scratch
|
|
583
583
|
```
|
|
584
584
|
|
|
585
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
585
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/export/tree.ts)_
|
|
586
586
|
|
|
587
587
|
## `sf data get record`
|
|
588
588
|
|
|
@@ -646,7 +646,7 @@ EXAMPLES
|
|
|
646
646
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
647
647
|
```
|
|
648
648
|
|
|
649
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
649
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/get/record.ts)_
|
|
650
650
|
|
|
651
651
|
## `sf data import bulk`
|
|
652
652
|
|
|
@@ -704,7 +704,7 @@ EXAMPLES
|
|
|
704
704
|
$ sf data import bulk --file accounts.csv --sobject Account --async
|
|
705
705
|
```
|
|
706
706
|
|
|
707
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
707
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/import/bulk.ts)_
|
|
708
708
|
|
|
709
709
|
## `sf data import resume`
|
|
710
710
|
|
|
@@ -740,7 +740,7 @@ EXAMPLES
|
|
|
740
740
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
741
741
|
```
|
|
742
742
|
|
|
743
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
743
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/import/resume.ts)_
|
|
744
744
|
|
|
745
745
|
## `sf data import tree`
|
|
746
746
|
|
|
@@ -805,7 +805,7 @@ FLAG DESCRIPTIONS
|
|
|
805
805
|
- files(array) - Files: An array of files paths to load
|
|
806
806
|
```
|
|
807
807
|
|
|
808
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
808
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/import/tree.ts)_
|
|
809
809
|
|
|
810
810
|
## `sf data query`
|
|
811
811
|
|
|
@@ -871,7 +871,7 @@ EXAMPLES
|
|
|
871
871
|
$ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
872
872
|
```
|
|
873
873
|
|
|
874
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
874
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/query.ts)_
|
|
875
875
|
|
|
876
876
|
## `sf data query resume`
|
|
877
877
|
|
|
@@ -908,7 +908,7 @@ EXAMPLES
|
|
|
908
908
|
$ sf data query resume --bulk-query-id 7500x000005BdFzXXX
|
|
909
909
|
```
|
|
910
910
|
|
|
911
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
911
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/query/resume.ts)_
|
|
912
912
|
|
|
913
913
|
## `sf data resume`
|
|
914
914
|
|
|
@@ -945,7 +945,7 @@ EXAMPLES
|
|
|
945
945
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
948
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/resume.ts)_
|
|
949
949
|
|
|
950
950
|
## `sf data search`
|
|
951
951
|
|
|
@@ -995,7 +995,7 @@ EXAMPLES
|
|
|
995
995
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
996
996
|
```
|
|
997
997
|
|
|
998
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
998
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/search.ts)_
|
|
999
999
|
|
|
1000
1000
|
## `sf data update bulk`
|
|
1001
1001
|
|
|
@@ -1056,7 +1056,7 @@ EXAMPLES
|
|
|
1056
1056
|
$ sf data update bulk --file accounts.csv --sobject Account --async
|
|
1057
1057
|
```
|
|
1058
1058
|
|
|
1059
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1059
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/update/bulk.ts)_
|
|
1060
1060
|
|
|
1061
1061
|
## `sf data update record`
|
|
1062
1062
|
|
|
@@ -1118,7 +1118,7 @@ EXAMPLES
|
|
|
1118
1118
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1119
1119
|
```
|
|
1120
1120
|
|
|
1121
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1121
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/update/record.ts)_
|
|
1122
1122
|
|
|
1123
1123
|
## `sf data update resume`
|
|
1124
1124
|
|
|
@@ -1154,7 +1154,7 @@ EXAMPLES
|
|
|
1154
1154
|
$ sf data update resume --use-most-recent --target-org my-scratch
|
|
1155
1155
|
```
|
|
1156
1156
|
|
|
1157
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1157
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/update/resume.ts)_
|
|
1158
1158
|
|
|
1159
1159
|
## `sf data upsert bulk`
|
|
1160
1160
|
|
|
@@ -1213,7 +1213,7 @@ EXAMPLES
|
|
|
1213
1213
|
my-scratch
|
|
1214
1214
|
```
|
|
1215
1215
|
|
|
1216
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1216
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/upsert/bulk.ts)_
|
|
1217
1217
|
|
|
1218
1218
|
## `sf data upsert resume`
|
|
1219
1219
|
|
|
@@ -1252,7 +1252,7 @@ EXAMPLES
|
|
|
1252
1252
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1253
1253
|
```
|
|
1254
1254
|
|
|
1255
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1255
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/data/upsert/resume.ts)_
|
|
1256
1256
|
|
|
1257
1257
|
## `sf force data bulk delete`
|
|
1258
1258
|
|
|
@@ -1299,7 +1299,7 @@ EXAMPLES
|
|
|
1299
1299
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1300
1300
|
```
|
|
1301
1301
|
|
|
1302
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1302
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/force/data/bulk/delete.ts)_
|
|
1303
1303
|
|
|
1304
1304
|
## `sf force data bulk status`
|
|
1305
1305
|
|
|
@@ -1336,7 +1336,7 @@ EXAMPLES
|
|
|
1336
1336
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1337
1337
|
```
|
|
1338
1338
|
|
|
1339
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1339
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/force/data/bulk/status.ts)_
|
|
1340
1340
|
|
|
1341
1341
|
## `sf force data bulk upsert`
|
|
1342
1342
|
|
|
@@ -1394,6 +1394,6 @@ EXAMPLES
|
|
|
1394
1394
|
--target-org my-scratch
|
|
1395
1395
|
```
|
|
1396
1396
|
|
|
1397
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.
|
|
1397
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.13.9/src/commands/force/data/bulk/upsert.ts)_
|
|
1398
1398
|
|
|
1399
1399
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1227,179 +1227,6 @@
|
|
|
1227
1227
|
"resume:delete:data"
|
|
1228
1228
|
]
|
|
1229
1229
|
},
|
|
1230
|
-
"data:get:record": {
|
|
1231
|
-
"aliases": [
|
|
1232
|
-
"force:data:record:get"
|
|
1233
|
-
],
|
|
1234
|
-
"args": {},
|
|
1235
|
-
"deprecateAliases": true,
|
|
1236
|
-
"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.",
|
|
1237
|
-
"examples": [
|
|
1238
|
-
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1239
|
-
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1240
|
-
"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",
|
|
1241
|
-
"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"
|
|
1242
|
-
],
|
|
1243
|
-
"flags": {
|
|
1244
|
-
"json": {
|
|
1245
|
-
"description": "Format output as json.",
|
|
1246
|
-
"helpGroup": "GLOBAL",
|
|
1247
|
-
"name": "json",
|
|
1248
|
-
"allowNo": false,
|
|
1249
|
-
"type": "boolean"
|
|
1250
|
-
},
|
|
1251
|
-
"flags-dir": {
|
|
1252
|
-
"helpGroup": "GLOBAL",
|
|
1253
|
-
"name": "flags-dir",
|
|
1254
|
-
"summary": "Import flag values from a directory.",
|
|
1255
|
-
"hasDynamicHelp": false,
|
|
1256
|
-
"multiple": false,
|
|
1257
|
-
"type": "option"
|
|
1258
|
-
},
|
|
1259
|
-
"target-org": {
|
|
1260
|
-
"aliases": [
|
|
1261
|
-
"targetusername",
|
|
1262
|
-
"u"
|
|
1263
|
-
],
|
|
1264
|
-
"char": "o",
|
|
1265
|
-
"deprecateAliases": true,
|
|
1266
|
-
"name": "target-org",
|
|
1267
|
-
"noCacheDefault": true,
|
|
1268
|
-
"required": true,
|
|
1269
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1270
|
-
"hasDynamicHelp": true,
|
|
1271
|
-
"multiple": false,
|
|
1272
|
-
"type": "option"
|
|
1273
|
-
},
|
|
1274
|
-
"api-version": {
|
|
1275
|
-
"aliases": [
|
|
1276
|
-
"apiversion"
|
|
1277
|
-
],
|
|
1278
|
-
"deprecateAliases": true,
|
|
1279
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1280
|
-
"name": "api-version",
|
|
1281
|
-
"hasDynamicHelp": false,
|
|
1282
|
-
"multiple": false,
|
|
1283
|
-
"type": "option"
|
|
1284
|
-
},
|
|
1285
|
-
"loglevel": {
|
|
1286
|
-
"deprecated": {
|
|
1287
|
-
"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."
|
|
1288
|
-
},
|
|
1289
|
-
"hidden": true,
|
|
1290
|
-
"name": "loglevel",
|
|
1291
|
-
"hasDynamicHelp": false,
|
|
1292
|
-
"multiple": false,
|
|
1293
|
-
"type": "option"
|
|
1294
|
-
},
|
|
1295
|
-
"sobject": {
|
|
1296
|
-
"aliases": [
|
|
1297
|
-
"sobjecttype"
|
|
1298
|
-
],
|
|
1299
|
-
"char": "s",
|
|
1300
|
-
"deprecateAliases": true,
|
|
1301
|
-
"name": "sobject",
|
|
1302
|
-
"required": true,
|
|
1303
|
-
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1304
|
-
"hasDynamicHelp": false,
|
|
1305
|
-
"multiple": false,
|
|
1306
|
-
"type": "option"
|
|
1307
|
-
},
|
|
1308
|
-
"record-id": {
|
|
1309
|
-
"aliases": [
|
|
1310
|
-
"sobjectid"
|
|
1311
|
-
],
|
|
1312
|
-
"char": "i",
|
|
1313
|
-
"deprecateAliases": true,
|
|
1314
|
-
"name": "record-id",
|
|
1315
|
-
"summary": "ID of the record you’re retrieving.",
|
|
1316
|
-
"hasDynamicHelp": false,
|
|
1317
|
-
"multiple": false,
|
|
1318
|
-
"type": "option"
|
|
1319
|
-
},
|
|
1320
|
-
"where": {
|
|
1321
|
-
"char": "w",
|
|
1322
|
-
"name": "where",
|
|
1323
|
-
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1324
|
-
"hasDynamicHelp": false,
|
|
1325
|
-
"multiple": false,
|
|
1326
|
-
"type": "option"
|
|
1327
|
-
},
|
|
1328
|
-
"use-tooling-api": {
|
|
1329
|
-
"aliases": [
|
|
1330
|
-
"usetoolingapi"
|
|
1331
|
-
],
|
|
1332
|
-
"char": "t",
|
|
1333
|
-
"deprecateAliases": true,
|
|
1334
|
-
"name": "use-tooling-api",
|
|
1335
|
-
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
1336
|
-
"allowNo": false,
|
|
1337
|
-
"type": "boolean"
|
|
1338
|
-
},
|
|
1339
|
-
"perflog": {
|
|
1340
|
-
"deprecated": {
|
|
1341
|
-
"version": "57"
|
|
1342
|
-
},
|
|
1343
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1344
|
-
"hidden": true,
|
|
1345
|
-
"name": "perflog",
|
|
1346
|
-
"summary": "Get API performance data.",
|
|
1347
|
-
"allowNo": false,
|
|
1348
|
-
"type": "boolean"
|
|
1349
|
-
}
|
|
1350
|
-
},
|
|
1351
|
-
"hasDynamicHelp": true,
|
|
1352
|
-
"hiddenAliases": [],
|
|
1353
|
-
"id": "data:get:record",
|
|
1354
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
1355
|
-
"pluginName": "@salesforce/plugin-data",
|
|
1356
|
-
"pluginType": "core",
|
|
1357
|
-
"strict": true,
|
|
1358
|
-
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1359
|
-
"enableJsonFlag": true,
|
|
1360
|
-
"isESM": true,
|
|
1361
|
-
"relativePath": [
|
|
1362
|
-
"lib",
|
|
1363
|
-
"commands",
|
|
1364
|
-
"data",
|
|
1365
|
-
"get",
|
|
1366
|
-
"record.js"
|
|
1367
|
-
],
|
|
1368
|
-
"aliasPermutations": [
|
|
1369
|
-
"force:data:record:get",
|
|
1370
|
-
"data:force:record:get",
|
|
1371
|
-
"data:record:force:get",
|
|
1372
|
-
"data:record:get:force",
|
|
1373
|
-
"force:record:data:get",
|
|
1374
|
-
"record:force:data:get",
|
|
1375
|
-
"record:data:force:get",
|
|
1376
|
-
"record:data:get:force",
|
|
1377
|
-
"force:record:get:data",
|
|
1378
|
-
"record:force:get:data",
|
|
1379
|
-
"record:get:force:data",
|
|
1380
|
-
"record:get:data:force",
|
|
1381
|
-
"force:data:get:record",
|
|
1382
|
-
"data:force:get:record",
|
|
1383
|
-
"data:get:force:record",
|
|
1384
|
-
"data:get:record:force",
|
|
1385
|
-
"force:get:data:record",
|
|
1386
|
-
"get:force:data:record",
|
|
1387
|
-
"get:data:force:record",
|
|
1388
|
-
"get:data:record:force",
|
|
1389
|
-
"force:get:record:data",
|
|
1390
|
-
"get:force:record:data",
|
|
1391
|
-
"get:record:force:data",
|
|
1392
|
-
"get:record:data:force"
|
|
1393
|
-
],
|
|
1394
|
-
"permutations": [
|
|
1395
|
-
"data:get:record",
|
|
1396
|
-
"get:data:record",
|
|
1397
|
-
"get:record:data",
|
|
1398
|
-
"data:record:get",
|
|
1399
|
-
"record:data:get",
|
|
1400
|
-
"record:get:data"
|
|
1401
|
-
]
|
|
1402
|
-
},
|
|
1403
1230
|
"data:export:bulk": {
|
|
1404
1231
|
"aliases": [],
|
|
1405
1232
|
"args": {},
|
|
@@ -1837,6 +1664,179 @@
|
|
|
1837
1664
|
"tree:export:data"
|
|
1838
1665
|
]
|
|
1839
1666
|
},
|
|
1667
|
+
"data:get:record": {
|
|
1668
|
+
"aliases": [
|
|
1669
|
+
"force:data:record:get"
|
|
1670
|
+
],
|
|
1671
|
+
"args": {},
|
|
1672
|
+
"deprecateAliases": true,
|
|
1673
|
+
"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.",
|
|
1674
|
+
"examples": [
|
|
1675
|
+
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1676
|
+
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1677
|
+
"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",
|
|
1678
|
+
"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"
|
|
1679
|
+
],
|
|
1680
|
+
"flags": {
|
|
1681
|
+
"json": {
|
|
1682
|
+
"description": "Format output as json.",
|
|
1683
|
+
"helpGroup": "GLOBAL",
|
|
1684
|
+
"name": "json",
|
|
1685
|
+
"allowNo": false,
|
|
1686
|
+
"type": "boolean"
|
|
1687
|
+
},
|
|
1688
|
+
"flags-dir": {
|
|
1689
|
+
"helpGroup": "GLOBAL",
|
|
1690
|
+
"name": "flags-dir",
|
|
1691
|
+
"summary": "Import flag values from a directory.",
|
|
1692
|
+
"hasDynamicHelp": false,
|
|
1693
|
+
"multiple": false,
|
|
1694
|
+
"type": "option"
|
|
1695
|
+
},
|
|
1696
|
+
"target-org": {
|
|
1697
|
+
"aliases": [
|
|
1698
|
+
"targetusername",
|
|
1699
|
+
"u"
|
|
1700
|
+
],
|
|
1701
|
+
"char": "o",
|
|
1702
|
+
"deprecateAliases": true,
|
|
1703
|
+
"name": "target-org",
|
|
1704
|
+
"noCacheDefault": true,
|
|
1705
|
+
"required": true,
|
|
1706
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1707
|
+
"hasDynamicHelp": true,
|
|
1708
|
+
"multiple": false,
|
|
1709
|
+
"type": "option"
|
|
1710
|
+
},
|
|
1711
|
+
"api-version": {
|
|
1712
|
+
"aliases": [
|
|
1713
|
+
"apiversion"
|
|
1714
|
+
],
|
|
1715
|
+
"deprecateAliases": true,
|
|
1716
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1717
|
+
"name": "api-version",
|
|
1718
|
+
"hasDynamicHelp": false,
|
|
1719
|
+
"multiple": false,
|
|
1720
|
+
"type": "option"
|
|
1721
|
+
},
|
|
1722
|
+
"loglevel": {
|
|
1723
|
+
"deprecated": {
|
|
1724
|
+
"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."
|
|
1725
|
+
},
|
|
1726
|
+
"hidden": true,
|
|
1727
|
+
"name": "loglevel",
|
|
1728
|
+
"hasDynamicHelp": false,
|
|
1729
|
+
"multiple": false,
|
|
1730
|
+
"type": "option"
|
|
1731
|
+
},
|
|
1732
|
+
"sobject": {
|
|
1733
|
+
"aliases": [
|
|
1734
|
+
"sobjecttype"
|
|
1735
|
+
],
|
|
1736
|
+
"char": "s",
|
|
1737
|
+
"deprecateAliases": true,
|
|
1738
|
+
"name": "sobject",
|
|
1739
|
+
"required": true,
|
|
1740
|
+
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1741
|
+
"hasDynamicHelp": false,
|
|
1742
|
+
"multiple": false,
|
|
1743
|
+
"type": "option"
|
|
1744
|
+
},
|
|
1745
|
+
"record-id": {
|
|
1746
|
+
"aliases": [
|
|
1747
|
+
"sobjectid"
|
|
1748
|
+
],
|
|
1749
|
+
"char": "i",
|
|
1750
|
+
"deprecateAliases": true,
|
|
1751
|
+
"name": "record-id",
|
|
1752
|
+
"summary": "ID of the record you’re retrieving.",
|
|
1753
|
+
"hasDynamicHelp": false,
|
|
1754
|
+
"multiple": false,
|
|
1755
|
+
"type": "option"
|
|
1756
|
+
},
|
|
1757
|
+
"where": {
|
|
1758
|
+
"char": "w",
|
|
1759
|
+
"name": "where",
|
|
1760
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1761
|
+
"hasDynamicHelp": false,
|
|
1762
|
+
"multiple": false,
|
|
1763
|
+
"type": "option"
|
|
1764
|
+
},
|
|
1765
|
+
"use-tooling-api": {
|
|
1766
|
+
"aliases": [
|
|
1767
|
+
"usetoolingapi"
|
|
1768
|
+
],
|
|
1769
|
+
"char": "t",
|
|
1770
|
+
"deprecateAliases": true,
|
|
1771
|
+
"name": "use-tooling-api",
|
|
1772
|
+
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
1773
|
+
"allowNo": false,
|
|
1774
|
+
"type": "boolean"
|
|
1775
|
+
},
|
|
1776
|
+
"perflog": {
|
|
1777
|
+
"deprecated": {
|
|
1778
|
+
"version": "57"
|
|
1779
|
+
},
|
|
1780
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1781
|
+
"hidden": true,
|
|
1782
|
+
"name": "perflog",
|
|
1783
|
+
"summary": "Get API performance data.",
|
|
1784
|
+
"allowNo": false,
|
|
1785
|
+
"type": "boolean"
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
"hasDynamicHelp": true,
|
|
1789
|
+
"hiddenAliases": [],
|
|
1790
|
+
"id": "data:get:record",
|
|
1791
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1792
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1793
|
+
"pluginType": "core",
|
|
1794
|
+
"strict": true,
|
|
1795
|
+
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1796
|
+
"enableJsonFlag": true,
|
|
1797
|
+
"isESM": true,
|
|
1798
|
+
"relativePath": [
|
|
1799
|
+
"lib",
|
|
1800
|
+
"commands",
|
|
1801
|
+
"data",
|
|
1802
|
+
"get",
|
|
1803
|
+
"record.js"
|
|
1804
|
+
],
|
|
1805
|
+
"aliasPermutations": [
|
|
1806
|
+
"force:data:record:get",
|
|
1807
|
+
"data:force:record:get",
|
|
1808
|
+
"data:record:force:get",
|
|
1809
|
+
"data:record:get:force",
|
|
1810
|
+
"force:record:data:get",
|
|
1811
|
+
"record:force:data:get",
|
|
1812
|
+
"record:data:force:get",
|
|
1813
|
+
"record:data:get:force",
|
|
1814
|
+
"force:record:get:data",
|
|
1815
|
+
"record:force:get:data",
|
|
1816
|
+
"record:get:force:data",
|
|
1817
|
+
"record:get:data:force",
|
|
1818
|
+
"force:data:get:record",
|
|
1819
|
+
"data:force:get:record",
|
|
1820
|
+
"data:get:force:record",
|
|
1821
|
+
"data:get:record:force",
|
|
1822
|
+
"force:get:data:record",
|
|
1823
|
+
"get:force:data:record",
|
|
1824
|
+
"get:data:force:record",
|
|
1825
|
+
"get:data:record:force",
|
|
1826
|
+
"force:get:record:data",
|
|
1827
|
+
"get:force:record:data",
|
|
1828
|
+
"get:record:force:data",
|
|
1829
|
+
"get:record:data:force"
|
|
1830
|
+
],
|
|
1831
|
+
"permutations": [
|
|
1832
|
+
"data:get:record",
|
|
1833
|
+
"get:data:record",
|
|
1834
|
+
"get:record:data",
|
|
1835
|
+
"data:record:get",
|
|
1836
|
+
"record:data:get",
|
|
1837
|
+
"record:get:data"
|
|
1838
|
+
]
|
|
1839
|
+
},
|
|
1840
1840
|
"data:import:bulk": {
|
|
1841
1841
|
"aliases": [],
|
|
1842
1842
|
"args": {},
|
|
@@ -3901,5 +3901,5 @@
|
|
|
3901
3901
|
]
|
|
3902
3902
|
}
|
|
3903
3903
|
},
|
|
3904
|
-
"version": "3.13.
|
|
3904
|
+
"version": "3.13.9"
|
|
3905
3905
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.9",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
121
|
"@jsforce/jsforce-node": "^3.6.3",
|
|
122
|
-
"@oclif/multi-stage-output": "^0.8.
|
|
122
|
+
"@oclif/multi-stage-output": "^0.8.1",
|
|
123
123
|
"@salesforce/core": "^8.6.1",
|
|
124
124
|
"@salesforce/kit": "^3.2.2",
|
|
125
125
|
"@salesforce/sf-plugins-core": "^12.1.1",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@salesforce/plugin-command-reference": "^3.1.38",
|
|
141
141
|
"@salesforce/types": "^1.3.0",
|
|
142
142
|
"eslint-plugin-sf-plugin": "^1.20.13",
|
|
143
|
-
"oclif": "^4.17.
|
|
143
|
+
"oclif": "^4.17.7",
|
|
144
144
|
"ts-node": "^10.9.2",
|
|
145
145
|
"typescript": "^5.7.2"
|
|
146
146
|
},
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"exports": "./lib/index.js",
|
|
266
266
|
"type": "module",
|
|
267
267
|
"sfdx": {
|
|
268
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.13.
|
|
269
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.13.
|
|
268
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.13.9.crt",
|
|
269
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.13.9.sig"
|
|
270
270
|
}
|
|
271
271
|
}
|