@salesforce/cli 1.9.1 → 1.10.0-dev
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 +21 -26
- package/npm-shrinkwrap.json +60442 -0
- package/oclif.manifest.json +1 -1
- package/package.json +18 -15
- package/CHANGELOG.md +0 -327
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
|
+
@salesforce/cli/1.10.0 linux-x64 node-v14.18.3
|
|
35
35
|
$ sf --help [COMMAND]
|
|
36
36
|
USAGE
|
|
37
37
|
$ sf COMMAND
|
|
@@ -322,7 +322,7 @@ EXAMPLES
|
|
|
322
322
|
$ sf deploy --interactive
|
|
323
323
|
```
|
|
324
324
|
|
|
325
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.0.
|
|
325
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.0.6/src/commands/deploy.ts)_
|
|
326
326
|
|
|
327
327
|
## `sf deploy functions`
|
|
328
328
|
|
|
@@ -429,8 +429,8 @@ FLAG DESCRIPTIONS
|
|
|
429
429
|
75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and
|
|
430
430
|
trigger individually and is different than the overall coverage percentage.
|
|
431
431
|
|
|
432
|
-
- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed
|
|
433
|
-
This test level is the default for production deployments that include Apex classes or triggers.
|
|
432
|
+
- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked
|
|
433
|
+
packages. This test level is the default for production deployments that include Apex classes or triggers.
|
|
434
434
|
|
|
435
435
|
- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
|
|
436
436
|
|
|
@@ -1070,7 +1070,7 @@ EXAMPLES
|
|
|
1070
1070
|
$ sf login
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
|
-
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.
|
|
1073
|
+
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.7/src/commands/login.ts)_
|
|
1074
1074
|
|
|
1075
1075
|
## `sf login functions`
|
|
1076
1076
|
|
|
@@ -1337,7 +1337,7 @@ EXAMPLES
|
|
|
1337
1337
|
$ sf logout --no-prompt
|
|
1338
1338
|
```
|
|
1339
1339
|
|
|
1340
|
-
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.
|
|
1340
|
+
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.0.7/src/commands/logout.ts)_
|
|
1341
1341
|
|
|
1342
1342
|
## `sf logout functions`
|
|
1343
1343
|
|
|
@@ -1673,39 +1673,34 @@ Build and run a Salesforce Function.
|
|
|
1673
1673
|
|
|
1674
1674
|
```
|
|
1675
1675
|
USAGE
|
|
1676
|
-
$ sf run function start [-
|
|
1676
|
+
$ sf run function start [-b <value>] [-l javascript|typescript|java|auto] [-p <value>] [-v]
|
|
1677
1677
|
|
|
1678
1678
|
FLAGS
|
|
1679
|
-
-b, --debug-port=<value>
|
|
1680
|
-
-
|
|
1681
|
-
-p, --port=<value>
|
|
1682
|
-
-v, --verbose
|
|
1683
|
-
--clear-cache Clear associated cache before executing.
|
|
1684
|
-
--network=<value> Connect and build containers to a network. This can be useful to build containers which
|
|
1685
|
-
require a local resource.
|
|
1686
|
-
--no-pull Skip pulling builder image before use.
|
|
1679
|
+
-b, --debug-port=<value> [default: 9229] Port for remote debugging.
|
|
1680
|
+
-l, --language=(javascript|typescript|java|auto) [default: auto]
|
|
1681
|
+
-p, --port=<value> [default: 8080] Port for running the function.
|
|
1682
|
+
-v, --verbose Output additional logs.
|
|
1687
1683
|
|
|
1688
1684
|
DESCRIPTION
|
|
1689
1685
|
Build and run a Salesforce Function.
|
|
1690
1686
|
|
|
1691
1687
|
Run this command from the directory of your Salesforce Functions project.
|
|
1692
1688
|
|
|
1693
|
-
This command will run the target function
|
|
1694
|
-
|
|
1695
|
-
|
|
1689
|
+
This command will run the target function locally (on the same operating system as this CLI), just like the `local`
|
|
1690
|
+
subcommand.
|
|
1691
|
+
|
|
1692
|
+
Previously, this command ran functions in a container. Container mode is still supported via the `container`
|
|
1693
|
+
subcommand. Arguments relevant to container mode are still accepted, but are deprecated, ignored, and will be dropped
|
|
1694
|
+
in a future release.
|
|
1696
1695
|
|
|
1697
1696
|
EXAMPLES
|
|
1698
|
-
Build and
|
|
1697
|
+
Build a function and start the invoker
|
|
1699
1698
|
|
|
1700
1699
|
$ sf run function start
|
|
1701
1700
|
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
$ sf run function start --port 5000 --verbose
|
|
1705
|
-
|
|
1706
|
-
Add environment variables and specify a network:
|
|
1701
|
+
Start the invoker with a specific language and port
|
|
1707
1702
|
|
|
1708
|
-
$ sf run function start --
|
|
1703
|
+
$ sf run function start --port 5000 --language javascript
|
|
1709
1704
|
```
|
|
1710
1705
|
|
|
1711
1706
|
## `sf run function start container`
|
|
@@ -1787,7 +1782,7 @@ DESCRIPTION
|
|
|
1787
1782
|
update the sf CLI
|
|
1788
1783
|
```
|
|
1789
1784
|
|
|
1790
|
-
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.
|
|
1785
|
+
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.5/src/commands/update.ts)_
|
|
1791
1786
|
|
|
1792
1787
|
## `sf version`
|
|
1793
1788
|
|