@salesforce/cli 1.44.0 → 1.45.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 +2 -0
- package/README.md +48 -38
- package/npm-shrinkwrap.json +24019 -18640
- package/oclif.manifest.json +1 -1
- package/package.json +20 -20
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.45.0](https://github.com/salesforcecli/cli/compare/v1.44.0...v1.45.0) (2022-09-07)
|
|
6
|
+
|
|
5
7
|
## [1.44.0](https://github.com/salesforcecli/cli/compare/v1.43.0...v1.44.0) (2022-08-31)
|
|
6
8
|
|
|
7
9
|
## [1.43.0](https://github.com/salesforcecli/cli/compare/v1.42.0...v1.43.0) (2022-08-24)
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ $ npm install -g @salesforce/cli
|
|
|
32
32
|
$ sf COMMAND
|
|
33
33
|
running command...
|
|
34
34
|
$ sf (--version|-v)
|
|
35
|
-
@salesforce/cli/1.
|
|
35
|
+
@salesforce/cli/1.45.0 linux-x64 node-v14.20.0
|
|
36
36
|
$ sf --help [COMMAND]
|
|
37
37
|
USAGE
|
|
38
38
|
$ sf COMMAND
|
|
@@ -182,11 +182,11 @@ EXAMPLES
|
|
|
182
182
|
$ sf config get target-org api-version --verbose
|
|
183
183
|
|
|
184
184
|
CONFIGURATION VARIABLES
|
|
185
|
-
apiVersion API version of your project. Default: API version of your Dev Hub org.
|
|
186
|
-
disableTelemetry Disables the collection of usage and user environment information, etc. Default:
|
|
187
|
-
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
|
|
188
|
-
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
189
|
-
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
185
|
+
apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
|
|
186
|
+
disableTelemetry Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)
|
|
187
|
+
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
|
|
188
|
+
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)
|
|
189
|
+
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)
|
|
190
190
|
target-org Username or alias of the org that all commands run against by default. (sf only)
|
|
191
191
|
target-dev-hub Username or alias of your default Dev Hub org. (sf only)
|
|
192
192
|
```
|
|
@@ -262,11 +262,11 @@ EXAMPLES
|
|
|
262
262
|
$ sf config set --global target-org=my-scratch-org
|
|
263
263
|
|
|
264
264
|
CONFIGURATION VARIABLES
|
|
265
|
-
apiVersion API version of your project. Default: API version of your Dev Hub org.
|
|
266
|
-
disableTelemetry Disables the collection of usage and user environment information, etc. Default:
|
|
267
|
-
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
|
|
268
|
-
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
269
|
-
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
265
|
+
apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
|
|
266
|
+
disableTelemetry Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)
|
|
267
|
+
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
|
|
268
|
+
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)
|
|
269
|
+
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)
|
|
270
270
|
target-org Username or alias of the org that all commands run against by default. (sf only)
|
|
271
271
|
target-dev-hub Username or alias of your default Dev Hub org. (sf only)
|
|
272
272
|
```
|
|
@@ -301,11 +301,11 @@ EXAMPLES
|
|
|
301
301
|
$ sf config unset target-org api-version --global
|
|
302
302
|
|
|
303
303
|
CONFIGURATION VARIABLES
|
|
304
|
-
apiVersion API version of your project. Default: API version of your Dev Hub org.
|
|
305
|
-
disableTelemetry Disables the collection of usage and user environment information, etc. Default:
|
|
306
|
-
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
|
|
307
|
-
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
308
|
-
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
304
|
+
apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
|
|
305
|
+
disableTelemetry Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)
|
|
306
|
+
instanceUrl URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)
|
|
307
|
+
maxQueryLimit Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)
|
|
308
|
+
restDeploy Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)
|
|
309
309
|
target-org Username or alias of the org that all commands run against by default. (sf only)
|
|
310
310
|
target-dev-hub Username or alias of your default Dev Hub org. (sf only)
|
|
311
311
|
```
|
|
@@ -352,7 +352,7 @@ EXAMPLES
|
|
|
352
352
|
$ sf deploy --interactive
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.
|
|
355
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.6.0/src/commands/deploy.ts)_
|
|
356
356
|
|
|
357
357
|
## `sf deploy functions`
|
|
358
358
|
|
|
@@ -1120,15 +1120,13 @@ FLAGS
|
|
|
1120
1120
|
-a, --alias=<value> Alias for the sandbox org.
|
|
1121
1121
|
-c, --clone=<value> Name of the sandbox org to clone.
|
|
1122
1122
|
-f, --definition-file=<value> Path to a sandbox definition file.
|
|
1123
|
-
-i, --poll-interval=<seconds>
|
|
1124
|
-
between retries.
|
|
1123
|
+
-i, --poll-interval=<seconds> Number of seconds to wait between retries.
|
|
1125
1124
|
-l, --license-type=(Developer|Developer_Pro|Partial|Full) [default: Developer] Type of sandbox license.
|
|
1126
1125
|
-n, --name=<value> Name of the sandbox org.
|
|
1127
1126
|
-o, --target-org=<value> Username or alias of the production org that contains the
|
|
1128
1127
|
sandbox license.
|
|
1129
1128
|
-s, --set-default Set the sandbox org as your default org.
|
|
1130
|
-
-w, --wait=<minutes>
|
|
1131
|
-
the sandbox org to be ready.
|
|
1129
|
+
-w, --wait=<minutes> Number of minutes to wait for the sandbox org to be ready.
|
|
1132
1130
|
--async Request the sandbox creation, but don't wait for it to
|
|
1133
1131
|
complete.
|
|
1134
1132
|
--no-prompt Don't prompt for confirmation about the sandbox
|
|
@@ -1232,8 +1230,8 @@ FLAGS
|
|
|
1232
1230
|
-t, --[no-]track-source Use source tracking for this scratch org. Set --no-track-source to disable source
|
|
1233
1231
|
tracking.
|
|
1234
1232
|
-v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
|
|
1235
|
-
-w, --wait=<minutes>
|
|
1236
|
-
-y, --duration-days=<days>
|
|
1233
|
+
-w, --wait=<minutes> Number of minutes to wait for the scratch org to be ready.
|
|
1234
|
+
-y, --duration-days=<days> Number of days before the org expires.
|
|
1237
1235
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1238
1236
|
--async Request the org, but don't wait for it to complete.
|
|
1239
1237
|
|
|
@@ -2257,7 +2255,7 @@ EXAMPLES
|
|
|
2257
2255
|
$ sf login
|
|
2258
2256
|
```
|
|
2259
2257
|
|
|
2260
|
-
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.
|
|
2258
|
+
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.2/src/commands/login.ts)_
|
|
2261
2259
|
|
|
2262
2260
|
## `sf login functions`
|
|
2263
2261
|
|
|
@@ -2526,7 +2524,7 @@ EXAMPLES
|
|
|
2526
2524
|
$ sf logout --no-prompt
|
|
2527
2525
|
```
|
|
2528
2526
|
|
|
2529
|
-
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.
|
|
2527
|
+
_See code: [@salesforce/plugin-login](https://github.com/salesforcecli/plugin-login/blob/v1.1.2/src/commands/logout.ts)_
|
|
2530
2528
|
|
|
2531
2529
|
## `sf logout functions`
|
|
2532
2530
|
|
|
@@ -2847,20 +2845,24 @@ Retrieve metadata in source format from an org to your local project.
|
|
|
2847
2845
|
|
|
2848
2846
|
```
|
|
2849
2847
|
USAGE
|
|
2850
|
-
$ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>]
|
|
2851
|
-
[-w <value>]
|
|
2848
|
+
$ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>]
|
|
2849
|
+
[--single-package -t <value>] [-o <value>] [-w <value>] [-z ] [--zip-file-name <value> ]
|
|
2852
2850
|
|
|
2853
2851
|
FLAGS
|
|
2854
|
-
-a, --api-version=<value>
|
|
2855
|
-
-c, --ignore-conflicts
|
|
2856
|
-
|
|
2857
|
-
-d, --source-dir=<value>...
|
|
2858
|
-
-m, --metadata=<value>...
|
|
2859
|
-
-n, --package-name=<value>...
|
|
2860
|
-
-o, --target-org=<value>
|
|
2861
|
-
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2852
|
+
-a, --api-version=<value> Target API version for the retrieve.
|
|
2853
|
+
-c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
|
|
2854
|
+
overwrite your local changes.
|
|
2855
|
+
-d, --source-dir=<value>... File paths for source to retrieve from the org.
|
|
2856
|
+
-m, --metadata=<value>... Metadata component names to retrieve.
|
|
2857
|
+
-n, --package-name=<value>... Package names to retrieve.
|
|
2858
|
+
-o, --target-org=<value> Login username or alias for the target org.
|
|
2859
|
+
-t, --target-metadata-dir=<value> Directory root for the retrieved files.
|
|
2860
|
+
-w, --wait=<value> Number of minutes to wait for the command to complete and display results to the
|
|
2861
|
+
terminal window.
|
|
2862
|
+
-x, --manifest=<value> File path for the manifest (package.xml) that specifies the components to retrieve.
|
|
2863
|
+
-z, --unzip Extract all files from the retrieved zip file.
|
|
2864
|
+
--single-package Indicates that the zip file points to a directory structure for a single package.
|
|
2865
|
+
--zip-file-name=<value> File name to use for the retrieved zip file.
|
|
2864
2866
|
|
|
2865
2867
|
GLOBAL FLAGS
|
|
2866
2868
|
--json Format output as json.
|
|
@@ -2918,6 +2920,14 @@ EXAMPLES
|
|
|
2918
2920
|
$ sf retrieve metadata --package-name Package1 "PackageName With Spaces" Package3
|
|
2919
2921
|
$ sf retrieve metadata --package-name Package1 --package-name "PackageName With Spaces" --package-name Package3
|
|
2920
2922
|
|
|
2923
|
+
Retrieve using Metadata API
|
|
2924
|
+
|
|
2925
|
+
$ sf retrieve metadata --source-dir force-app --target-metadata-dir output
|
|
2926
|
+
|
|
2927
|
+
Retrieve using Metadata API and automatically unzip the contents
|
|
2928
|
+
|
|
2929
|
+
$ sf retrieve metadata --source-dir force-app --target-metadata-dir output --unzip
|
|
2930
|
+
|
|
2921
2931
|
FLAG DESCRIPTIONS
|
|
2922
2932
|
-a, --api-version=<value> Target API version for the retrieve.
|
|
2923
2933
|
|
|
@@ -3208,7 +3218,7 @@ FLAG DESCRIPTIONS
|
|
|
3208
3218
|
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
3209
3219
|
```
|
|
3210
3220
|
|
|
3211
|
-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.1.
|
|
3221
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.1.2/src/commands/version.ts)_
|
|
3212
3222
|
|
|
3213
3223
|
## `sf whatsnew [-v <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
3214
3224
|
|