@salesforce/plugin-data 5.1.3 → 5.1.4
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 +483 -483
- package/package.json +4 -4
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/5.1.
|
|
147
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/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/5.1.
|
|
196
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/create/file.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf data create record`
|
|
199
199
|
|
|
@@ -252,7 +252,7 @@ EXAMPLES
|
|
|
252
252
|
TracedEntityId=01p17000000R6bLAAS"
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
255
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/create/record.ts)_
|
|
256
256
|
|
|
257
257
|
## `sf data delete bulk`
|
|
258
258
|
|
|
@@ -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/5.1.
|
|
314
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/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/5.1.
|
|
375
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/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/5.1.
|
|
414
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/delete/resume.ts)_
|
|
415
415
|
|
|
416
416
|
## `sf data export bulk`
|
|
417
417
|
|
|
@@ -478,7 +478,7 @@ EXAMPLES
|
|
|
478
478
|
--result-format json --wait 10 --all-rows
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
481
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/export/bulk.ts)_
|
|
482
482
|
|
|
483
483
|
## `sf data export resume`
|
|
484
484
|
|
|
@@ -517,7 +517,7 @@ EXAMPLES
|
|
|
517
517
|
$ sf data export resume --use-most-recent
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
520
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/export/resume.ts)_
|
|
521
521
|
|
|
522
522
|
## `sf data export tree`
|
|
523
523
|
|
|
@@ -577,7 +577,7 @@ EXAMPLES
|
|
|
577
577
|
my-scratch
|
|
578
578
|
```
|
|
579
579
|
|
|
580
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
580
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/export/tree.ts)_
|
|
581
581
|
|
|
582
582
|
## `sf data get record`
|
|
583
583
|
|
|
@@ -641,7 +641,7 @@ EXAMPLES
|
|
|
641
641
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
642
642
|
```
|
|
643
643
|
|
|
644
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
644
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/get/record.ts)_
|
|
645
645
|
|
|
646
646
|
## `sf data import bulk`
|
|
647
647
|
|
|
@@ -693,7 +693,7 @@ EXAMPLES
|
|
|
693
693
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
694
694
|
```
|
|
695
695
|
|
|
696
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
696
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/import/bulk.ts)_
|
|
697
697
|
|
|
698
698
|
## `sf data import resume`
|
|
699
699
|
|
|
@@ -729,7 +729,7 @@ EXAMPLES
|
|
|
729
729
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
732
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/import/resume.ts)_
|
|
733
733
|
|
|
734
734
|
## `sf data import tree`
|
|
735
735
|
|
|
@@ -793,7 +793,7 @@ FLAG DESCRIPTIONS
|
|
|
793
793
|
- files(array) - Files: An array of files paths to load
|
|
794
794
|
```
|
|
795
795
|
|
|
796
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
796
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/import/tree.ts)_
|
|
797
797
|
|
|
798
798
|
## `sf data query`
|
|
799
799
|
|
|
@@ -846,7 +846,7 @@ EXAMPLES
|
|
|
846
846
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
847
847
|
```
|
|
848
848
|
|
|
849
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
849
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/query.ts)_
|
|
850
850
|
|
|
851
851
|
## `sf data resume`
|
|
852
852
|
|
|
@@ -883,7 +883,7 @@ EXAMPLES
|
|
|
883
883
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
884
884
|
```
|
|
885
885
|
|
|
886
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
886
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/resume.ts)_
|
|
887
887
|
|
|
888
888
|
## `sf data search`
|
|
889
889
|
|
|
@@ -933,7 +933,7 @@ EXAMPLES
|
|
|
933
933
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
934
934
|
```
|
|
935
935
|
|
|
936
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
936
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/search.ts)_
|
|
937
937
|
|
|
938
938
|
## `sf data update bulk`
|
|
939
939
|
|
|
@@ -988,7 +988,7 @@ EXAMPLES
|
|
|
988
988
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
989
989
|
```
|
|
990
990
|
|
|
991
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
991
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/update/bulk.ts)_
|
|
992
992
|
|
|
993
993
|
## `sf data update record`
|
|
994
994
|
|
|
@@ -1052,7 +1052,7 @@ EXAMPLES
|
|
|
1052
1052
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1053
1053
|
```
|
|
1054
1054
|
|
|
1055
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1055
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/update/record.ts)_
|
|
1056
1056
|
|
|
1057
1057
|
## `sf data update resume`
|
|
1058
1058
|
|
|
@@ -1091,7 +1091,7 @@ EXAMPLES
|
|
|
1091
1091
|
$ sf data update resume --use-most-recent
|
|
1092
1092
|
```
|
|
1093
1093
|
|
|
1094
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1094
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/update/resume.ts)_
|
|
1095
1095
|
|
|
1096
1096
|
## `sf data upsert bulk`
|
|
1097
1097
|
|
|
@@ -1147,7 +1147,7 @@ EXAMPLES
|
|
|
1147
1147
|
my-scratch
|
|
1148
1148
|
```
|
|
1149
1149
|
|
|
1150
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1150
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/upsert/bulk.ts)_
|
|
1151
1151
|
|
|
1152
1152
|
## `sf data upsert resume`
|
|
1153
1153
|
|
|
@@ -1186,7 +1186,7 @@ EXAMPLES
|
|
|
1186
1186
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1187
1187
|
```
|
|
1188
1188
|
|
|
1189
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1189
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/data/upsert/resume.ts)_
|
|
1190
1190
|
|
|
1191
1191
|
## `sf force data bulk delete`
|
|
1192
1192
|
|
|
@@ -1233,7 +1233,7 @@ EXAMPLES
|
|
|
1233
1233
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1234
1234
|
```
|
|
1235
1235
|
|
|
1236
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1236
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/force/data/bulk/delete.ts)_
|
|
1237
1237
|
|
|
1238
1238
|
## `sf force data bulk status`
|
|
1239
1239
|
|
|
@@ -1270,7 +1270,7 @@ EXAMPLES
|
|
|
1270
1270
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1271
1271
|
```
|
|
1272
1272
|
|
|
1273
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1273
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/force/data/bulk/status.ts)_
|
|
1274
1274
|
|
|
1275
1275
|
## `sf force data bulk upsert`
|
|
1276
1276
|
|
|
@@ -1328,6 +1328,6 @@ EXAMPLES
|
|
|
1328
1328
|
--target-org my-scratch
|
|
1329
1329
|
```
|
|
1330
1330
|
|
|
1331
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1331
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.4/src/commands/force/data/bulk/upsert.ts)_
|
|
1332
1332
|
|
|
1333
1333
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -478,6 +478,269 @@
|
|
|
478
478
|
"results:bulk:data"
|
|
479
479
|
]
|
|
480
480
|
},
|
|
481
|
+
"data:create:file": {
|
|
482
|
+
"aliases": [],
|
|
483
|
+
"args": {},
|
|
484
|
+
"description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
|
|
485
|
+
"examples": [
|
|
486
|
+
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
487
|
+
"Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
|
|
488
|
+
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
489
|
+
],
|
|
490
|
+
"flags": {
|
|
491
|
+
"json": {
|
|
492
|
+
"description": "Format output as json.",
|
|
493
|
+
"helpGroup": "GLOBAL",
|
|
494
|
+
"name": "json",
|
|
495
|
+
"allowNo": false,
|
|
496
|
+
"type": "boolean"
|
|
497
|
+
},
|
|
498
|
+
"flags-dir": {
|
|
499
|
+
"helpGroup": "GLOBAL",
|
|
500
|
+
"name": "flags-dir",
|
|
501
|
+
"summary": "Import flag values from a directory.",
|
|
502
|
+
"hasDynamicHelp": false,
|
|
503
|
+
"multiple": false,
|
|
504
|
+
"type": "option"
|
|
505
|
+
},
|
|
506
|
+
"target-org": {
|
|
507
|
+
"char": "o",
|
|
508
|
+
"name": "target-org",
|
|
509
|
+
"noCacheDefault": true,
|
|
510
|
+
"required": true,
|
|
511
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
512
|
+
"hasDynamicHelp": true,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
515
|
+
},
|
|
516
|
+
"api-version": {
|
|
517
|
+
"description": "Override the api version used for api requests made by this command",
|
|
518
|
+
"name": "api-version",
|
|
519
|
+
"hasDynamicHelp": false,
|
|
520
|
+
"multiple": false,
|
|
521
|
+
"type": "option"
|
|
522
|
+
},
|
|
523
|
+
"title": {
|
|
524
|
+
"char": "t",
|
|
525
|
+
"name": "title",
|
|
526
|
+
"required": false,
|
|
527
|
+
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
528
|
+
"hasDynamicHelp": false,
|
|
529
|
+
"multiple": false,
|
|
530
|
+
"type": "option"
|
|
531
|
+
},
|
|
532
|
+
"file": {
|
|
533
|
+
"char": "f",
|
|
534
|
+
"name": "file",
|
|
535
|
+
"required": true,
|
|
536
|
+
"summary": "Path of file to upload.",
|
|
537
|
+
"hasDynamicHelp": false,
|
|
538
|
+
"multiple": false,
|
|
539
|
+
"type": "option"
|
|
540
|
+
},
|
|
541
|
+
"parent-id": {
|
|
542
|
+
"char": "i",
|
|
543
|
+
"name": "parent-id",
|
|
544
|
+
"summary": "ID of the record to attach the file to.",
|
|
545
|
+
"hasDynamicHelp": false,
|
|
546
|
+
"multiple": false,
|
|
547
|
+
"type": "option"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"hasDynamicHelp": true,
|
|
551
|
+
"hiddenAliases": [],
|
|
552
|
+
"id": "data:create:file",
|
|
553
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
554
|
+
"pluginName": "@salesforce/plugin-data",
|
|
555
|
+
"pluginType": "core",
|
|
556
|
+
"strict": true,
|
|
557
|
+
"summary": "Upload a local file to an org.",
|
|
558
|
+
"enableJsonFlag": true,
|
|
559
|
+
"isESM": true,
|
|
560
|
+
"relativePath": [
|
|
561
|
+
"lib",
|
|
562
|
+
"commands",
|
|
563
|
+
"data",
|
|
564
|
+
"create",
|
|
565
|
+
"file.js"
|
|
566
|
+
],
|
|
567
|
+
"aliasPermutations": [],
|
|
568
|
+
"permutations": [
|
|
569
|
+
"data:create:file",
|
|
570
|
+
"create:data:file",
|
|
571
|
+
"create:file:data",
|
|
572
|
+
"data:file:create",
|
|
573
|
+
"file:data:create",
|
|
574
|
+
"file:create:data"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"data:create:record": {
|
|
578
|
+
"aliases": [
|
|
579
|
+
"force:data:record:create"
|
|
580
|
+
],
|
|
581
|
+
"args": {},
|
|
582
|
+
"deprecateAliases": true,
|
|
583
|
+
"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.",
|
|
584
|
+
"examples": [
|
|
585
|
+
"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\"",
|
|
586
|
+
"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",
|
|
587
|
+
"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\""
|
|
588
|
+
],
|
|
589
|
+
"flags": {
|
|
590
|
+
"json": {
|
|
591
|
+
"description": "Format output as json.",
|
|
592
|
+
"helpGroup": "GLOBAL",
|
|
593
|
+
"name": "json",
|
|
594
|
+
"allowNo": false,
|
|
595
|
+
"type": "boolean"
|
|
596
|
+
},
|
|
597
|
+
"flags-dir": {
|
|
598
|
+
"helpGroup": "GLOBAL",
|
|
599
|
+
"name": "flags-dir",
|
|
600
|
+
"summary": "Import flag values from a directory.",
|
|
601
|
+
"hasDynamicHelp": false,
|
|
602
|
+
"multiple": false,
|
|
603
|
+
"type": "option"
|
|
604
|
+
},
|
|
605
|
+
"target-org": {
|
|
606
|
+
"aliases": [
|
|
607
|
+
"targetusername",
|
|
608
|
+
"u"
|
|
609
|
+
],
|
|
610
|
+
"char": "o",
|
|
611
|
+
"deprecateAliases": true,
|
|
612
|
+
"name": "target-org",
|
|
613
|
+
"noCacheDefault": true,
|
|
614
|
+
"required": true,
|
|
615
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
616
|
+
"hasDynamicHelp": true,
|
|
617
|
+
"multiple": false,
|
|
618
|
+
"type": "option"
|
|
619
|
+
},
|
|
620
|
+
"api-version": {
|
|
621
|
+
"aliases": [
|
|
622
|
+
"apiversion"
|
|
623
|
+
],
|
|
624
|
+
"deprecateAliases": true,
|
|
625
|
+
"description": "Override the api version used for api requests made by this command",
|
|
626
|
+
"name": "api-version",
|
|
627
|
+
"hasDynamicHelp": false,
|
|
628
|
+
"multiple": false,
|
|
629
|
+
"type": "option"
|
|
630
|
+
},
|
|
631
|
+
"loglevel": {
|
|
632
|
+
"deprecated": {
|
|
633
|
+
"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 `SF_LOG_LEVEL` environment variable."
|
|
634
|
+
},
|
|
635
|
+
"hidden": true,
|
|
636
|
+
"name": "loglevel",
|
|
637
|
+
"hasDynamicHelp": false,
|
|
638
|
+
"multiple": false,
|
|
639
|
+
"type": "option"
|
|
640
|
+
},
|
|
641
|
+
"sobject": {
|
|
642
|
+
"aliases": [
|
|
643
|
+
"sobjecttype"
|
|
644
|
+
],
|
|
645
|
+
"char": "s",
|
|
646
|
+
"deprecateAliases": true,
|
|
647
|
+
"name": "sobject",
|
|
648
|
+
"required": true,
|
|
649
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
650
|
+
"hasDynamicHelp": false,
|
|
651
|
+
"multiple": false,
|
|
652
|
+
"type": "option"
|
|
653
|
+
},
|
|
654
|
+
"values": {
|
|
655
|
+
"char": "v",
|
|
656
|
+
"name": "values",
|
|
657
|
+
"required": true,
|
|
658
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"multiple": false,
|
|
661
|
+
"type": "option"
|
|
662
|
+
},
|
|
663
|
+
"use-tooling-api": {
|
|
664
|
+
"aliases": [
|
|
665
|
+
"usetoolingapi"
|
|
666
|
+
],
|
|
667
|
+
"char": "t",
|
|
668
|
+
"deprecateAliases": true,
|
|
669
|
+
"name": "use-tooling-api",
|
|
670
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
671
|
+
"allowNo": false,
|
|
672
|
+
"type": "boolean"
|
|
673
|
+
},
|
|
674
|
+
"perflog": {
|
|
675
|
+
"deprecated": {
|
|
676
|
+
"version": "57"
|
|
677
|
+
},
|
|
678
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
679
|
+
"hidden": true,
|
|
680
|
+
"name": "perflog",
|
|
681
|
+
"summary": "Get API performance data.",
|
|
682
|
+
"allowNo": false,
|
|
683
|
+
"type": "boolean"
|
|
684
|
+
},
|
|
685
|
+
"skip-assignment-rules": {
|
|
686
|
+
"name": "skip-assignment-rules",
|
|
687
|
+
"summary": "Don't apply active assignment rules when creating the record; applies to Account, Case, and Lead records.",
|
|
688
|
+
"allowNo": false,
|
|
689
|
+
"type": "boolean"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"hasDynamicHelp": true,
|
|
693
|
+
"hiddenAliases": [],
|
|
694
|
+
"id": "data:create:record",
|
|
695
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
696
|
+
"pluginName": "@salesforce/plugin-data",
|
|
697
|
+
"pluginType": "core",
|
|
698
|
+
"strict": true,
|
|
699
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
700
|
+
"enableJsonFlag": true,
|
|
701
|
+
"isESM": true,
|
|
702
|
+
"relativePath": [
|
|
703
|
+
"lib",
|
|
704
|
+
"commands",
|
|
705
|
+
"data",
|
|
706
|
+
"create",
|
|
707
|
+
"record.js"
|
|
708
|
+
],
|
|
709
|
+
"aliasPermutations": [
|
|
710
|
+
"force:data:record:create",
|
|
711
|
+
"data:force:record:create",
|
|
712
|
+
"data:record:force:create",
|
|
713
|
+
"data:record:create:force",
|
|
714
|
+
"force:record:data:create",
|
|
715
|
+
"record:force:data:create",
|
|
716
|
+
"record:data:force:create",
|
|
717
|
+
"record:data:create:force",
|
|
718
|
+
"force:record:create:data",
|
|
719
|
+
"record:force:create:data",
|
|
720
|
+
"record:create:force:data",
|
|
721
|
+
"record:create:data:force",
|
|
722
|
+
"force:data:create:record",
|
|
723
|
+
"data:force:create:record",
|
|
724
|
+
"data:create:force:record",
|
|
725
|
+
"data:create:record:force",
|
|
726
|
+
"force:create:data:record",
|
|
727
|
+
"create:force:data:record",
|
|
728
|
+
"create:data:force:record",
|
|
729
|
+
"create:data:record:force",
|
|
730
|
+
"force:create:record:data",
|
|
731
|
+
"create:force:record:data",
|
|
732
|
+
"create:record:force:data",
|
|
733
|
+
"create:record:data:force"
|
|
734
|
+
],
|
|
735
|
+
"permutations": [
|
|
736
|
+
"data:create:record",
|
|
737
|
+
"create:data:record",
|
|
738
|
+
"create:record:data",
|
|
739
|
+
"data:record:create",
|
|
740
|
+
"record:data:create",
|
|
741
|
+
"record:create:data"
|
|
742
|
+
]
|
|
743
|
+
},
|
|
481
744
|
"data:delete:bulk": {
|
|
482
745
|
"aliases": [],
|
|
483
746
|
"args": {},
|
|
@@ -863,195 +1126,7 @@
|
|
|
863
1126
|
"multiple": false,
|
|
864
1127
|
"type": "option"
|
|
865
1128
|
},
|
|
866
|
-
"api-version": {
|
|
867
|
-
"description": "Override the api version used for api requests made by this command",
|
|
868
|
-
"name": "api-version",
|
|
869
|
-
"hasDynamicHelp": false,
|
|
870
|
-
"multiple": false,
|
|
871
|
-
"type": "option"
|
|
872
|
-
},
|
|
873
|
-
"loglevel": {
|
|
874
|
-
"deprecated": {
|
|
875
|
-
"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 `SF_LOG_LEVEL` environment variable."
|
|
876
|
-
},
|
|
877
|
-
"hidden": true,
|
|
878
|
-
"name": "loglevel",
|
|
879
|
-
"hasDynamicHelp": false,
|
|
880
|
-
"multiple": false,
|
|
881
|
-
"type": "option"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
"hasDynamicHelp": true,
|
|
885
|
-
"hiddenAliases": [],
|
|
886
|
-
"id": "data:delete:resume",
|
|
887
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
888
|
-
"pluginName": "@salesforce/plugin-data",
|
|
889
|
-
"pluginType": "core",
|
|
890
|
-
"strict": true,
|
|
891
|
-
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
892
|
-
"enableJsonFlag": true,
|
|
893
|
-
"isESM": true,
|
|
894
|
-
"relativePath": [
|
|
895
|
-
"lib",
|
|
896
|
-
"commands",
|
|
897
|
-
"data",
|
|
898
|
-
"delete",
|
|
899
|
-
"resume.js"
|
|
900
|
-
],
|
|
901
|
-
"aliasPermutations": [],
|
|
902
|
-
"permutations": [
|
|
903
|
-
"data:delete:resume",
|
|
904
|
-
"delete:data:resume",
|
|
905
|
-
"delete:resume:data",
|
|
906
|
-
"data:resume:delete",
|
|
907
|
-
"resume:data:delete",
|
|
908
|
-
"resume:delete:data"
|
|
909
|
-
]
|
|
910
|
-
},
|
|
911
|
-
"data:create:file": {
|
|
912
|
-
"aliases": [],
|
|
913
|
-
"args": {},
|
|
914
|
-
"description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
|
|
915
|
-
"examples": [
|
|
916
|
-
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
917
|
-
"Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
|
|
918
|
-
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
919
|
-
],
|
|
920
|
-
"flags": {
|
|
921
|
-
"json": {
|
|
922
|
-
"description": "Format output as json.",
|
|
923
|
-
"helpGroup": "GLOBAL",
|
|
924
|
-
"name": "json",
|
|
925
|
-
"allowNo": false,
|
|
926
|
-
"type": "boolean"
|
|
927
|
-
},
|
|
928
|
-
"flags-dir": {
|
|
929
|
-
"helpGroup": "GLOBAL",
|
|
930
|
-
"name": "flags-dir",
|
|
931
|
-
"summary": "Import flag values from a directory.",
|
|
932
|
-
"hasDynamicHelp": false,
|
|
933
|
-
"multiple": false,
|
|
934
|
-
"type": "option"
|
|
935
|
-
},
|
|
936
|
-
"target-org": {
|
|
937
|
-
"char": "o",
|
|
938
|
-
"name": "target-org",
|
|
939
|
-
"noCacheDefault": true,
|
|
940
|
-
"required": true,
|
|
941
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
942
|
-
"hasDynamicHelp": true,
|
|
943
|
-
"multiple": false,
|
|
944
|
-
"type": "option"
|
|
945
|
-
},
|
|
946
|
-
"api-version": {
|
|
947
|
-
"description": "Override the api version used for api requests made by this command",
|
|
948
|
-
"name": "api-version",
|
|
949
|
-
"hasDynamicHelp": false,
|
|
950
|
-
"multiple": false,
|
|
951
|
-
"type": "option"
|
|
952
|
-
},
|
|
953
|
-
"title": {
|
|
954
|
-
"char": "t",
|
|
955
|
-
"name": "title",
|
|
956
|
-
"required": false,
|
|
957
|
-
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
958
|
-
"hasDynamicHelp": false,
|
|
959
|
-
"multiple": false,
|
|
960
|
-
"type": "option"
|
|
961
|
-
},
|
|
962
|
-
"file": {
|
|
963
|
-
"char": "f",
|
|
964
|
-
"name": "file",
|
|
965
|
-
"required": true,
|
|
966
|
-
"summary": "Path of file to upload.",
|
|
967
|
-
"hasDynamicHelp": false,
|
|
968
|
-
"multiple": false,
|
|
969
|
-
"type": "option"
|
|
970
|
-
},
|
|
971
|
-
"parent-id": {
|
|
972
|
-
"char": "i",
|
|
973
|
-
"name": "parent-id",
|
|
974
|
-
"summary": "ID of the record to attach the file to.",
|
|
975
|
-
"hasDynamicHelp": false,
|
|
976
|
-
"multiple": false,
|
|
977
|
-
"type": "option"
|
|
978
|
-
}
|
|
979
|
-
},
|
|
980
|
-
"hasDynamicHelp": true,
|
|
981
|
-
"hiddenAliases": [],
|
|
982
|
-
"id": "data:create:file",
|
|
983
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
984
|
-
"pluginName": "@salesforce/plugin-data",
|
|
985
|
-
"pluginType": "core",
|
|
986
|
-
"strict": true,
|
|
987
|
-
"summary": "Upload a local file to an org.",
|
|
988
|
-
"enableJsonFlag": true,
|
|
989
|
-
"isESM": true,
|
|
990
|
-
"relativePath": [
|
|
991
|
-
"lib",
|
|
992
|
-
"commands",
|
|
993
|
-
"data",
|
|
994
|
-
"create",
|
|
995
|
-
"file.js"
|
|
996
|
-
],
|
|
997
|
-
"aliasPermutations": [],
|
|
998
|
-
"permutations": [
|
|
999
|
-
"data:create:file",
|
|
1000
|
-
"create:data:file",
|
|
1001
|
-
"create:file:data",
|
|
1002
|
-
"data:file:create",
|
|
1003
|
-
"file:data:create",
|
|
1004
|
-
"file:create:data"
|
|
1005
|
-
]
|
|
1006
|
-
},
|
|
1007
|
-
"data:create:record": {
|
|
1008
|
-
"aliases": [
|
|
1009
|
-
"force:data:record:create"
|
|
1010
|
-
],
|
|
1011
|
-
"args": {},
|
|
1012
|
-
"deprecateAliases": true,
|
|
1013
|
-
"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.",
|
|
1014
|
-
"examples": [
|
|
1015
|
-
"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\"",
|
|
1016
|
-
"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",
|
|
1017
|
-
"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\""
|
|
1018
|
-
],
|
|
1019
|
-
"flags": {
|
|
1020
|
-
"json": {
|
|
1021
|
-
"description": "Format output as json.",
|
|
1022
|
-
"helpGroup": "GLOBAL",
|
|
1023
|
-
"name": "json",
|
|
1024
|
-
"allowNo": false,
|
|
1025
|
-
"type": "boolean"
|
|
1026
|
-
},
|
|
1027
|
-
"flags-dir": {
|
|
1028
|
-
"helpGroup": "GLOBAL",
|
|
1029
|
-
"name": "flags-dir",
|
|
1030
|
-
"summary": "Import flag values from a directory.",
|
|
1031
|
-
"hasDynamicHelp": false,
|
|
1032
|
-
"multiple": false,
|
|
1033
|
-
"type": "option"
|
|
1034
|
-
},
|
|
1035
|
-
"target-org": {
|
|
1036
|
-
"aliases": [
|
|
1037
|
-
"targetusername",
|
|
1038
|
-
"u"
|
|
1039
|
-
],
|
|
1040
|
-
"char": "o",
|
|
1041
|
-
"deprecateAliases": true,
|
|
1042
|
-
"name": "target-org",
|
|
1043
|
-
"noCacheDefault": true,
|
|
1044
|
-
"required": true,
|
|
1045
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1046
|
-
"hasDynamicHelp": true,
|
|
1047
|
-
"multiple": false,
|
|
1048
|
-
"type": "option"
|
|
1049
|
-
},
|
|
1050
|
-
"api-version": {
|
|
1051
|
-
"aliases": [
|
|
1052
|
-
"apiversion"
|
|
1053
|
-
],
|
|
1054
|
-
"deprecateAliases": true,
|
|
1129
|
+
"api-version": {
|
|
1055
1130
|
"description": "Override the api version used for api requests made by this command",
|
|
1056
1131
|
"name": "api-version",
|
|
1057
1132
|
"hasDynamicHelp": false,
|
|
@@ -1067,108 +1142,33 @@
|
|
|
1067
1142
|
"hasDynamicHelp": false,
|
|
1068
1143
|
"multiple": false,
|
|
1069
1144
|
"type": "option"
|
|
1070
|
-
},
|
|
1071
|
-
"sobject": {
|
|
1072
|
-
"aliases": [
|
|
1073
|
-
"sobjecttype"
|
|
1074
|
-
],
|
|
1075
|
-
"char": "s",
|
|
1076
|
-
"deprecateAliases": true,
|
|
1077
|
-
"name": "sobject",
|
|
1078
|
-
"required": true,
|
|
1079
|
-
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
1080
|
-
"hasDynamicHelp": false,
|
|
1081
|
-
"multiple": false,
|
|
1082
|
-
"type": "option"
|
|
1083
|
-
},
|
|
1084
|
-
"values": {
|
|
1085
|
-
"char": "v",
|
|
1086
|
-
"name": "values",
|
|
1087
|
-
"required": true,
|
|
1088
|
-
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
1089
|
-
"hasDynamicHelp": false,
|
|
1090
|
-
"multiple": false,
|
|
1091
|
-
"type": "option"
|
|
1092
|
-
},
|
|
1093
|
-
"use-tooling-api": {
|
|
1094
|
-
"aliases": [
|
|
1095
|
-
"usetoolingapi"
|
|
1096
|
-
],
|
|
1097
|
-
"char": "t",
|
|
1098
|
-
"deprecateAliases": true,
|
|
1099
|
-
"name": "use-tooling-api",
|
|
1100
|
-
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
1101
|
-
"allowNo": false,
|
|
1102
|
-
"type": "boolean"
|
|
1103
|
-
},
|
|
1104
|
-
"perflog": {
|
|
1105
|
-
"deprecated": {
|
|
1106
|
-
"version": "57"
|
|
1107
|
-
},
|
|
1108
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1109
|
-
"hidden": true,
|
|
1110
|
-
"name": "perflog",
|
|
1111
|
-
"summary": "Get API performance data.",
|
|
1112
|
-
"allowNo": false,
|
|
1113
|
-
"type": "boolean"
|
|
1114
|
-
},
|
|
1115
|
-
"skip-assignment-rules": {
|
|
1116
|
-
"name": "skip-assignment-rules",
|
|
1117
|
-
"summary": "Don't apply active assignment rules when creating the record; applies to Account, Case, and Lead records.",
|
|
1118
|
-
"allowNo": false,
|
|
1119
|
-
"type": "boolean"
|
|
1120
1145
|
}
|
|
1121
1146
|
},
|
|
1122
1147
|
"hasDynamicHelp": true,
|
|
1123
1148
|
"hiddenAliases": [],
|
|
1124
|
-
"id": "data:
|
|
1149
|
+
"id": "data:delete:resume",
|
|
1125
1150
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1126
1151
|
"pluginName": "@salesforce/plugin-data",
|
|
1127
1152
|
"pluginType": "core",
|
|
1128
1153
|
"strict": true,
|
|
1129
|
-
"summary": "
|
|
1154
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
1130
1155
|
"enableJsonFlag": true,
|
|
1131
1156
|
"isESM": true,
|
|
1132
1157
|
"relativePath": [
|
|
1133
1158
|
"lib",
|
|
1134
1159
|
"commands",
|
|
1135
1160
|
"data",
|
|
1136
|
-
"
|
|
1137
|
-
"
|
|
1138
|
-
],
|
|
1139
|
-
"aliasPermutations": [
|
|
1140
|
-
"force:data:record:create",
|
|
1141
|
-
"data:force:record:create",
|
|
1142
|
-
"data:record:force:create",
|
|
1143
|
-
"data:record:create:force",
|
|
1144
|
-
"force:record:data:create",
|
|
1145
|
-
"record:force:data:create",
|
|
1146
|
-
"record:data:force:create",
|
|
1147
|
-
"record:data:create:force",
|
|
1148
|
-
"force:record:create:data",
|
|
1149
|
-
"record:force:create:data",
|
|
1150
|
-
"record:create:force:data",
|
|
1151
|
-
"record:create:data:force",
|
|
1152
|
-
"force:data:create:record",
|
|
1153
|
-
"data:force:create:record",
|
|
1154
|
-
"data:create:force:record",
|
|
1155
|
-
"data:create:record:force",
|
|
1156
|
-
"force:create:data:record",
|
|
1157
|
-
"create:force:data:record",
|
|
1158
|
-
"create:data:force:record",
|
|
1159
|
-
"create:data:record:force",
|
|
1160
|
-
"force:create:record:data",
|
|
1161
|
-
"create:force:record:data",
|
|
1162
|
-
"create:record:force:data",
|
|
1163
|
-
"create:record:data:force"
|
|
1161
|
+
"delete",
|
|
1162
|
+
"resume.js"
|
|
1164
1163
|
],
|
|
1164
|
+
"aliasPermutations": [],
|
|
1165
1165
|
"permutations": [
|
|
1166
|
-
"data:
|
|
1167
|
-
"
|
|
1168
|
-
"
|
|
1169
|
-
"data:
|
|
1170
|
-
"
|
|
1171
|
-
"
|
|
1166
|
+
"data:delete:resume",
|
|
1167
|
+
"delete:data:resume",
|
|
1168
|
+
"delete:resume:data",
|
|
1169
|
+
"data:resume:delete",
|
|
1170
|
+
"resume:data:delete",
|
|
1171
|
+
"resume:delete:data"
|
|
1172
1172
|
]
|
|
1173
1173
|
},
|
|
1174
1174
|
"data:export:bulk": {
|
|
@@ -1520,54 +1520,227 @@
|
|
|
1520
1520
|
},
|
|
1521
1521
|
"hasDynamicHelp": true,
|
|
1522
1522
|
"hiddenAliases": [],
|
|
1523
|
-
"id": "data:export:tree",
|
|
1523
|
+
"id": "data:export:tree",
|
|
1524
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1525
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1526
|
+
"pluginType": "core",
|
|
1527
|
+
"strict": true,
|
|
1528
|
+
"summary": "Export data from an org into one or more JSON files.",
|
|
1529
|
+
"enableJsonFlag": true,
|
|
1530
|
+
"isESM": true,
|
|
1531
|
+
"relativePath": [
|
|
1532
|
+
"lib",
|
|
1533
|
+
"commands",
|
|
1534
|
+
"data",
|
|
1535
|
+
"export",
|
|
1536
|
+
"tree.js"
|
|
1537
|
+
],
|
|
1538
|
+
"aliasPermutations": [
|
|
1539
|
+
"force:data:tree:export",
|
|
1540
|
+
"data:force:tree:export",
|
|
1541
|
+
"data:tree:force:export",
|
|
1542
|
+
"data:tree:export:force",
|
|
1543
|
+
"force:tree:data:export",
|
|
1544
|
+
"tree:force:data:export",
|
|
1545
|
+
"tree:data:force:export",
|
|
1546
|
+
"tree:data:export:force",
|
|
1547
|
+
"force:tree:export:data",
|
|
1548
|
+
"tree:force:export:data",
|
|
1549
|
+
"tree:export:force:data",
|
|
1550
|
+
"tree:export:data:force",
|
|
1551
|
+
"force:data:export:tree",
|
|
1552
|
+
"data:force:export:tree",
|
|
1553
|
+
"data:export:force:tree",
|
|
1554
|
+
"data:export:tree:force",
|
|
1555
|
+
"force:export:data:tree",
|
|
1556
|
+
"export:force:data:tree",
|
|
1557
|
+
"export:data:force:tree",
|
|
1558
|
+
"export:data:tree:force",
|
|
1559
|
+
"force:export:tree:data",
|
|
1560
|
+
"export:force:tree:data",
|
|
1561
|
+
"export:tree:force:data",
|
|
1562
|
+
"export:tree:data:force"
|
|
1563
|
+
],
|
|
1564
|
+
"permutations": [
|
|
1565
|
+
"data:export:tree",
|
|
1566
|
+
"export:data:tree",
|
|
1567
|
+
"export:tree:data",
|
|
1568
|
+
"data:tree:export",
|
|
1569
|
+
"tree:data:export",
|
|
1570
|
+
"tree:export:data"
|
|
1571
|
+
]
|
|
1572
|
+
},
|
|
1573
|
+
"data:get:record": {
|
|
1574
|
+
"aliases": [
|
|
1575
|
+
"force:data:record:get"
|
|
1576
|
+
],
|
|
1577
|
+
"args": {},
|
|
1578
|
+
"deprecateAliases": true,
|
|
1579
|
+
"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.",
|
|
1580
|
+
"examples": [
|
|
1581
|
+
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1582
|
+
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1583
|
+
"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",
|
|
1584
|
+
"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"
|
|
1585
|
+
],
|
|
1586
|
+
"flags": {
|
|
1587
|
+
"json": {
|
|
1588
|
+
"description": "Format output as json.",
|
|
1589
|
+
"helpGroup": "GLOBAL",
|
|
1590
|
+
"name": "json",
|
|
1591
|
+
"allowNo": false,
|
|
1592
|
+
"type": "boolean"
|
|
1593
|
+
},
|
|
1594
|
+
"flags-dir": {
|
|
1595
|
+
"helpGroup": "GLOBAL",
|
|
1596
|
+
"name": "flags-dir",
|
|
1597
|
+
"summary": "Import flag values from a directory.",
|
|
1598
|
+
"hasDynamicHelp": false,
|
|
1599
|
+
"multiple": false,
|
|
1600
|
+
"type": "option"
|
|
1601
|
+
},
|
|
1602
|
+
"target-org": {
|
|
1603
|
+
"aliases": [
|
|
1604
|
+
"targetusername",
|
|
1605
|
+
"u"
|
|
1606
|
+
],
|
|
1607
|
+
"char": "o",
|
|
1608
|
+
"deprecateAliases": true,
|
|
1609
|
+
"name": "target-org",
|
|
1610
|
+
"noCacheDefault": true,
|
|
1611
|
+
"required": true,
|
|
1612
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1613
|
+
"hasDynamicHelp": true,
|
|
1614
|
+
"multiple": false,
|
|
1615
|
+
"type": "option"
|
|
1616
|
+
},
|
|
1617
|
+
"api-version": {
|
|
1618
|
+
"aliases": [
|
|
1619
|
+
"apiversion"
|
|
1620
|
+
],
|
|
1621
|
+
"deprecateAliases": true,
|
|
1622
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1623
|
+
"name": "api-version",
|
|
1624
|
+
"hasDynamicHelp": false,
|
|
1625
|
+
"multiple": false,
|
|
1626
|
+
"type": "option"
|
|
1627
|
+
},
|
|
1628
|
+
"loglevel": {
|
|
1629
|
+
"deprecated": {
|
|
1630
|
+
"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 `SF_LOG_LEVEL` environment variable."
|
|
1631
|
+
},
|
|
1632
|
+
"hidden": true,
|
|
1633
|
+
"name": "loglevel",
|
|
1634
|
+
"hasDynamicHelp": false,
|
|
1635
|
+
"multiple": false,
|
|
1636
|
+
"type": "option"
|
|
1637
|
+
},
|
|
1638
|
+
"sobject": {
|
|
1639
|
+
"aliases": [
|
|
1640
|
+
"sobjecttype"
|
|
1641
|
+
],
|
|
1642
|
+
"char": "s",
|
|
1643
|
+
"deprecateAliases": true,
|
|
1644
|
+
"name": "sobject",
|
|
1645
|
+
"required": true,
|
|
1646
|
+
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1647
|
+
"hasDynamicHelp": false,
|
|
1648
|
+
"multiple": false,
|
|
1649
|
+
"type": "option"
|
|
1650
|
+
},
|
|
1651
|
+
"record-id": {
|
|
1652
|
+
"aliases": [
|
|
1653
|
+
"sobjectid"
|
|
1654
|
+
],
|
|
1655
|
+
"char": "i",
|
|
1656
|
+
"deprecateAliases": true,
|
|
1657
|
+
"name": "record-id",
|
|
1658
|
+
"summary": "ID of the record you’re retrieving.",
|
|
1659
|
+
"hasDynamicHelp": false,
|
|
1660
|
+
"multiple": false,
|
|
1661
|
+
"type": "option"
|
|
1662
|
+
},
|
|
1663
|
+
"where": {
|
|
1664
|
+
"char": "w",
|
|
1665
|
+
"name": "where",
|
|
1666
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
1667
|
+
"hasDynamicHelp": false,
|
|
1668
|
+
"multiple": false,
|
|
1669
|
+
"type": "option"
|
|
1670
|
+
},
|
|
1671
|
+
"use-tooling-api": {
|
|
1672
|
+
"aliases": [
|
|
1673
|
+
"usetoolingapi"
|
|
1674
|
+
],
|
|
1675
|
+
"char": "t",
|
|
1676
|
+
"deprecateAliases": true,
|
|
1677
|
+
"name": "use-tooling-api",
|
|
1678
|
+
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
1679
|
+
"allowNo": false,
|
|
1680
|
+
"type": "boolean"
|
|
1681
|
+
},
|
|
1682
|
+
"perflog": {
|
|
1683
|
+
"deprecated": {
|
|
1684
|
+
"version": "57"
|
|
1685
|
+
},
|
|
1686
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1687
|
+
"hidden": true,
|
|
1688
|
+
"name": "perflog",
|
|
1689
|
+
"summary": "Get API performance data.",
|
|
1690
|
+
"allowNo": false,
|
|
1691
|
+
"type": "boolean"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"hasDynamicHelp": true,
|
|
1695
|
+
"hiddenAliases": [],
|
|
1696
|
+
"id": "data:get:record",
|
|
1524
1697
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1525
1698
|
"pluginName": "@salesforce/plugin-data",
|
|
1526
1699
|
"pluginType": "core",
|
|
1527
1700
|
"strict": true,
|
|
1528
|
-
"summary": "
|
|
1701
|
+
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
1529
1702
|
"enableJsonFlag": true,
|
|
1530
1703
|
"isESM": true,
|
|
1531
1704
|
"relativePath": [
|
|
1532
1705
|
"lib",
|
|
1533
1706
|
"commands",
|
|
1534
1707
|
"data",
|
|
1535
|
-
"
|
|
1536
|
-
"
|
|
1708
|
+
"get",
|
|
1709
|
+
"record.js"
|
|
1537
1710
|
],
|
|
1538
1711
|
"aliasPermutations": [
|
|
1539
|
-
"force:data:
|
|
1540
|
-
"data:force:
|
|
1541
|
-
"data:
|
|
1542
|
-
"data:
|
|
1543
|
-
"force:
|
|
1544
|
-
"
|
|
1545
|
-
"
|
|
1546
|
-
"
|
|
1547
|
-
"force:
|
|
1548
|
-
"
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1551
|
-
"force:data:
|
|
1552
|
-
"data:force:
|
|
1553
|
-
"data:
|
|
1554
|
-
"data:
|
|
1555
|
-
"force:
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1559
|
-
"force:
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1562
|
-
"
|
|
1712
|
+
"force:data:record:get",
|
|
1713
|
+
"data:force:record:get",
|
|
1714
|
+
"data:record:force:get",
|
|
1715
|
+
"data:record:get:force",
|
|
1716
|
+
"force:record:data:get",
|
|
1717
|
+
"record:force:data:get",
|
|
1718
|
+
"record:data:force:get",
|
|
1719
|
+
"record:data:get:force",
|
|
1720
|
+
"force:record:get:data",
|
|
1721
|
+
"record:force:get:data",
|
|
1722
|
+
"record:get:force:data",
|
|
1723
|
+
"record:get:data:force",
|
|
1724
|
+
"force:data:get:record",
|
|
1725
|
+
"data:force:get:record",
|
|
1726
|
+
"data:get:force:record",
|
|
1727
|
+
"data:get:record:force",
|
|
1728
|
+
"force:get:data:record",
|
|
1729
|
+
"get:force:data:record",
|
|
1730
|
+
"get:data:force:record",
|
|
1731
|
+
"get:data:record:force",
|
|
1732
|
+
"force:get:record:data",
|
|
1733
|
+
"get:force:record:data",
|
|
1734
|
+
"get:record:force:data",
|
|
1735
|
+
"get:record:data:force"
|
|
1563
1736
|
],
|
|
1564
1737
|
"permutations": [
|
|
1565
|
-
"data:
|
|
1566
|
-
"
|
|
1567
|
-
"
|
|
1568
|
-
"data:
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
1738
|
+
"data:get:record",
|
|
1739
|
+
"get:data:record",
|
|
1740
|
+
"get:record:data",
|
|
1741
|
+
"data:record:get",
|
|
1742
|
+
"record:data:get",
|
|
1743
|
+
"record:get:data"
|
|
1571
1744
|
]
|
|
1572
1745
|
},
|
|
1573
1746
|
"data:import:bulk": {
|
|
@@ -1906,179 +2079,6 @@
|
|
|
1906
2079
|
"tree:import:data"
|
|
1907
2080
|
]
|
|
1908
2081
|
},
|
|
1909
|
-
"data:get:record": {
|
|
1910
|
-
"aliases": [
|
|
1911
|
-
"force:data:record:get"
|
|
1912
|
-
],
|
|
1913
|
-
"args": {},
|
|
1914
|
-
"deprecateAliases": true,
|
|
1915
|
-
"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.",
|
|
1916
|
-
"examples": [
|
|
1917
|
-
"Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
1918
|
-
"Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
1919
|
-
"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",
|
|
1920
|
-
"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"
|
|
1921
|
-
],
|
|
1922
|
-
"flags": {
|
|
1923
|
-
"json": {
|
|
1924
|
-
"description": "Format output as json.",
|
|
1925
|
-
"helpGroup": "GLOBAL",
|
|
1926
|
-
"name": "json",
|
|
1927
|
-
"allowNo": false,
|
|
1928
|
-
"type": "boolean"
|
|
1929
|
-
},
|
|
1930
|
-
"flags-dir": {
|
|
1931
|
-
"helpGroup": "GLOBAL",
|
|
1932
|
-
"name": "flags-dir",
|
|
1933
|
-
"summary": "Import flag values from a directory.",
|
|
1934
|
-
"hasDynamicHelp": false,
|
|
1935
|
-
"multiple": false,
|
|
1936
|
-
"type": "option"
|
|
1937
|
-
},
|
|
1938
|
-
"target-org": {
|
|
1939
|
-
"aliases": [
|
|
1940
|
-
"targetusername",
|
|
1941
|
-
"u"
|
|
1942
|
-
],
|
|
1943
|
-
"char": "o",
|
|
1944
|
-
"deprecateAliases": true,
|
|
1945
|
-
"name": "target-org",
|
|
1946
|
-
"noCacheDefault": true,
|
|
1947
|
-
"required": true,
|
|
1948
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1949
|
-
"hasDynamicHelp": true,
|
|
1950
|
-
"multiple": false,
|
|
1951
|
-
"type": "option"
|
|
1952
|
-
},
|
|
1953
|
-
"api-version": {
|
|
1954
|
-
"aliases": [
|
|
1955
|
-
"apiversion"
|
|
1956
|
-
],
|
|
1957
|
-
"deprecateAliases": true,
|
|
1958
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1959
|
-
"name": "api-version",
|
|
1960
|
-
"hasDynamicHelp": false,
|
|
1961
|
-
"multiple": false,
|
|
1962
|
-
"type": "option"
|
|
1963
|
-
},
|
|
1964
|
-
"loglevel": {
|
|
1965
|
-
"deprecated": {
|
|
1966
|
-
"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 `SF_LOG_LEVEL` environment variable."
|
|
1967
|
-
},
|
|
1968
|
-
"hidden": true,
|
|
1969
|
-
"name": "loglevel",
|
|
1970
|
-
"hasDynamicHelp": false,
|
|
1971
|
-
"multiple": false,
|
|
1972
|
-
"type": "option"
|
|
1973
|
-
},
|
|
1974
|
-
"sobject": {
|
|
1975
|
-
"aliases": [
|
|
1976
|
-
"sobjecttype"
|
|
1977
|
-
],
|
|
1978
|
-
"char": "s",
|
|
1979
|
-
"deprecateAliases": true,
|
|
1980
|
-
"name": "sobject",
|
|
1981
|
-
"required": true,
|
|
1982
|
-
"summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
|
|
1983
|
-
"hasDynamicHelp": false,
|
|
1984
|
-
"multiple": false,
|
|
1985
|
-
"type": "option"
|
|
1986
|
-
},
|
|
1987
|
-
"record-id": {
|
|
1988
|
-
"aliases": [
|
|
1989
|
-
"sobjectid"
|
|
1990
|
-
],
|
|
1991
|
-
"char": "i",
|
|
1992
|
-
"deprecateAliases": true,
|
|
1993
|
-
"name": "record-id",
|
|
1994
|
-
"summary": "ID of the record you’re retrieving.",
|
|
1995
|
-
"hasDynamicHelp": false,
|
|
1996
|
-
"multiple": false,
|
|
1997
|
-
"type": "option"
|
|
1998
|
-
},
|
|
1999
|
-
"where": {
|
|
2000
|
-
"char": "w",
|
|
2001
|
-
"name": "where",
|
|
2002
|
-
"summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
|
|
2003
|
-
"hasDynamicHelp": false,
|
|
2004
|
-
"multiple": false,
|
|
2005
|
-
"type": "option"
|
|
2006
|
-
},
|
|
2007
|
-
"use-tooling-api": {
|
|
2008
|
-
"aliases": [
|
|
2009
|
-
"usetoolingapi"
|
|
2010
|
-
],
|
|
2011
|
-
"char": "t",
|
|
2012
|
-
"deprecateAliases": true,
|
|
2013
|
-
"name": "use-tooling-api",
|
|
2014
|
-
"summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
|
|
2015
|
-
"allowNo": false,
|
|
2016
|
-
"type": "boolean"
|
|
2017
|
-
},
|
|
2018
|
-
"perflog": {
|
|
2019
|
-
"deprecated": {
|
|
2020
|
-
"version": "57"
|
|
2021
|
-
},
|
|
2022
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
2023
|
-
"hidden": true,
|
|
2024
|
-
"name": "perflog",
|
|
2025
|
-
"summary": "Get API performance data.",
|
|
2026
|
-
"allowNo": false,
|
|
2027
|
-
"type": "boolean"
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
"hasDynamicHelp": true,
|
|
2031
|
-
"hiddenAliases": [],
|
|
2032
|
-
"id": "data:get:record",
|
|
2033
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
2034
|
-
"pluginName": "@salesforce/plugin-data",
|
|
2035
|
-
"pluginType": "core",
|
|
2036
|
-
"strict": true,
|
|
2037
|
-
"summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
|
|
2038
|
-
"enableJsonFlag": true,
|
|
2039
|
-
"isESM": true,
|
|
2040
|
-
"relativePath": [
|
|
2041
|
-
"lib",
|
|
2042
|
-
"commands",
|
|
2043
|
-
"data",
|
|
2044
|
-
"get",
|
|
2045
|
-
"record.js"
|
|
2046
|
-
],
|
|
2047
|
-
"aliasPermutations": [
|
|
2048
|
-
"force:data:record:get",
|
|
2049
|
-
"data:force:record:get",
|
|
2050
|
-
"data:record:force:get",
|
|
2051
|
-
"data:record:get:force",
|
|
2052
|
-
"force:record:data:get",
|
|
2053
|
-
"record:force:data:get",
|
|
2054
|
-
"record:data:force:get",
|
|
2055
|
-
"record:data:get:force",
|
|
2056
|
-
"force:record:get:data",
|
|
2057
|
-
"record:force:get:data",
|
|
2058
|
-
"record:get:force:data",
|
|
2059
|
-
"record:get:data:force",
|
|
2060
|
-
"force:data:get:record",
|
|
2061
|
-
"data:force:get:record",
|
|
2062
|
-
"data:get:force:record",
|
|
2063
|
-
"data:get:record:force",
|
|
2064
|
-
"force:get:data:record",
|
|
2065
|
-
"get:force:data:record",
|
|
2066
|
-
"get:data:force:record",
|
|
2067
|
-
"get:data:record:force",
|
|
2068
|
-
"force:get:record:data",
|
|
2069
|
-
"get:force:record:data",
|
|
2070
|
-
"get:record:force:data",
|
|
2071
|
-
"get:record:data:force"
|
|
2072
|
-
],
|
|
2073
|
-
"permutations": [
|
|
2074
|
-
"data:get:record",
|
|
2075
|
-
"get:data:record",
|
|
2076
|
-
"get:record:data",
|
|
2077
|
-
"data:record:get",
|
|
2078
|
-
"record:data:get",
|
|
2079
|
-
"record:get:data"
|
|
2080
|
-
]
|
|
2081
|
-
},
|
|
2082
2082
|
"data:update:bulk": {
|
|
2083
2083
|
"aliases": [],
|
|
2084
2084
|
"args": {},
|
|
@@ -3178,5 +3178,5 @@
|
|
|
3178
3178
|
]
|
|
3179
3179
|
}
|
|
3180
3180
|
},
|
|
3181
|
-
"version": "5.1.
|
|
3181
|
+
"version": "5.1.4"
|
|
3182
3182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@jsforce/jsforce-node": "^3.10.15",
|
|
127
127
|
"@oclif/multi-stage-output": "^0.8.44",
|
|
128
|
-
"@salesforce/core": "^9.1.
|
|
128
|
+
"@salesforce/core": "^9.1.2",
|
|
129
129
|
"@salesforce/kit": "^4.0.0",
|
|
130
130
|
"@salesforce/sf-plugins-core": "^13.0.0",
|
|
131
131
|
"@salesforce/ts-types": "^3.0.1",
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"exports": "./lib/index.js",
|
|
282
282
|
"type": "module",
|
|
283
283
|
"sfdx": {
|
|
284
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.
|
|
285
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.
|
|
284
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.4.crt",
|
|
285
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.4.sig"
|
|
286
286
|
}
|
|
287
287
|
}
|