@salesforce/cli 1.34.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.37.0](https://github.com/salesforcecli/cli/compare/v1.36.0...v1.37.0) (2022-07-13)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **deps:** update plugin-functions to 1.12.1 ([42f5ecd](https://github.com/salesforcecli/cli/commit/42f5ecdd30e395d823678658da1df51409c89028))
10
+
11
+ ## [1.36.0](https://github.com/salesforcecli/cli/compare/v1.35.0...v1.36.0) (2022-07-06)
12
+
13
+ ## [1.35.0](https://github.com/salesforcecli/cli/compare/v1.34.0...v1.35.0) (2022-06-29)
14
+
5
15
  ## [1.34.0](https://github.com/salesforcecli/cli/compare/v1.33.0...v1.34.0) (2022-06-22)
6
16
 
7
17
  ## [1.33.0](https://github.com/salesforcecli/cli/compare/v1.32.0...v1.33.0) (2022-06-15)
package/README.md CHANGED
@@ -31,7 +31,7 @@ $ npm install -g @salesforce/cli
31
31
  $ sf COMMAND
32
32
  running command...
33
33
  $ sf (--version|-v)
34
- @salesforce/cli/1.34.0 linux-x64 node-v14.19.3
34
+ @salesforce/cli/1.37.0 linux-x64 node-v14.20.0
35
35
  $ sf --help [COMMAND]
36
36
  USAGE
37
37
  $ sf COMMAND
@@ -66,6 +66,7 @@ USAGE
66
66
  - [`sf env delete scratch`](#sf-env-delete-scratch)
67
67
  - [`sf env display`](#sf-env-display)
68
68
  - [`sf env list`](#sf-env-list)
69
+ - [`sf env log`](#sf-env-log)
69
70
  - [`sf env log tail`](#sf-env-log-tail)
70
71
  - [`sf env logdrain add`](#sf-env-logdrain-add)
71
72
  - [`sf env logdrain list`](#sf-env-logdrain-list)
@@ -338,20 +339,42 @@ EXAMPLES
338
339
  $ sf deploy --interactive
339
340
  ```
340
341
 
341
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.4.3/src/commands/deploy.ts)_
342
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.5.2/src/commands/deploy.ts)_
342
343
 
343
344
  ## `sf deploy functions`
344
345
 
346
+ Deploy a Salesforce Function to an org from your local project.
347
+
345
348
  ```
346
349
  USAGE
347
- $ sf deploy functions -o <value> [-b <value>] [--force] [-q]
350
+ $ sf deploy functions -o <value> [-b <value>] [--force] [-q] [-j]
348
351
 
349
352
  FLAGS
350
353
  -b, --branch=<value> Deploy the latest commit from a branch different from the currently active branch.
354
+ -j, --json Output list in JSON format.
351
355
  -o, --connected-org=<value> (required) Username or alias for the org that the compute environment should be connected
352
356
  to.
353
357
  -q, --quiet Limit the amount of output displayed from the deploy process.
354
358
  --force Ignore warnings and overwrite remote repository (not allowed in production).
359
+
360
+ DESCRIPTION
361
+ Deploy a Salesforce Function to an org from your local project.
362
+
363
+ You must run this command from within a git repository. Only committed changes to Functions are deployed. The active
364
+ branch is deployed unless specified otherwise with `--branch`.
365
+
366
+ EXAMPLES
367
+ Deploy a Salesforce Function:
368
+
369
+ $ sf deploy functions --connected-org org-alias
370
+
371
+ Deploy to 'deploy-branch':
372
+
373
+ $ sf deploy functions --connected-org org-alias --branch deploy-branch
374
+
375
+ Overwrite the remote repository:
376
+
377
+ $ sf deploy functions --connected-org org-alias --force
355
378
  ```
356
379
 
357
380
  ## `sf deploy metadata`
@@ -360,12 +383,13 @@ Deploy metadata in source format to an org from your local project.
360
383
 
361
384
  ```
362
385
  USAGE
363
- $ sf deploy metadata [--json] [-a <value>] [--async | -w <value>] [--concise | --verbose] [--dry-run] [-r] [-g] [-x
364
- <value>] [-m <value>] [--single-package --metadata-dir <value>] [-d <value>] [-o <value>] [-t <value>] [-l
365
- NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
386
+ $ sf deploy metadata [--json] [-a <value>] [--async | -w <value>] [--concise | --verbose] [--dry-run] [-c] [-r]
387
+ [-g] [-x <value> | -d <value> | -m <value> | --metadata-dir <value>] [--single-package ] [-o <value>] [-t <value>]
388
+ [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
366
389
 
367
390
  FLAGS
368
391
  -a, --api-version=<value> Target API version for the deploy.
392
+ -c, --ignore-conflicts Ignore conflicts and deploy local files, even if they overwrite changes in the org.
369
393
  -d, --source-dir=<value>... Path to the local source files to deploy.
370
394
  -g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully.
371
395
  -l, --test-level=<option> [default: NoTestRun] Deployment Apex testing level.
@@ -393,14 +417,19 @@ DESCRIPTION
393
417
 
394
418
  You must run this command from within a project.
395
419
 
396
- This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org.
397
- This command doesn’t attempt to merge your source with the versions in your org.
420
+ If your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production
421
+ org, never allow source tracking. You can also use the "--no-track-source" flag when you create a scratch or sandbox
422
+ org to disable source tracking.
398
423
 
399
424
  To deploy multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with
400
425
  multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax
401
426
  applies to --manifest and --source-dir.
402
427
 
403
428
  EXAMPLES
429
+ Deploy local changes not in the org:
430
+
431
+ $ sf deploy metadata
432
+
404
433
  Deploy the source files in a directory:
405
434
 
406
435
  $ sf deploy metadata --source-dir path/to/source
@@ -441,6 +470,11 @@ FLAG DESCRIPTIONS
441
470
  Use this flag to override the default API version, which is the latest version supported the CLI, with the API
442
471
  version of your package.xml file.
443
472
 
473
+ -c, --ignore-conflicts Ignore conflicts and deploy local files, even if they overwrite changes in the org.
474
+
475
+ This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as
476
+ production orgs.
477
+
444
478
  -d, --source-dir=<value>... Path to the local source files to deploy.
445
479
 
446
480
  The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
@@ -954,10 +988,11 @@ Create a compute environment for use with Salesforce Functions.
954
988
 
955
989
  ```
956
990
  USAGE
957
- $ sf env create compute [-o <value>] [-a <value> | ]
991
+ $ sf env create compute [-o <value>] [-a <value>] [-j]
958
992
 
959
993
  FLAGS
960
994
  -a, --alias=<value> Alias for the created environment.
995
+ -j, --json Output list in JSON format.
961
996
  -o, --connected-org=<value> Username or alias for the org that the compute environment should be connected to.
962
997
 
963
998
  DESCRIPTION
@@ -988,7 +1023,7 @@ Create a sandbox org.
988
1023
  ```
989
1024
  USAGE
990
1025
  $ sf env create sandbox [--json] [-f <value> | -n <value> | -l Developer|Developer_Pro|Partial|Full] [-s] [-a <value>]
991
- [-w <value> | --async] [-i <value> | ] [-c <value> | ] [-o <value>] [--no-prompt]
1026
+ [-w <value> | --async] [-i <value> | ] [-c <value> | ] [-o <value>] [--no-prompt] [--no-track-source]
992
1027
 
993
1028
  FLAGS
994
1029
  -a, --alias=<value> Alias for the sandbox org.
@@ -1007,6 +1042,7 @@ FLAGS
1007
1042
  complete.
1008
1043
  --no-prompt Don't prompt for confirmation about the sandbox
1009
1044
  configuration.
1045
+ --no-track-source Do not use source tracking for this sandbox.
1010
1046
 
1011
1047
  GLOBAL FLAGS
1012
1048
  --json Format output as json.
@@ -1047,8 +1083,8 @@ FLAG DESCRIPTIONS
1047
1083
 
1048
1084
  The sandbox definition file is a blueprint for the sandbox. You can create different definition files for each
1049
1085
  sandbox type that you use in the development process. See
1050
- https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm for all the
1051
- options you can specify in the defintion file.
1086
+ <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all
1087
+ the options you can specify in the defintion file.
1052
1088
 
1053
1089
  -n, --name=<value> Name of the sandbox org.
1054
1090
 
@@ -1070,6 +1106,18 @@ FLAG DESCRIPTIONS
1070
1106
 
1071
1107
  The command immediately displays the job ID and returns control of the terminal to you. This way, you can continue
1072
1108
  to use the CLI. To check the status of the sandbox creation, run "sf env resume sandbox".
1109
+
1110
+ --no-track-source Do not use source tracking for this sandbox.
1111
+
1112
+ We recommend you enable source tracking in Developer and Developer Pro sandbox, which is why it's the default
1113
+ behavior. Source tracking allows you to track the changes you make to your metadata, both in your local project and
1114
+ in the sandbox, and to detect any conflicts between the two.
1115
+
1116
+ To disable source tracking in the new sandbox, specify the --no-track-source flag. The main reason to disable source
1117
+ tracking is for performance. For example, while you probably want to deploy metadata and run Apex tests in your
1118
+ CI/CD jobs, you probably don't want to incur the costs of source tracking (checking for conflicts, polling the
1119
+ SourceMember object, various file system operations.) This is a good use case for disabling source tracking in the
1120
+ sandbox.
1073
1121
  ```
1074
1122
 
1075
1123
  ## `sf env create scratch`
@@ -1080,7 +1128,7 @@ Create a scratch org.
1080
1128
  USAGE
1081
1129
  $ sf env create scratch [--json] [-a <value>] [--async] [-d] [-f <value>] [-v <value>] [-c] [-e
1082
1130
  developer|enterprise|group|professional|partner-developer|partner-enterprise|partner-group|partner-professional]
1083
- [-m] [-y <value>] [-w <value>] [--api-version <value>] [-i <value>]
1131
+ [-m] [-y <value>] [-w <value>] [--api-version <value>] [-i <value>] [-t]
1084
1132
 
1085
1133
  FLAGS
1086
1134
  -a, --alias=<value> Alias for the scratch org.
@@ -1090,6 +1138,8 @@ FLAGS
1090
1138
  partner-group|partner-professional>
1091
1139
  -f, --definition-file=<value> Path to a scratch org definition file.
1092
1140
  -i, --client-id=<value> Consumer key of the Dev Hub connected app.
1141
+ -t, --[no-]track-source Use source tracking for this scratch org. Set --no-track-source to disable source
1142
+ tracking.
1093
1143
  -v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
1094
1144
  -w, --wait=<minutes> [default: [object Object]] Number of minutes to wait for the scratch org to be ready.
1095
1145
  -y, --duration-days=<days> [default: [object Object]] Number of days before the org expires.
@@ -1144,6 +1194,18 @@ FLAG DESCRIPTIONS
1144
1194
  <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file.htm> for
1145
1195
  all the option you can specify in the definition file.
1146
1196
 
1197
+ -t, --[no-]track-source Use source tracking for this scratch org. Set --no-track-source to disable source tracking.
1198
+
1199
+ We recommend you enable source tracking in scratch orgs, which is why it's the default behavior. Source tracking
1200
+ allows you to track the changes you make to your metadata, both in your local project and in the scratch org, and to
1201
+ detect any conflicts between the two.
1202
+
1203
+ To disable source tracking in the new scratch org, specify the --no-track-source flag. The main reason to disable
1204
+ source tracking is for performance. For example, while you probably want to deploy metadata and run Apex tests in
1205
+ your CI/CD jobs, you probably don't want to incur the costs of source tracking (checking for conflicts, polling the
1206
+ SourceMember object, various file system operations.) This is a good use case for disabling source tracking in the
1207
+ scratch org.
1208
+
1147
1209
  -v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
1148
1210
 
1149
1211
  Overrides the value of the target-dev-hub configuration variable, if set.
@@ -1165,10 +1227,11 @@ Delete an environment.
1165
1227
 
1166
1228
  ```
1167
1229
  USAGE
1168
- $ sf env delete [-e <value> | ] [--confirm <value>]
1230
+ $ sf env delete [-e <value> | ] [--confirm <value>] [-j]
1169
1231
 
1170
1232
  FLAGS
1171
1233
  -e, --target-compute=<value> Environment name.
1234
+ -j, --json Output list in JSON format.
1172
1235
  --confirm=name... Confirmation name.
1173
1236
 
1174
1237
  DESCRIPTION
@@ -1370,6 +1433,24 @@ EXAMPLES
1370
1433
  $ sf env list --csv --no-header
1371
1434
  ```
1372
1435
 
1436
+ ## `sf env log`
1437
+
1438
+ Stream log output for an environment.
1439
+
1440
+ ```
1441
+ USAGE
1442
+ $ sf env log [-e <value> | ] [-n <value>]
1443
+
1444
+ FLAGS
1445
+ -e, --target-compute=<value> Compute environment name to retrieve logs.
1446
+ -n, --num=<value> Number of lines to display.
1447
+
1448
+ EXAMPLES
1449
+ Stream log output:
1450
+
1451
+ $ sf env log --target-compute environment-alias
1452
+ ```
1453
+
1373
1454
  ## `sf env log tail`
1374
1455
 
1375
1456
  Stream log output for an environment.
@@ -1393,10 +1474,11 @@ Add log drain to a specified environment.
1393
1474
 
1394
1475
  ```
1395
1476
  USAGE
1396
- $ sf env logdrain add [-e <value> | ] [-l <value> | ]
1477
+ $ sf env logdrain add [-e <value> | ] [-l <value> | ] [-j]
1397
1478
 
1398
1479
  FLAGS
1399
1480
  -e, --target-compute=<value> Environment name.
1481
+ -j, --json Output list in JSON format.
1400
1482
  -l, --drain-url=<value> Endpoint that will receive sent logs.
1401
1483
 
1402
1484
  DESCRIPTION
@@ -1439,10 +1521,11 @@ Remove log drain from a specified environment.
1439
1521
 
1440
1522
  ```
1441
1523
  USAGE
1442
- $ sf env logdrain remove [-e <value> | ] [-l <value> | ]
1524
+ $ sf env logdrain remove [-e <value> | ] [-l <value> | ] [-j]
1443
1525
 
1444
1526
  FLAGS
1445
1527
  -e, --target-compute=<value> Environment name.
1528
+ -j, --json Output list in JSON format.
1446
1529
  -l, --drain-url=<value> Log drain url to remove.
1447
1530
 
1448
1531
  DESCRIPTION
@@ -1667,10 +1750,11 @@ Set a single config value for an environment.
1667
1750
 
1668
1751
  ```
1669
1752
  USAGE
1670
- $ sf env var set [-e <value> | ]
1753
+ $ sf env var set [-e <value> | ] [-j]
1671
1754
 
1672
1755
  FLAGS
1673
1756
  -e, --target-compute=<value> Environment name.
1757
+ -j, --json Output list in JSON format.
1674
1758
 
1675
1759
  EXAMPLES
1676
1760
  Set a config value:
@@ -1684,10 +1768,11 @@ Unset a single config value for an environment.
1684
1768
 
1685
1769
  ```
1686
1770
  USAGE
1687
- $ sf env var unset [-e <value> | ]
1771
+ $ sf env var unset [-e <value> | ] [-j]
1688
1772
 
1689
1773
  FLAGS
1690
1774
  -e, --target-compute=<value> Environment name.
1775
+ -j, --json Output list in JSON format.
1691
1776
 
1692
1777
  DESCRIPTION
1693
1778
  Unset a single config value for an environment.
@@ -1720,7 +1805,7 @@ DESCRIPTION
1720
1805
  EXAMPLES
1721
1806
  Create a JavaScript function:
1722
1807
 
1723
- $ sf generate function --function-name MyFunction --language javascript
1808
+ $ sf generate function --function-name myfunction --language javascript
1724
1809
  ```
1725
1810
 
1726
1811
  ## `sf generate project`
@@ -1904,7 +1989,7 @@ EXAMPLES
1904
1989
  $ sf login
1905
1990
  ```
1906
1991
 
1907
- _See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.9/src/commands/login.ts)_
1992
+ _See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.1/src/commands/login.ts)_
1908
1993
 
1909
1994
  ## `sf login functions`
1910
1995
 
@@ -1931,17 +2016,17 @@ Login using JWT instead of default web-based flow. This will authenticate you wi
1931
2016
 
1932
2017
  ```
1933
2018
  USAGE
1934
- $ sf login functions jwt -u <value> -f <value> -i <value> [-l <value> | ] [--json] [-a <value>] [-d] [-v]
2019
+ $ sf login functions jwt -u <value> -f <value> -i <value> [-l <value> | ] [-j] [-a <value>] [-d] [-v]
1935
2020
 
1936
2021
  FLAGS
1937
2022
  -a, --alias=<value> Alias for the org.
1938
2023
  -d, --set-default Set the org as the default that all org-related commands run against.
1939
2024
  -f, --keyfile=<value> (required) Path to JWT keyfile.
1940
2025
  -i, --clientid=<value> (required) OAuth client ID.
2026
+ -j, --json Output list in JSON format.
1941
2027
  -l, --instance-url=<value> The login URL of the instance the org lives on.
1942
2028
  -u, --username=<value> (required) Authentication username.
1943
2029
  -v, --set-default-dev-hub Set the org as the default Dev Hub for scratch org creation.
1944
- --json Format output as JSON.
1945
2030
 
1946
2031
  DESCRIPTION
1947
2032
  Login using JWT instead of default web-based flow. This will authenticate you with both sf and Salesforce Functions.
@@ -2039,8 +2124,8 @@ FLAG DESCRIPTIONS
2039
2124
  To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
2040
2125
 
2041
2126
  CONFIGURATION VARIABLES
2042
- apiVersion API version of your project. Default: API version of your Dev Hub org.
2043
- instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
2127
+ apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
2128
+ instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
2044
2129
 
2045
2130
  ENVIRONMENT VARIABLES
2046
2131
  SFDX_INSTANCE_URL URL of the Salesforce instance that is hosting your org. Default value is
@@ -2130,8 +2215,8 @@ FLAG DESCRIPTIONS
2130
2215
  To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
2131
2216
 
2132
2217
  CONFIGURATION VARIABLES
2133
- apiVersion API version of your project. Default: API version of your Dev Hub org.
2134
- instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
2218
+ apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
2219
+ instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
2135
2220
 
2136
2221
  ENVIRONMENT VARIABLES
2137
2222
  SFDX_INSTANCE_URL URL of the Salesforce instance that is hosting your org. Default value is
@@ -2171,7 +2256,7 @@ EXAMPLES
2171
2256
  $ sf logout --no-prompt
2172
2257
  ```
2173
2258
 
2174
- _See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.9/src/commands/logout.ts)_
2259
+ _See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.1/src/commands/logout.ts)_
2175
2260
 
2176
2261
  ## `sf logout functions`
2177
2262
 
@@ -2179,7 +2264,10 @@ Log out of your Salesforce Functions account.
2179
2264
 
2180
2265
  ```
2181
2266
  USAGE
2182
- $ sf logout functions
2267
+ $ sf logout functions [-j]
2268
+
2269
+ FLAGS
2270
+ -j, --json Output list in JSON format.
2183
2271
 
2184
2272
  EXAMPLES
2185
2273
  Log out:
@@ -2221,8 +2309,8 @@ EXAMPLES
2221
2309
  $ sf logout org --target-org jdoe@example.org
2222
2310
 
2223
2311
  CONFIGURATION VARIABLES
2224
- apiVersion API version of your project. Default: API version of your Dev Hub org.
2225
- instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
2312
+ apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
2313
+ instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
2226
2314
  target-org Username or alias of the org that all commands run against by default. (sf only)
2227
2315
  ```
2228
2316
 
@@ -2462,11 +2550,13 @@ Retrieve metadata in source format from an org to your local project.
2462
2550
 
2463
2551
  ```
2464
2552
  USAGE
2465
- $ sf retrieve metadata [--json] [-a <value>] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>] [-w
2466
- <value>]
2553
+ $ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>]
2554
+ [-w <value>]
2467
2555
 
2468
2556
  FLAGS
2469
2557
  -a, --api-version=<value> Target API version for the retrieve.
2558
+ -c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
2559
+ overwrite your local changes.
2470
2560
  -d, --source-dir=<value>... File paths for source to retrieve from the org.
2471
2561
  -m, --metadata=<value>... Metadata component names to retrieve.
2472
2562
  -n, --package-name=<value>... Package names to retrieve.
@@ -2483,14 +2573,19 @@ DESCRIPTION
2483
2573
 
2484
2574
  You must run this command from within a project.
2485
2575
 
2486
- This command doesn't support source-tracking. The source you retrieve overwrites the corresponding source files in
2487
- your local project. This command doesn’t attempt to merge the source from your org with your local source files.
2576
+ If your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production
2577
+ org, never allow source tracking. You can also use the "--no-track-source" flag when you create a scratch or sandbox
2578
+ org to disable source tracking.
2488
2579
 
2489
2580
  To retrieve multiple metadata components, either use multiple --metadata <name> flags or use a single --metadata flag
2490
2581
  with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same
2491
2582
  syntax applies to --manifest and --source-dir.
2492
2583
 
2493
2584
  EXAMPLES
2585
+ Retrieve remote changes:
2586
+
2587
+ $ sf retrieve metadata
2588
+
2494
2589
  Retrieve the source files in a directory:
2495
2590
 
2496
2591
  $ sf retrieve metadata --source-dir path/to/source
@@ -2532,6 +2627,13 @@ FLAG DESCRIPTIONS
2532
2627
  Use this flag to override the default API version, which is the latest version supported the CLI, with the API
2533
2628
  version in your package.xml file.
2534
2629
 
2630
+ -c, --ignore-conflicts
2631
+
2632
+ Ignore conflicts and retrieve and save files to your local filesystem, even if they overwrite your local changes.
2633
+
2634
+ This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as
2635
+ production orgs.
2636
+
2535
2637
  -d, --source-dir=<value>... File paths for source to retrieve from the org.
2536
2638
 
2537
2639
  The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder
@@ -2564,10 +2666,11 @@ Send a cloudevent to a function.
2564
2666
 
2565
2667
  ```
2566
2668
  USAGE
2567
- $ sf run function [-l <value> | ] [-H <value>] [-p <value>] [-s] [-o <value>]
2669
+ $ sf run function [-l <value> | ] [-H <value>] [-p <value>] [-s] [-o <value>] [-j]
2568
2670
 
2569
2671
  FLAGS
2570
2672
  -H, --headers=<value>... Set headers.
2673
+ -j, --json Output list in JSON format.
2571
2674
  -l, --function-url=<value> URL of the function to run.
2572
2675
  -o, --connected-org=<value> Username or alias for the target org; overrides default target org.
2573
2676
  -p, --payload=<value> Set the payload of the cloudevent as a JSON object or a path to a file via @file.json.
@@ -2724,10 +2827,21 @@ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3
2724
2827
 
2725
2828
  ```
2726
2829
  USAGE
2727
- $ sf version
2830
+ $ sf version [--json] [--verbose]
2831
+
2832
+ FLAGS
2833
+ --verbose Show additional information about the CLI.
2834
+
2835
+ GLOBAL FLAGS
2836
+ --json Format output as json.
2837
+
2838
+ FLAG DESCRIPTIONS
2839
+ --verbose Show additional information about the CLI.
2840
+
2841
+ Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
2728
2842
  ```
2729
2843
 
2730
- _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.0.4/src/commands/version.ts)_
2844
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.1.1/src/commands/version.ts)_
2731
2845
 
2732
2846
  ## `sf whatsnew [-v <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
2733
2847