@salesforce/cli 1.3.0 → 1.3.1
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 +7 -0
- package/README.md +31 -15
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.3.1](https://github.com/salesforcecli/cli/compare/v1.3.0...v1.3.1) (2021-11-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* bump versions ([7983bcc](https://github.com/salesforcecli/cli/commit/7983bcc2bc8ccfdc1123a6dce2548b70e1811d1f))
|
|
11
|
+
|
|
5
12
|
## [1.3.0](https://github.com/salesforcecli/cli/compare/v1.2.0...v1.3.0) (2021-11-04)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -438,6 +438,10 @@ FLAGS
|
|
|
438
438
|
DESCRIPTION
|
|
439
439
|
Create a compute environment for use with Salesforce Functions.
|
|
440
440
|
|
|
441
|
+
Compute environments must be connected to a Salesforce org. By default the command uses your local environment's
|
|
442
|
+
connected org. Use the '--connected-org' flag to specify a specific org. Run 'sf env list' to see a list of
|
|
443
|
+
environments.
|
|
444
|
+
|
|
441
445
|
EXAMPLES
|
|
442
446
|
Create a compute environment to run Salesforce Functions:
|
|
443
447
|
|
|
@@ -467,6 +471,12 @@ FLAGS
|
|
|
467
471
|
DESCRIPTION
|
|
468
472
|
Delete an environment.
|
|
469
473
|
|
|
474
|
+
You must include the name of the environment to delete using '--target-compute'. Run 'sf env list' to see a list of
|
|
475
|
+
environments.
|
|
476
|
+
|
|
477
|
+
Running this command will prompt a confirmation. If you want to skip this confirmation, use the '--confirm' flag and
|
|
478
|
+
the environment alias to skip confirmation.
|
|
479
|
+
|
|
470
480
|
EXAMPLES
|
|
471
481
|
Delete a compute environment:
|
|
472
482
|
|
|
@@ -597,9 +607,6 @@ USAGE
|
|
|
597
607
|
FLAGS
|
|
598
608
|
-e, --target-compute=<value> Compute environment name to retrieve logs.
|
|
599
609
|
|
|
600
|
-
DESCRIPTION
|
|
601
|
-
Stream log output for an environment.
|
|
602
|
-
|
|
603
610
|
EXAMPLES
|
|
604
611
|
Stream log output:
|
|
605
612
|
|
|
@@ -621,6 +628,9 @@ FLAGS
|
|
|
621
628
|
DESCRIPTION
|
|
622
629
|
Add log drain to a specified environment.
|
|
623
630
|
|
|
631
|
+
Both '--target-compute' and '--url' are required flags. '--url' should be a HTTP or HTTPS URL that can receive the log
|
|
632
|
+
drain messages.
|
|
633
|
+
|
|
624
634
|
EXAMPLES
|
|
625
635
|
Add a log drain:
|
|
626
636
|
|
|
@@ -639,9 +649,6 @@ FLAGS
|
|
|
639
649
|
-e, --target-compute=<value> Environment name.
|
|
640
650
|
-j, --json Output list in JSON format.
|
|
641
651
|
|
|
642
|
-
DESCRIPTION
|
|
643
|
-
List log drains connected to a specified environment.
|
|
644
|
-
|
|
645
652
|
EXAMPLES
|
|
646
653
|
List log drains:
|
|
647
654
|
|
|
@@ -667,6 +674,8 @@ FLAGS
|
|
|
667
674
|
DESCRIPTION
|
|
668
675
|
Remove log drain from a specified environment.
|
|
669
676
|
|
|
677
|
+
Both '--target-compute' and '--drain-url' are required flags.
|
|
678
|
+
|
|
670
679
|
EXAMPLES
|
|
671
680
|
Remove a logdrain:
|
|
672
681
|
|
|
@@ -744,6 +753,8 @@ FLAGS
|
|
|
744
753
|
DESCRIPTION
|
|
745
754
|
Display a single config variable for an environment.
|
|
746
755
|
|
|
756
|
+
You must provide the '--target-compute' flag and the key to retrieve.
|
|
757
|
+
|
|
747
758
|
EXAMPLES
|
|
748
759
|
Get a config variable:
|
|
749
760
|
|
|
@@ -765,6 +776,8 @@ FLAGS
|
|
|
765
776
|
DESCRIPTION
|
|
766
777
|
List your environment's config vars in a table.
|
|
767
778
|
|
|
779
|
+
Use the '--json' flag to return config vars in JSON format.
|
|
780
|
+
|
|
768
781
|
EXAMPLES
|
|
769
782
|
List config vars:
|
|
770
783
|
|
|
@@ -786,9 +799,6 @@ USAGE
|
|
|
786
799
|
FLAGS
|
|
787
800
|
-e, --target-compute=<value> Environment name.
|
|
788
801
|
|
|
789
|
-
DESCRIPTION
|
|
790
|
-
Set a single config value for an environment.
|
|
791
|
-
|
|
792
802
|
EXAMPLES
|
|
793
803
|
Set a config value:
|
|
794
804
|
|
|
@@ -809,6 +819,8 @@ FLAGS
|
|
|
809
819
|
DESCRIPTION
|
|
810
820
|
Unset a single config value for an environment.
|
|
811
821
|
|
|
822
|
+
Run 'sf env var list' to see a list of config values that can be unset.
|
|
823
|
+
|
|
812
824
|
EXAMPLES
|
|
813
825
|
Unset a value:
|
|
814
826
|
|
|
@@ -830,6 +842,8 @@ FLAGS
|
|
|
830
842
|
DESCRIPTION
|
|
831
843
|
Create a Salesforce Function with basic scaffolding specific to a given language.
|
|
832
844
|
|
|
845
|
+
Both '--language' and '--name' are required flags. Function names must start with a capital letter.
|
|
846
|
+
|
|
833
847
|
EXAMPLES
|
|
834
848
|
Create a JavaScript function:
|
|
835
849
|
|
|
@@ -994,6 +1008,8 @@ USAGE
|
|
|
994
1008
|
DESCRIPTION
|
|
995
1009
|
Log in to Salesforce Functions.
|
|
996
1010
|
|
|
1011
|
+
This step is required to develop or deploy Salesforce Functions.
|
|
1012
|
+
|
|
997
1013
|
EXAMPLES
|
|
998
1014
|
Log in to Salesforce Functions:
|
|
999
1015
|
|
|
@@ -1021,6 +1037,8 @@ FLAGS
|
|
|
1021
1037
|
DESCRIPTION
|
|
1022
1038
|
Login using JWT instead of default web-based flow. This will authenticate you with both sf and Salesforce Functions.
|
|
1023
1039
|
|
|
1040
|
+
Use this command when executing from a script.
|
|
1041
|
+
|
|
1024
1042
|
EXAMPLES
|
|
1025
1043
|
Log in using JWT:
|
|
1026
1044
|
|
|
@@ -1253,9 +1271,6 @@ Log out of your Salesforce Functions account.
|
|
|
1253
1271
|
USAGE
|
|
1254
1272
|
$ sf logout functions
|
|
1255
1273
|
|
|
1256
|
-
DESCRIPTION
|
|
1257
|
-
Log out of your Salesforce Functions account.
|
|
1258
|
-
|
|
1259
1274
|
EXAMPLES
|
|
1260
1275
|
Log out:
|
|
1261
1276
|
|
|
@@ -1566,9 +1581,6 @@ FLAGS
|
|
|
1566
1581
|
-p, --payload=<value> Set the payload of the cloudevent as a JSON object or a path to a file via @file.json.
|
|
1567
1582
|
-s, --structured Set the cloudevent to be emitted as a structured JSON cloudevent.
|
|
1568
1583
|
|
|
1569
|
-
DESCRIPTION
|
|
1570
|
-
Send a cloudevent to a function.
|
|
1571
|
-
|
|
1572
1584
|
EXAMPLES
|
|
1573
1585
|
Run a function:
|
|
1574
1586
|
|
|
@@ -1600,6 +1612,8 @@ FLAGS
|
|
|
1600
1612
|
DESCRIPTION
|
|
1601
1613
|
Build and run a Salesforce Function locally.
|
|
1602
1614
|
|
|
1615
|
+
Run this command from the directory of your Salesforce Functions project.
|
|
1616
|
+
|
|
1603
1617
|
EXAMPLES
|
|
1604
1618
|
Build and run a function:
|
|
1605
1619
|
|
|
@@ -1628,6 +1642,8 @@ FLAGS
|
|
|
1628
1642
|
DESCRIPTION
|
|
1629
1643
|
Show information on your Salesforce Functions login.
|
|
1630
1644
|
|
|
1645
|
+
Returns your email and ID. Use '--show-token' to show your Salesforce Functions token.
|
|
1646
|
+
|
|
1631
1647
|
EXAMPLES
|
|
1632
1648
|
Get account information:
|
|
1633
1649
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.3.
|
|
1
|
+
{"version":"1.3.1","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.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@oclif/core": "1.0.
|
|
75
|
+
"@oclif/core": "^1.0.3",
|
|
76
76
|
"@oclif/plugin-help": "5.1.1",
|
|
77
77
|
"@oclif/plugin-not-found": "2.2.0",
|
|
78
78
|
"@oclif/plugin-plugins": "2.0.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@sf/deploy-retrieve": "npm:@salesforce/plugin-deploy-retrieve@1.0.5",
|
|
83
83
|
"@sf/drm": "npm:@salesforce/plugin-deploy-retrieve-metadata@1.0.7",
|
|
84
84
|
"@sf/env": "npm:@salesforce/plugin-env@1.0.3",
|
|
85
|
-
"@sf/functions": "npm:@salesforce/plugin-functions@1.1.
|
|
85
|
+
"@sf/functions": "npm:@salesforce/plugin-functions@1.1.7",
|
|
86
86
|
"@sf/gen": "npm:@salesforce/plugin-generate@1.0.5",
|
|
87
87
|
"@sf/login": "npm:@salesforce/plugin-login@1.0.5",
|
|
88
88
|
"tslib": "^2.3.1"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@oclif/test": "^1",
|
|
146
146
|
"@salesforce/dev-config": "^2.1.2",
|
|
147
147
|
"@salesforce/dev-scripts": "^0.9.18",
|
|
148
|
-
"@salesforce/plugin-release-management": "^2.
|
|
148
|
+
"@salesforce/plugin-release-management": "^2.6.0",
|
|
149
149
|
"@salesforce/prettier-config": "^0.0.2",
|
|
150
150
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
151
151
|
"@typescript-eslint/parser": "^4.33.0",
|
|
@@ -159,12 +159,12 @@
|
|
|
159
159
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
160
160
|
"eslint-config-salesforce-typescript": "^0.2.8",
|
|
161
161
|
"eslint-plugin-header": "^3.1.1",
|
|
162
|
-
"eslint-plugin-import": "^2.
|
|
162
|
+
"eslint-plugin-import": "^2.25.3",
|
|
163
163
|
"eslint-plugin-jsdoc": "^35.5.1",
|
|
164
164
|
"eslint-plugin-prettier": "^3.4.1",
|
|
165
165
|
"globby": "^11.0.4",
|
|
166
166
|
"husky": "^4.3.8",
|
|
167
|
-
"mocha": "^9.1.
|
|
167
|
+
"mocha": "^9.1.3",
|
|
168
168
|
"nyc": "^15.1.0",
|
|
169
169
|
"oclif": "^2.0.0-main.6",
|
|
170
170
|
"prettier": "^2.4.1",
|