@salesforce/cli 2.103.4 → 2.103.5
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 +53 -135
- package/npm-shrinkwrap.json +14 -14
- package/oclif.lock +13 -13
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.103.
|
|
28
|
+
@salesforce/cli/2.103.5 linux-x64 node-v22.18.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -126,7 +126,6 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
|
|
|
126
126
|
- [`sf org list sobject record-counts`](#sf-org-list-sobject-record-counts)
|
|
127
127
|
- [`sf org list users`](#sf-org-list-users)
|
|
128
128
|
- [`sf org login access-token`](#sf-org-login-access-token)
|
|
129
|
-
- [`sf org login device`](#sf-org-login-device)
|
|
130
129
|
- [`sf org login jwt`](#sf-org-login-jwt)
|
|
131
130
|
- [`sf org login sfdx-url`](#sf-org-login-sfdx-url)
|
|
132
131
|
- [`sf org login web`](#sf-org-login-web)
|
|
@@ -2046,7 +2045,7 @@ EXAMPLES
|
|
|
2046
2045
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
2047
2046
|
```
|
|
2048
2047
|
|
|
2049
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2048
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/bulk/results.ts)_
|
|
2050
2049
|
|
|
2051
2050
|
## `sf data create file`
|
|
2052
2051
|
|
|
@@ -2095,7 +2094,7 @@ EXAMPLES
|
|
|
2095
2094
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
2096
2095
|
```
|
|
2097
2096
|
|
|
2098
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2097
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/create/file.ts)_
|
|
2099
2098
|
|
|
2100
2099
|
## `sf data create record`
|
|
2101
2100
|
|
|
@@ -2151,7 +2150,7 @@ EXAMPLES
|
|
|
2151
2150
|
TracedEntityId=01p17000000R6bLAAS"
|
|
2152
2151
|
```
|
|
2153
2152
|
|
|
2154
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2153
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/create/record.ts)_
|
|
2155
2154
|
|
|
2156
2155
|
## `sf data delete bulk`
|
|
2157
2156
|
|
|
@@ -2159,11 +2158,10 @@ Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.
|
|
|
2159
2158
|
|
|
2160
2159
|
```
|
|
2161
2160
|
USAGE
|
|
2162
|
-
$ sf data delete bulk -o <value> -s <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>
|
|
2161
|
+
$ sf data delete bulk -o <value> -s <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
|
|
2163
2162
|
(--line-ending CRLF|LF -f <value>) [--hard-delete]
|
|
2164
2163
|
|
|
2165
2164
|
FLAGS
|
|
2166
|
-
-a, --async Run the command asynchronously.
|
|
2167
2165
|
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
2168
2166
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
2169
2167
|
configuration variable is already set.
|
|
@@ -2211,7 +2209,7 @@ FLAG DESCRIPTIONS
|
|
|
2211
2209
|
and can be enabled only by a system administrator.
|
|
2212
2210
|
```
|
|
2213
2211
|
|
|
2214
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2212
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/delete/bulk.ts)_
|
|
2215
2213
|
|
|
2216
2214
|
## `sf data delete record`
|
|
2217
2215
|
|
|
@@ -2272,7 +2270,7 @@ EXAMPLES
|
|
|
2272
2270
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
2273
2271
|
```
|
|
2274
2272
|
|
|
2275
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2273
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/delete/record.ts)_
|
|
2276
2274
|
|
|
2277
2275
|
## `sf data delete resume`
|
|
2278
2276
|
|
|
@@ -2311,7 +2309,7 @@ EXAMPLES
|
|
|
2311
2309
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
2312
2310
|
```
|
|
2313
2311
|
|
|
2314
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2312
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/delete/resume.ts)_
|
|
2315
2313
|
|
|
2316
2314
|
## `sf data export bulk`
|
|
2317
2315
|
|
|
@@ -2320,7 +2318,7 @@ Bulk export records from an org into a file using a SOQL query. Uses Bulk API 2.
|
|
|
2320
2318
|
```
|
|
2321
2319
|
USAGE
|
|
2322
2320
|
$ sf data export bulk -o <value> --output-file <value> -r csv|json [--json] [--flags-dir <value>] [--api-version
|
|
2323
|
-
<value>] [-w <minutes>
|
|
2321
|
+
<value>] [-w <minutes>] [-q <value> | --query-file <value>] [--all-rows] [--column-delimiter
|
|
2324
2322
|
BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB] [--line-ending LF|CRLF]
|
|
2325
2323
|
|
|
2326
2324
|
FLAGS
|
|
@@ -2333,7 +2331,6 @@ FLAGS
|
|
|
2333
2331
|
--all-rows Include records that have been soft-deleted due to a merge or delete. By default,
|
|
2334
2332
|
deleted records are not returned.
|
|
2335
2333
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
2336
|
-
--async Don't wait for the job to complete.
|
|
2337
2334
|
--column-delimiter=<option> Column delimiter to be used when writing CSV output. Default is COMMA.
|
|
2338
2335
|
<options: BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB>
|
|
2339
2336
|
--line-ending=<option> Line ending to be used when writing CSV output. Default value on Windows is is
|
|
@@ -2357,8 +2354,8 @@ DESCRIPTION
|
|
|
2357
2354
|
JSON format.
|
|
2358
2355
|
|
|
2359
2356
|
Bulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out,
|
|
2360
|
-
|
|
2361
|
-
|
|
2357
|
+
the command displays the job ID. To see the status and get the results of the job, run "sf data export resume" and
|
|
2358
|
+
pass the job ID to the --job-id flag.
|
|
2362
2359
|
|
|
2363
2360
|
IMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries you can run. For example, you can't
|
|
2364
2361
|
use aggregate functions such as count(). For the complete list of limitations, see the "SOQL Considerations" section
|
|
@@ -2377,15 +2374,9 @@ EXAMPLES
|
|
|
2377
2374
|
|
|
2378
2375
|
$ sf data export bulk --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json \
|
|
2379
2376
|
--result-format json --wait 10 --all-rows
|
|
2380
|
-
|
|
2381
|
-
Export asynchronously; the command immediately returns a job ID that you then pass to the "sf data export resume"
|
|
2382
|
-
command:
|
|
2383
|
-
|
|
2384
|
-
$ sf data export bulk --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json \
|
|
2385
|
-
--result-format json --async
|
|
2386
2377
|
```
|
|
2387
2378
|
|
|
2388
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2379
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/export/bulk.ts)_
|
|
2389
2380
|
|
|
2390
2381
|
## `sf data export resume`
|
|
2391
2382
|
|
|
@@ -2407,9 +2398,9 @@ GLOBAL FLAGS
|
|
|
2407
2398
|
DESCRIPTION
|
|
2408
2399
|
Resume a bulk export job that you previously started. Uses Bulk API 2.0.
|
|
2409
2400
|
|
|
2410
|
-
When the original "data export bulk" command
|
|
2411
|
-
|
|
2412
|
-
|
|
2401
|
+
When the original "data export bulk" command times out, it displays a job ID. To see the status and get the results of
|
|
2402
|
+
the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the
|
|
2403
|
+
most recent bulk export job.
|
|
2413
2404
|
|
|
2414
2405
|
Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
|
|
2415
2406
|
based on the cached data by "data export bulk".
|
|
@@ -2424,7 +2415,7 @@ EXAMPLES
|
|
|
2424
2415
|
$ sf data export resume --use-most-recent
|
|
2425
2416
|
```
|
|
2426
2417
|
|
|
2427
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2418
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/export/resume.ts)_
|
|
2428
2419
|
|
|
2429
2420
|
## `sf data export tree`
|
|
2430
2421
|
|
|
@@ -2484,7 +2475,7 @@ EXAMPLES
|
|
|
2484
2475
|
my-scratch
|
|
2485
2476
|
```
|
|
2486
2477
|
|
|
2487
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2478
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/export/tree.ts)_
|
|
2488
2479
|
|
|
2489
2480
|
## `sf data get record`
|
|
2490
2481
|
|
|
@@ -2548,7 +2539,7 @@ EXAMPLES
|
|
|
2548
2539
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
2549
2540
|
```
|
|
2550
2541
|
|
|
2551
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2542
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/get/record.ts)_
|
|
2552
2543
|
|
|
2553
2544
|
## `sf data import bulk`
|
|
2554
2545
|
|
|
@@ -2556,11 +2547,10 @@ Bulk import records into a Salesforce object from a CSV file. Uses Bulk API 2.0.
|
|
|
2556
2547
|
|
|
2557
2548
|
```
|
|
2558
2549
|
USAGE
|
|
2559
|
-
$ sf data import bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-
|
|
2550
|
+
$ sf data import bulk -s <value> -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
|
|
2560
2551
|
(--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
|
|
2561
2552
|
|
|
2562
2553
|
FLAGS
|
|
2563
|
-
-a, --async Don't wait for the command to complete.
|
|
2564
2554
|
-f, --file=<value> (required) CSV file that contains the Salesforce object records you want to import.
|
|
2565
2555
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
2566
2556
|
configuration variable is already set.
|
|
@@ -2586,9 +2576,9 @@ DESCRIPTION
|
|
|
2586
2576
|
|
|
2587
2577
|
All the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag.
|
|
2588
2578
|
|
|
2589
|
-
Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out,
|
|
2590
|
-
|
|
2591
|
-
|
|
2579
|
+
Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out, the
|
|
2580
|
+
command displays the job ID. To see the status and get the results of the job, run "sf data import resume" and pass
|
|
2581
|
+
the job ID to the --job-id flag.
|
|
2592
2582
|
|
|
2593
2583
|
For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0
|
|
2594
2584
|
and Bulk API Developer Guide"
|
|
@@ -2599,14 +2589,9 @@ EXAMPLES
|
|
|
2599
2589
|
in 10 minutes, the command ends and displays a job ID:
|
|
2600
2590
|
|
|
2601
2591
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
2602
|
-
|
|
2603
|
-
Import asynchronously and use the default org; the command immediately returns a job ID that you then pass to the
|
|
2604
|
-
"sf data import resume" command:
|
|
2605
|
-
|
|
2606
|
-
$ sf data import bulk --file accounts.csv --sobject Account --async
|
|
2607
2592
|
```
|
|
2608
2593
|
|
|
2609
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2594
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/import/bulk.ts)_
|
|
2610
2595
|
|
|
2611
2596
|
## `sf data import resume`
|
|
2612
2597
|
|
|
@@ -2628,9 +2613,9 @@ GLOBAL FLAGS
|
|
|
2628
2613
|
DESCRIPTION
|
|
2629
2614
|
Resume a bulk import job that you previously started. Uses Bulk API 2.0.
|
|
2630
2615
|
|
|
2631
|
-
When the original "sf data import bulk" command
|
|
2632
|
-
|
|
2633
|
-
|
|
2616
|
+
When the original "sf data import bulk" command times out, it displays a job ID. To see the status and get the results
|
|
2617
|
+
of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify
|
|
2618
|
+
the most recent bulk import job.
|
|
2634
2619
|
|
|
2635
2620
|
EXAMPLES
|
|
2636
2621
|
Resume a bulk import job to your default org using an ID:
|
|
@@ -2642,7 +2627,7 @@ EXAMPLES
|
|
|
2642
2627
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
2643
2628
|
```
|
|
2644
2629
|
|
|
2645
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2630
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/import/resume.ts)_
|
|
2646
2631
|
|
|
2647
2632
|
## `sf data import tree`
|
|
2648
2633
|
|
|
@@ -2706,7 +2691,7 @@ FLAG DESCRIPTIONS
|
|
|
2706
2691
|
- files(array) - Files: An array of files paths to load
|
|
2707
2692
|
```
|
|
2708
2693
|
|
|
2709
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2694
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/import/tree.ts)_
|
|
2710
2695
|
|
|
2711
2696
|
## `sf data query`
|
|
2712
2697
|
|
|
@@ -2759,7 +2744,7 @@ EXAMPLES
|
|
|
2759
2744
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
2760
2745
|
```
|
|
2761
2746
|
|
|
2762
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2747
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/query.ts)_
|
|
2763
2748
|
|
|
2764
2749
|
## `sf data resume`
|
|
2765
2750
|
|
|
@@ -2796,7 +2781,7 @@ EXAMPLES
|
|
|
2796
2781
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
2797
2782
|
```
|
|
2798
2783
|
|
|
2799
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2784
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/resume.ts)_
|
|
2800
2785
|
|
|
2801
2786
|
## `sf data search`
|
|
2802
2787
|
|
|
@@ -2846,7 +2831,7 @@ EXAMPLES
|
|
|
2846
2831
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
2847
2832
|
```
|
|
2848
2833
|
|
|
2849
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2834
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/search.ts)_
|
|
2850
2835
|
|
|
2851
2836
|
## `sf data update bulk`
|
|
2852
2837
|
|
|
@@ -2854,11 +2839,10 @@ Bulk update records to an org from a CSV file. Uses Bulk API 2.0.
|
|
|
2854
2839
|
|
|
2855
2840
|
```
|
|
2856
2841
|
USAGE
|
|
2857
|
-
$ sf data update bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-
|
|
2842
|
+
$ sf data update bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-w <value>] [--api-version <value>]
|
|
2858
2843
|
(--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
|
|
2859
2844
|
|
|
2860
2845
|
FLAGS
|
|
2861
|
-
-a, --async Don't wait for the command to complete.
|
|
2862
2846
|
-f, --file=<value> (required) CSV file that contains the Salesforce object records you want to update.
|
|
2863
2847
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
2864
2848
|
configuration variable is already set.
|
|
@@ -2887,9 +2871,9 @@ DESCRIPTION
|
|
|
2887
2871
|
contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command
|
|
2888
2872
|
fails. Consider using "sf data upsert bulk" if you also want to insert new records.
|
|
2889
2873
|
|
|
2890
|
-
Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out,
|
|
2891
|
-
|
|
2892
|
-
|
|
2874
|
+
Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the
|
|
2875
|
+
command displays the job ID. To see the status and get the results of the job, run "sf data update resume" and pass
|
|
2876
|
+
the job ID to the --job-id flag.
|
|
2893
2877
|
|
|
2894
2878
|
For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0
|
|
2895
2879
|
and Bulk API Developer Guide"
|
|
@@ -2900,14 +2884,9 @@ EXAMPLES
|
|
|
2900
2884
|
in 10 minutes, the command ends and displays a job ID:
|
|
2901
2885
|
|
|
2902
2886
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
2903
|
-
|
|
2904
|
-
Update asynchronously and use the default org; the command immediately returns a job ID that you then pass to the
|
|
2905
|
-
"sf data update resume" command:
|
|
2906
|
-
|
|
2907
|
-
$ sf data update bulk --file accounts.csv --sobject Account --async
|
|
2908
2887
|
```
|
|
2909
2888
|
|
|
2910
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2889
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/update/bulk.ts)_
|
|
2911
2890
|
|
|
2912
2891
|
## `sf data update record`
|
|
2913
2892
|
|
|
@@ -2969,7 +2948,7 @@ EXAMPLES
|
|
|
2969
2948
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
2970
2949
|
```
|
|
2971
2950
|
|
|
2972
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2951
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/update/record.ts)_
|
|
2973
2952
|
|
|
2974
2953
|
## `sf data update resume`
|
|
2975
2954
|
|
|
@@ -2991,9 +2970,9 @@ GLOBAL FLAGS
|
|
|
2991
2970
|
DESCRIPTION
|
|
2992
2971
|
Resume a bulk update job that you previously started. Uses Bulk API 2.0.
|
|
2993
2972
|
|
|
2994
|
-
When the original "sf data update bulk" command
|
|
2995
|
-
|
|
2996
|
-
|
|
2973
|
+
When the original "sf data update bulk" command times out, it displays a job ID. To see the status and get the results
|
|
2974
|
+
of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify
|
|
2975
|
+
the most recent bulk update job.
|
|
2997
2976
|
|
|
2998
2977
|
Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
|
|
2999
2978
|
based on the cached data by "data update bulk".
|
|
@@ -3008,7 +2987,7 @@ EXAMPLES
|
|
|
3008
2987
|
$ sf data update resume --use-most-recent
|
|
3009
2988
|
```
|
|
3010
2989
|
|
|
3011
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
2990
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/update/resume.ts)_
|
|
3012
2991
|
|
|
3013
2992
|
## `sf data upsert bulk`
|
|
3014
2993
|
|
|
@@ -3017,10 +2996,9 @@ Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.
|
|
|
3017
2996
|
```
|
|
3018
2997
|
USAGE
|
|
3019
2998
|
$ sf data upsert bulk -o <value> -s <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w
|
|
3020
|
-
<value>
|
|
2999
|
+
<value>] (--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
|
|
3021
3000
|
|
|
3022
3001
|
FLAGS
|
|
3023
|
-
-a, --async Run the command asynchronously.
|
|
3024
3002
|
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
3025
3003
|
-i, --external-id=<value> (required) Name of the external ID field, or the Id field.
|
|
3026
3004
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
@@ -3065,7 +3043,7 @@ EXAMPLES
|
|
|
3065
3043
|
my-scratch
|
|
3066
3044
|
```
|
|
3067
3045
|
|
|
3068
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
3046
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/upsert/bulk.ts)_
|
|
3069
3047
|
|
|
3070
3048
|
## `sf data upsert resume`
|
|
3071
3049
|
|
|
@@ -3104,7 +3082,7 @@ EXAMPLES
|
|
|
3104
3082
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
3105
3083
|
```
|
|
3106
3084
|
|
|
3107
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
3085
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/data/upsert/resume.ts)_
|
|
3108
3086
|
|
|
3109
3087
|
## `sf doctor`
|
|
3110
3088
|
|
|
@@ -3199,7 +3177,7 @@ EXAMPLES
|
|
|
3199
3177
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
3200
3178
|
```
|
|
3201
3179
|
|
|
3202
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
3180
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/force/data/bulk/delete.ts)_
|
|
3203
3181
|
|
|
3204
3182
|
## `sf force data bulk status`
|
|
3205
3183
|
|
|
@@ -3236,7 +3214,7 @@ EXAMPLES
|
|
|
3236
3214
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
3237
3215
|
```
|
|
3238
3216
|
|
|
3239
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
3217
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/force/data/bulk/status.ts)_
|
|
3240
3218
|
|
|
3241
3219
|
## `sf force data bulk upsert`
|
|
3242
3220
|
|
|
@@ -3294,7 +3272,7 @@ EXAMPLES
|
|
|
3294
3272
|
--target-org my-scratch
|
|
3295
3273
|
```
|
|
3296
3274
|
|
|
3297
|
-
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
3275
|
+
_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/4.0.53/src/commands/force/data/bulk/upsert.ts)_
|
|
3298
3276
|
|
|
3299
3277
|
## `sf help [COMMAND]`
|
|
3300
3278
|
|
|
@@ -4553,7 +4531,7 @@ EXAMPLES
|
|
|
4553
4531
|
$ sf org list auth
|
|
4554
4532
|
```
|
|
4555
4533
|
|
|
4556
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4534
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/list/auth.ts)_
|
|
4557
4535
|
|
|
4558
4536
|
## `sf org list limits`
|
|
4559
4537
|
|
|
@@ -4853,67 +4831,7 @@ FLAG DESCRIPTIONS
|
|
|
4853
4831
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4854
4832
|
```
|
|
4855
4833
|
|
|
4856
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4857
|
-
|
|
4858
|
-
## `sf org login device`
|
|
4859
|
-
|
|
4860
|
-
Authorize an org using a device code.
|
|
4861
|
-
|
|
4862
|
-
```
|
|
4863
|
-
USAGE
|
|
4864
|
-
$ sf org login device [--json] [--flags-dir <value>] [-i <value>] [-r <value>] [-d] [-s] [-a <value>]
|
|
4865
|
-
|
|
4866
|
-
FLAGS
|
|
4867
|
-
-a, --alias=<value> Alias for the org.
|
|
4868
|
-
-d, --set-default-dev-hub Set the authenticated org as the default Dev Hub.
|
|
4869
|
-
-i, --client-id=<value> OAuth client ID (also called consumer key) of your custom connected app.
|
|
4870
|
-
-r, --instance-url=<value> URL of the instance that the org lives on.
|
|
4871
|
-
-s, --set-default Set the authenticated org as the default that all org-related commands run against.
|
|
4872
|
-
|
|
4873
|
-
GLOBAL FLAGS
|
|
4874
|
-
--flags-dir=<value> Import flag values from a directory.
|
|
4875
|
-
--json Format output as json.
|
|
4876
|
-
|
|
4877
|
-
DESCRIPTION
|
|
4878
|
-
Authorize an org using a device code.
|
|
4879
|
-
|
|
4880
|
-
Use this command to allow a device to connect to an org.
|
|
4881
|
-
|
|
4882
|
-
When you run this command, it first displays an 8-digit device code and the URL for verifying the code on your org.
|
|
4883
|
-
The default instance URL is https://login.salesforce.com, so if the org you're authorizing is on a different instance,
|
|
4884
|
-
use the --instance-url. The command waits while you complete the verification. Open a browser and navigate to the
|
|
4885
|
-
displayed verification URL, enter the code, then click Connect. If you aren't already logged into your org, log in,
|
|
4886
|
-
and then you're prompted to allow the device to connect to the org. After you successfully authorize the org, you can
|
|
4887
|
-
close the browser window.
|
|
4888
|
-
|
|
4889
|
-
ALIASES
|
|
4890
|
-
$ sf force auth device login
|
|
4891
|
-
$ sf auth device login
|
|
4892
|
-
|
|
4893
|
-
EXAMPLES
|
|
4894
|
-
Authorize an org using a device code, give the org the alias TestOrg1, and set it as your default Dev Hub org:
|
|
4895
|
-
|
|
4896
|
-
$ sf org login device --set-default-dev-hub --alias TestOrg1
|
|
4897
|
-
|
|
4898
|
-
Authorize an org in which you've created a custom connected app with the specified client ID (consumer key):
|
|
4899
|
-
|
|
4900
|
-
$ sf org login device --client-id <OAuth client id>
|
|
4901
|
-
|
|
4902
|
-
Authorize a sandbox org with the specified instance URL:
|
|
4903
|
-
|
|
4904
|
-
$ sf org login device --instance-url https://MyDomainName--SandboxName.sandbox.my.salesforce.com
|
|
4905
|
-
|
|
4906
|
-
FLAG DESCRIPTIONS
|
|
4907
|
-
-r, --instance-url=<value> URL of the instance that the org lives on.
|
|
4908
|
-
|
|
4909
|
-
If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.
|
|
4910
|
-
|
|
4911
|
-
To specify a My Domain URL, use the format "https://<MyDomainName>.my.salesforce.com".
|
|
4912
|
-
|
|
4913
|
-
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4914
|
-
```
|
|
4915
|
-
|
|
4916
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.7.19/src/commands/org/login/device.ts)_
|
|
4834
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/login/access-token.ts)_
|
|
4917
4835
|
|
|
4918
4836
|
## `sf org login jwt`
|
|
4919
4837
|
|
|
@@ -5004,7 +4922,7 @@ FLAG DESCRIPTIONS
|
|
|
5004
4922
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
5005
4923
|
```
|
|
5006
4924
|
|
|
5007
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4925
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/login/jwt.ts)_
|
|
5008
4926
|
|
|
5009
4927
|
## `sf org login sfdx-url`
|
|
5010
4928
|
|
|
@@ -5074,7 +4992,7 @@ EXAMPLES
|
|
|
5074
4992
|
$ echo url | sf org login sfdx-url --sfdx-url-stdin
|
|
5075
4993
|
```
|
|
5076
4994
|
|
|
5077
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4995
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/login/sfdx-url.ts)_
|
|
5078
4996
|
|
|
5079
4997
|
## `sf org login web`
|
|
5080
4998
|
|
|
@@ -5179,7 +5097,7 @@ FLAG DESCRIPTIONS
|
|
|
5179
5097
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
5180
5098
|
```
|
|
5181
5099
|
|
|
5182
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5100
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/login/web.ts)_
|
|
5183
5101
|
|
|
5184
5102
|
## `sf org logout`
|
|
5185
5103
|
|
|
@@ -5245,7 +5163,7 @@ FLAG DESCRIPTIONS
|
|
|
5245
5163
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
5246
5164
|
```
|
|
5247
5165
|
|
|
5248
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5166
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.8.1/src/commands/org/logout.ts)_
|
|
5249
5167
|
|
|
5250
5168
|
## `sf org open`
|
|
5251
5169
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.103.
|
|
3
|
+
"version": "2.103.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.103.
|
|
9
|
+
"version": "2.103.5",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@salesforce/plugin-agent": "1.24.3",
|
|
28
28
|
"@salesforce/plugin-apex": "3.6.19",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.3",
|
|
30
|
-
"@salesforce/plugin-auth": "3.
|
|
31
|
-
"@salesforce/plugin-data": "4.0.
|
|
30
|
+
"@salesforce/plugin-auth": "3.8.1",
|
|
31
|
+
"@salesforce/plugin-data": "4.0.53",
|
|
32
32
|
"@salesforce/plugin-deploy-retrieve": "3.22.41",
|
|
33
33
|
"@salesforce/plugin-info": "3.4.81",
|
|
34
34
|
"@salesforce/plugin-limits": "3.3.64",
|
|
@@ -4741,9 +4741,9 @@
|
|
|
4741
4741
|
}
|
|
4742
4742
|
},
|
|
4743
4743
|
"node_modules/@salesforce/core": {
|
|
4744
|
-
"version": "8.
|
|
4745
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
4746
|
-
"integrity": "sha512-
|
|
4744
|
+
"version": "8.20.0",
|
|
4745
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.20.0.tgz",
|
|
4746
|
+
"integrity": "sha512-WZoab9aHDbYXUh4nO+91PNLHpiPfK408qjn3l6Sbgck2d0bzYkW5wOmuv5D5yWrEybs9kGosrW/e9liKPGmgng==",
|
|
4747
4747
|
"license": "BSD-3-Clause",
|
|
4748
4748
|
"dependencies": {
|
|
4749
4749
|
"@jsforce/jsforce-node": "^3.10.1",
|
|
@@ -5050,15 +5050,15 @@
|
|
|
5050
5050
|
}
|
|
5051
5051
|
},
|
|
5052
5052
|
"node_modules/@salesforce/plugin-auth": {
|
|
5053
|
-
"version": "3.
|
|
5054
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
5055
|
-
"integrity": "sha512-
|
|
5053
|
+
"version": "3.8.1",
|
|
5054
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.8.1.tgz",
|
|
5055
|
+
"integrity": "sha512-ltovvzozwA8cw3f+2HgahZTRyy1K++ijfv1ekiKugkaRvwFvcUtbhDhtKmeew0m74npUKcahoRsafPNeNu81XQ==",
|
|
5056
5056
|
"license": "Apache-2.0",
|
|
5057
5057
|
"dependencies": {
|
|
5058
5058
|
"@inquirer/checkbox": "^2.5.0",
|
|
5059
5059
|
"@inquirer/select": "^2.5.0",
|
|
5060
5060
|
"@oclif/core": "^4",
|
|
5061
|
-
"@salesforce/core": "^8.
|
|
5061
|
+
"@salesforce/core": "^8.20.0",
|
|
5062
5062
|
"@salesforce/kit": "^3.2.3",
|
|
5063
5063
|
"@salesforce/plugin-info": "^3.4.80",
|
|
5064
5064
|
"@salesforce/sf-plugins-core": "^12.2.4",
|
|
@@ -5181,9 +5181,9 @@
|
|
|
5181
5181
|
}
|
|
5182
5182
|
},
|
|
5183
5183
|
"node_modules/@salesforce/plugin-data": {
|
|
5184
|
-
"version": "4.0.
|
|
5185
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.
|
|
5186
|
-
"integrity": "sha512-
|
|
5184
|
+
"version": "4.0.53",
|
|
5185
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.53.tgz",
|
|
5186
|
+
"integrity": "sha512-fIOazIGnz5eh7kR/641ilPn/IFWGp6FyuQMq+p2CsTlU1OR2E+eXG23L53R/SOrdJvNvYKq0wr85hXivBpLhzg==",
|
|
5187
5187
|
"license": "Apache-2.0",
|
|
5188
5188
|
"dependencies": {
|
|
5189
5189
|
"@jsforce/jsforce-node": "^3.9.4",
|
package/oclif.lock
CHANGED
|
@@ -2068,10 +2068,10 @@
|
|
|
2068
2068
|
strip-ansi "6.0.1"
|
|
2069
2069
|
ts-retry-promise "^0.8.1"
|
|
2070
2070
|
|
|
2071
|
-
"@salesforce/core@^8.10.1", "@salesforce/core@^8.12.0", "@salesforce/core@^8.15.0", "@salesforce/core@^8.18.1", "@salesforce/core@^8.18.5", "@salesforce/core@^8.18.7", "@salesforce/core@^8.19.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@^8.9.1":
|
|
2072
|
-
version "8.
|
|
2073
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
2074
|
-
integrity sha512-
|
|
2071
|
+
"@salesforce/core@^8.10.1", "@salesforce/core@^8.12.0", "@salesforce/core@^8.15.0", "@salesforce/core@^8.18.1", "@salesforce/core@^8.18.5", "@salesforce/core@^8.18.7", "@salesforce/core@^8.19.1", "@salesforce/core@^8.20.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@^8.9.1":
|
|
2072
|
+
version "8.20.0"
|
|
2073
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.20.0.tgz"
|
|
2074
|
+
integrity sha512-WZoab9aHDbYXUh4nO+91PNLHpiPfK408qjn3l6Sbgck2d0bzYkW5wOmuv5D5yWrEybs9kGosrW/e9liKPGmgng==
|
|
2075
2075
|
dependencies:
|
|
2076
2076
|
"@jsforce/jsforce-node" "^3.10.1"
|
|
2077
2077
|
"@salesforce/kit" "^3.2.2"
|
|
@@ -2214,15 +2214,15 @@
|
|
|
2214
2214
|
got "^13.0.0"
|
|
2215
2215
|
proxy-agent "^6.4.0"
|
|
2216
2216
|
|
|
2217
|
-
"@salesforce/plugin-auth@3.
|
|
2218
|
-
version "3.
|
|
2219
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
2220
|
-
integrity sha512-
|
|
2217
|
+
"@salesforce/plugin-auth@3.8.1":
|
|
2218
|
+
version "3.8.1"
|
|
2219
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.8.1.tgz"
|
|
2220
|
+
integrity sha512-ltovvzozwA8cw3f+2HgahZTRyy1K++ijfv1ekiKugkaRvwFvcUtbhDhtKmeew0m74npUKcahoRsafPNeNu81XQ==
|
|
2221
2221
|
dependencies:
|
|
2222
2222
|
"@inquirer/checkbox" "^2.5.0"
|
|
2223
2223
|
"@inquirer/select" "^2.5.0"
|
|
2224
2224
|
"@oclif/core" "^4"
|
|
2225
|
-
"@salesforce/core" "^8.
|
|
2225
|
+
"@salesforce/core" "^8.20.0"
|
|
2226
2226
|
"@salesforce/kit" "^3.2.3"
|
|
2227
2227
|
"@salesforce/plugin-info" "^3.4.80"
|
|
2228
2228
|
"@salesforce/sf-plugins-core" "^12.2.4"
|
|
@@ -2243,10 +2243,10 @@
|
|
|
2243
2243
|
debug "^4.4.0"
|
|
2244
2244
|
handlebars "^4.7.8"
|
|
2245
2245
|
|
|
2246
|
-
"@salesforce/plugin-data@4.0.
|
|
2247
|
-
version "4.0.
|
|
2248
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.
|
|
2249
|
-
integrity sha512-
|
|
2246
|
+
"@salesforce/plugin-data@4.0.53":
|
|
2247
|
+
version "4.0.53"
|
|
2248
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-4.0.53.tgz"
|
|
2249
|
+
integrity sha512-fIOazIGnz5eh7kR/641ilPn/IFWGp6FyuQMq+p2CsTlU1OR2E+eXG23L53R/SOrdJvNvYKq0wr85hXivBpLhzg==
|
|
2250
2250
|
dependencies:
|
|
2251
2251
|
"@jsforce/jsforce-node" "^3.9.4"
|
|
2252
2252
|
"@oclif/multi-stage-output" "^0.8.20"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.103.
|
|
4
|
+
"version": "2.103.5",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
"@salesforce/plugin-agent": "1.24.3",
|
|
161
161
|
"@salesforce/plugin-apex": "3.6.19",
|
|
162
162
|
"@salesforce/plugin-api": "1.3.3",
|
|
163
|
-
"@salesforce/plugin-auth": "3.
|
|
164
|
-
"@salesforce/plugin-data": "4.0.
|
|
163
|
+
"@salesforce/plugin-auth": "3.8.1",
|
|
164
|
+
"@salesforce/plugin-data": "4.0.53",
|
|
165
165
|
"@salesforce/plugin-deploy-retrieve": "3.22.41",
|
|
166
166
|
"@salesforce/plugin-info": "3.4.81",
|
|
167
167
|
"@salesforce/plugin-limits": "3.3.64",
|