@salesforce/cli 1.38.0 → 1.39.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,8 @@
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.39.0](https://github.com/salesforcecli/cli/compare/v1.38.0...v1.39.0) (2022-07-27)
6
+
5
7
  ## [1.38.0](https://github.com/salesforcecli/cli/compare/v1.36.0...v1.38.0) (2022-07-20)
6
8
 
7
9
  ### Features
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.38.0 linux-x64 node-v14.20.0
34
+ @salesforce/cli/1.39.0 linux-x64 node-v14.20.0
35
35
  $ sf --help [COMMAND]
36
36
  USAGE
37
37
  $ sf COMMAND
@@ -347,16 +347,18 @@ Deploy a Salesforce Function to an org from your local project.
347
347
 
348
348
  ```
349
349
  USAGE
350
- $ sf deploy functions -o <value> [-b <value>] [--force] [-q] [-j]
350
+ $ sf deploy functions -o <value> [--json] [-b <value>] [--force] [-q]
351
351
 
352
352
  FLAGS
353
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.
355
354
  -o, --connected-org=<value> (required) Username or alias for the org that the compute environment should be connected
356
355
  to.
357
356
  -q, --quiet Limit the amount of output displayed from the deploy process.
358
357
  --force Ignore warnings and overwrite remote repository (not allowed in production).
359
358
 
359
+ GLOBAL FLAGS
360
+ --json Format output as json.
361
+
360
362
  DESCRIPTION
361
363
  Deploy a Salesforce Function to an org from your local project.
362
364
 
@@ -988,13 +990,15 @@ Create a compute environment for use with Salesforce Functions.
988
990
 
989
991
  ```
990
992
  USAGE
991
- $ sf env create compute [-o <value>] [-a <value>] [-j]
993
+ $ sf env create compute [--json] [-o <value>] [-a <value>]
992
994
 
993
995
  FLAGS
994
996
  -a, --alias=<value> Alias for the created environment.
995
- -j, --json Output list in JSON format.
996
997
  -o, --connected-org=<value> Username or alias for the org that the compute environment should be connected to.
997
998
 
999
+ GLOBAL FLAGS
1000
+ --json Format output as json.
1001
+
998
1002
  DESCRIPTION
999
1003
  Create a compute environment for use with Salesforce Functions.
1000
1004
 
@@ -1227,13 +1231,15 @@ Delete an environment.
1227
1231
 
1228
1232
  ```
1229
1233
  USAGE
1230
- $ sf env delete [-e <value> | ] [--confirm <value>] [-j]
1234
+ $ sf env delete [--json] [-e <value> | ] [--confirm <value>]
1231
1235
 
1232
1236
  FLAGS
1233
1237
  -e, --target-compute=<value> Environment name.
1234
- -j, --json Output list in JSON format.
1235
1238
  --confirm=name... Confirmation name.
1236
1239
 
1240
+ GLOBAL FLAGS
1241
+ --json Format output as json.
1242
+
1237
1243
  DESCRIPTION
1238
1244
  Delete an environment.
1239
1245
 
@@ -1474,13 +1480,15 @@ Add log drain to a specified environment.
1474
1480
 
1475
1481
  ```
1476
1482
  USAGE
1477
- $ sf env logdrain add [-e <value> | ] [-l <value> | ] [-j]
1483
+ $ sf env logdrain add [--json] [-e <value> | ] [-l <value> | ]
1478
1484
 
1479
1485
  FLAGS
1480
1486
  -e, --target-compute=<value> Environment name.
1481
- -j, --json Output list in JSON format.
1482
1487
  -l, --drain-url=<value> Endpoint that will receive sent logs.
1483
1488
 
1489
+ GLOBAL FLAGS
1490
+ --json Format output as json.
1491
+
1484
1492
  DESCRIPTION
1485
1493
  Add log drain to a specified environment.
1486
1494
 
@@ -1499,11 +1507,13 @@ List log drains connected to a specified environment.
1499
1507
 
1500
1508
  ```
1501
1509
  USAGE
1502
- $ sf env logdrain list [-e <value> | ] [-j]
1510
+ $ sf env logdrain list [--json] [-e <value> | ]
1503
1511
 
1504
1512
  FLAGS
1505
1513
  -e, --target-compute=<value> Environment name.
1506
- -j, --json Output list in JSON format.
1514
+
1515
+ GLOBAL FLAGS
1516
+ --json Format output as json.
1507
1517
 
1508
1518
  EXAMPLES
1509
1519
  List log drains:
@@ -1521,13 +1531,15 @@ Remove log drain from a specified environment.
1521
1531
 
1522
1532
  ```
1523
1533
  USAGE
1524
- $ sf env logdrain remove [-e <value> | ] [-l <value> | ] [-j]
1534
+ $ sf env logdrain remove [--json] [-e <value> | ] [-l <value> | ]
1525
1535
 
1526
1536
  FLAGS
1527
1537
  -e, --target-compute=<value> Environment name.
1528
- -j, --json Output list in JSON format.
1529
1538
  -l, --drain-url=<value> Log drain url to remove.
1530
1539
 
1540
+ GLOBAL FLAGS
1541
+ --json Format output as json.
1542
+
1531
1543
  DESCRIPTION
1532
1544
  Remove log drain from a specified environment.
1533
1545
 
@@ -1700,11 +1712,13 @@ Display a single config variable for an environment.
1700
1712
 
1701
1713
  ```
1702
1714
  USAGE
1703
- $ sf env var get [KEY] [-e <value> | ] [-j]
1715
+ $ sf env var get [KEY] [--json] [-e <value> | ]
1704
1716
 
1705
1717
  FLAGS
1706
1718
  -e, --target-compute=<value> Environment name.
1707
- -j, --json Output list in JSON format.
1719
+
1720
+ GLOBAL FLAGS
1721
+ --json Format output as json.
1708
1722
 
1709
1723
  DESCRIPTION
1710
1724
  Display a single config variable for an environment.
@@ -1723,11 +1737,13 @@ List your environment's config vars in a table.
1723
1737
 
1724
1738
  ```
1725
1739
  USAGE
1726
- $ sf env var list [-e <value> | ] [-j]
1740
+ $ sf env var list [--json] [-e <value> | ]
1727
1741
 
1728
1742
  FLAGS
1729
1743
  -e, --target-compute=<value> Environment name.
1730
- -j, --json Output list in JSON format.
1744
+
1745
+ GLOBAL FLAGS
1746
+ --json Format output as json.
1731
1747
 
1732
1748
  DESCRIPTION
1733
1749
  List your environment's config vars in a table.
@@ -1750,11 +1766,13 @@ Set a single config value for an environment.
1750
1766
 
1751
1767
  ```
1752
1768
  USAGE
1753
- $ sf env var set [-e <value> | ] [-j]
1769
+ $ sf env var set [--json] [-e <value> | ]
1754
1770
 
1755
1771
  FLAGS
1756
1772
  -e, --target-compute=<value> Environment name.
1757
- -j, --json Output list in JSON format.
1773
+
1774
+ GLOBAL FLAGS
1775
+ --json Format output as json.
1758
1776
 
1759
1777
  EXAMPLES
1760
1778
  Set a config value:
@@ -1768,11 +1786,13 @@ Unset a single config value for an environment.
1768
1786
 
1769
1787
  ```
1770
1788
  USAGE
1771
- $ sf env var unset [-e <value> | ] [-j]
1789
+ $ sf env var unset [--json] [-e <value> | ]
1772
1790
 
1773
1791
  FLAGS
1774
1792
  -e, --target-compute=<value> Environment name.
1775
- -j, --json Output list in JSON format.
1793
+
1794
+ GLOBAL FLAGS
1795
+ --json Format output as json.
1776
1796
 
1777
1797
  DESCRIPTION
1778
1798
  Unset a single config value for an environment.
@@ -2016,18 +2036,20 @@ Login using JWT instead of default web-based flow. This will authenticate you wi
2016
2036
 
2017
2037
  ```
2018
2038
  USAGE
2019
- $ sf login functions jwt -u <value> -f <value> -i <value> [-l <value> | ] [-j] [-a <value>] [-d] [-v]
2039
+ $ sf login functions jwt -u <value> -f <value> -i <value> [--json] [-l <value> | ] [-a <value>] [-d] [-v]
2020
2040
 
2021
2041
  FLAGS
2022
2042
  -a, --alias=<value> Alias for the org.
2023
2043
  -d, --set-default Set the org as the default that all org-related commands run against.
2024
2044
  -f, --keyfile=<value> (required) Path to JWT keyfile.
2025
2045
  -i, --clientid=<value> (required) OAuth client ID.
2026
- -j, --json Output list in JSON format.
2027
2046
  -l, --instance-url=<value> The login URL of the instance the org lives on.
2028
2047
  -u, --username=<value> (required) Authentication username.
2029
2048
  -v, --set-default-dev-hub Set the org as the default Dev Hub for scratch org creation.
2030
2049
 
2050
+ GLOBAL FLAGS
2051
+ --json Format output as json.
2052
+
2031
2053
  DESCRIPTION
2032
2054
  Login using JWT instead of default web-based flow. This will authenticate you with both sf and Salesforce Functions.
2033
2055
 
@@ -2264,10 +2286,10 @@ Log out of your Salesforce Functions account.
2264
2286
 
2265
2287
  ```
2266
2288
  USAGE
2267
- $ sf logout functions [-j]
2289
+ $ sf logout functions [--json]
2268
2290
 
2269
- FLAGS
2270
- -j, --json Output list in JSON format.
2291
+ GLOBAL FLAGS
2292
+ --json Format output as json.
2271
2293
 
2272
2294
  EXAMPLES
2273
2295
  Log out:
@@ -2666,16 +2688,18 @@ Send a cloudevent to a function.
2666
2688
 
2667
2689
  ```
2668
2690
  USAGE
2669
- $ sf run function [-l <value> | ] [-H <value>] [-p <value>] [-s] [-o <value>] [-j]
2691
+ $ sf run function [--json] [-l <value> | ] [-H <value>] [-p <value>] [-s] [-o <value>]
2670
2692
 
2671
2693
  FLAGS
2672
2694
  -H, --headers=<value>... Set headers.
2673
- -j, --json Output list in JSON format.
2674
2695
  -l, --function-url=<value> URL of the function to run.
2675
2696
  -o, --connected-org=<value> Username or alias for the target org; overrides default target org.
2676
2697
  -p, --payload=<value> Set the payload of the cloudevent as a JSON object or a path to a file via @file.json.
2677
2698
  -s, --structured Set the cloudevent to be emitted as a structured JSON cloudevent.
2678
2699
 
2700
+ GLOBAL FLAGS
2701
+ --json Format output as json.
2702
+
2679
2703
  EXAMPLES
2680
2704
  Run a function:
2681
2705
 
@@ -2885,10 +2909,10 @@ Show information on your Salesforce Functions login.
2885
2909
 
2886
2910
  ```
2887
2911
  USAGE
2888
- $ sf whoami functions [-j]
2912
+ $ sf whoami functions [--json]
2889
2913
 
2890
- FLAGS
2891
- -j, --json Output list in JSON format.
2914
+ GLOBAL FLAGS
2915
+ --json Format output as json.
2892
2916
 
2893
2917
  DESCRIPTION
2894
2918
  Show information on your Salesforce Functions login.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "1.38.0",
9
+ "version": "1.39.0",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^1.9.5",
@@ -21,7 +21,7 @@
21
21
  "@sf/config": "npm:@salesforce/plugin-config@2.3.2",
22
22
  "@sf/deploy-retrieve": "npm:@salesforce/plugin-deploy-retrieve@1.5.2",
23
23
  "@sf/env": "npm:@salesforce/plugin-env@1.5.0",
24
- "@sf/functions": "npm:@salesforce/plugin-functions@1.13.1",
24
+ "@sf/functions": "npm:@salesforce/plugin-functions@1.13.4",
25
25
  "@sf/gen": "npm:@salesforce/plugin-generate@1.0.14",
26
26
  "@sf/info": "npm:@salesforce/plugin-info@2.0.1",
27
27
  "@sf/login": "npm:@salesforce/plugin-login@1.1.1",
@@ -4342,9 +4342,9 @@
4342
4342
  },
4343
4343
  "node_modules/@sf/functions": {
4344
4344
  "name": "@salesforce/plugin-functions",
4345
- "version": "1.13.1",
4346
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-functions/-/plugin-functions-1.13.1.tgz",
4347
- "integrity": "sha512-38io+EuHeAmdk1UDQzoQftcoIwv1/hScN+BGyBa06I6dUvsyZV/1MgJwgegm1BdLyTeGBR1rx14n4iixpOyhXw==",
4345
+ "version": "1.13.4",
4346
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-functions/-/plugin-functions-1.13.4.tgz",
4347
+ "integrity": "sha512-TEqKhHq1iCbkXJeiSsN4E1+ngjZO0/0Zxf8r23hFdupk6yR4eEWZoKCctVLrZtIcZZq9xjPt9omCnT1LX2LDTw==",
4348
4348
  "license": "BSD-3-Clause",
4349
4349
  "dependencies": {
4350
4350
  "@heroku-cli/color": "^1.1.14",
@@ -26915,9 +26915,9 @@
26915
26915
  }
26916
26916
  },
26917
26917
  "@sf/functions": {
26918
- "version": "npm:@salesforce/plugin-functions@1.13.1",
26919
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-functions/-/plugin-functions-1.13.1.tgz",
26920
- "integrity": "sha512-38io+EuHeAmdk1UDQzoQftcoIwv1/hScN+BGyBa06I6dUvsyZV/1MgJwgegm1BdLyTeGBR1rx14n4iixpOyhXw==",
26918
+ "version": "npm:@salesforce/plugin-functions@1.13.4",
26919
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-functions/-/plugin-functions-1.13.4.tgz",
26920
+ "integrity": "sha512-TEqKhHq1iCbkXJeiSsN4E1+ngjZO0/0Zxf8r23hFdupk6yR4eEWZoKCctVLrZtIcZZq9xjPt9omCnT1LX2LDTw==",
26921
26921
  "requires": {
26922
26922
  "@heroku-cli/color": "^1.1.14",
26923
26923
  "@heroku-cli/schema": "^1.0.25",
@@ -1 +1 @@
1
- {"version":"1.38.0","commands":{}}
1
+ {"version":"1.39.0","commands":{}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "1.38.0",
4
+ "version": "1.39.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run"
@@ -99,7 +99,7 @@
99
99
  "@sf/config": "npm:@salesforce/plugin-config@2.3.2",
100
100
  "@sf/deploy-retrieve": "npm:@salesforce/plugin-deploy-retrieve@1.5.2",
101
101
  "@sf/env": "npm:@salesforce/plugin-env@1.5.0",
102
- "@sf/functions": "npm:@salesforce/plugin-functions@1.13.1",
102
+ "@sf/functions": "npm:@salesforce/plugin-functions@1.13.4",
103
103
  "@sf/gen": "npm:@salesforce/plugin-generate@1.0.14",
104
104
  "@sf/info": "npm:@salesforce/plugin-info@2.0.1",
105
105
  "@sf/login": "npm:@salesforce/plugin-login@1.1.1",