@salesforce/core 3.6.2 → 3.6.6
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 +37 -6
- package/lib/config/config.d.ts +4 -0
- package/lib/config/config.js +4 -0
- package/lib/global.js +1 -1
- package/lib/globalInfo/accessors/aliasAccessor.d.ts +18 -1
- package/lib/globalInfo/accessors/aliasAccessor.js +29 -6
- package/lib/logger.d.ts +1 -1
- package/lib/logger.js +1 -1
- package/lib/util/sfdcUrl.js +1 -0
- package/messages/config.md +13 -9
- package/messages/envVars.md +55 -55
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,26 +2,43 @@
|
|
|
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
|
-
### [3.6.
|
|
5
|
+
### [3.6.6](https://github.com/forcedotcom/sfdx-core/compare/v3.6.5...v3.6.6) (2021-10-08)
|
|
6
6
|
|
|
7
|
+
### [3.6.5](https://github.com/forcedotcom/sfdx-core/compare/v3.6.4...v3.6.5) (2021-09-29)
|
|
7
8
|
|
|
8
9
|
### Bug Fixes
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
- add getValue to AliasAccessor ([c4b69f5](https://github.com/forcedotcom/sfdx-core/commit/c4b69f5ff38547fad640c64833291fe0c6e06a79))
|
|
11
12
|
|
|
12
|
-
### [3.6.
|
|
13
|
+
### [3.6.4](https://github.com/forcedotcom/sfdx-core/compare/v3.6.3...v3.6.4) (2021-09-23)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- edit the env var blurbs ([#482](https://github.com/forcedotcom/sfdx-core/issues/482)) ([bbbdb6d](https://github.com/forcedotcom/sfdx-core/commit/bbbdb6d0800015e94ce0f0c551eec8ed73dd87c6))
|
|
13
18
|
|
|
19
|
+
### [3.6.3](https://github.com/forcedotcom/sfdx-core/compare/v3.6.2...v3.6.3) (2021-09-23)
|
|
14
20
|
|
|
15
21
|
### Bug Fixes
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
- edit the config var blurbs ([#480](https://github.com/forcedotcom/sfdx-core/issues/480)) ([f845512](https://github.com/forcedotcom/sfdx-core/commit/f8455121bfd96f27495bc124dc06570632dfce70))
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
### [3.6.2](https://github.com/forcedotcom/sfdx-core/compare/v3.6.1...v3.6.2) (2021-09-17)
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- improve time to build auths for many orgs @W-9914839@ ([#478](https://github.com/forcedotcom/sfdx-core/issues/478)) ([c788541](https://github.com/forcedotcom/sfdx-core/commit/c7885415d59994b28552227f0b84dcee5d3ec7cf))
|
|
30
|
+
|
|
31
|
+
### [3.6.1](https://github.com/forcedotcom/sfdx-core/compare/v3.6.0...v3.6.1) (2021-09-13)
|
|
20
32
|
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
- remove tokens associated with org ([#477](https://github.com/forcedotcom/sfdx-core/issues/477)) ([5034fa2](https://github.com/forcedotcom/sfdx-core/commit/5034fa2d4c52d347c00499e137a71366e4feba7f))
|
|
36
|
+
|
|
37
|
+
## [3.6.0](https://github.com/forcedotcom/sfdx-core/compare/v3.5.0...v3.6.0) (2021-09-10)
|
|
21
38
|
|
|
22
39
|
### Features
|
|
23
40
|
|
|
24
|
-
|
|
41
|
+
- add help section helper ([#474](https://github.com/forcedotcom/sfdx-core/issues/474)) ([b34c2d7](https://github.com/forcedotcom/sfdx-core/commit/b34c2d7a442aed2cf091fd394a7c3656287d1dbf))
|
|
25
42
|
|
|
26
43
|
## [3.5.0](https://github.com/forcedotcom/sfdx-core/compare/v3.4.5...v3.5.0) (2021-09-09)
|
|
27
44
|
|
|
@@ -189,6 +206,20 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
189
206
|
- add GlobalInfo config file ([#397](https://github.com/forcedotcom/sfdx-core/issues/397)) ([579998b](https://github.com/forcedotcom/sfdx-core/commit/579998b6ee70dbb9772e65896bbabf6d812aae23))
|
|
190
207
|
- default to reading files from cache ([12b5930](https://github.com/forcedotcom/sfdx-core/commit/12b59301df96395c4edcbfb0816dbddd45af95db))
|
|
191
208
|
|
|
209
|
+
### [2.28.1](https://github.com/forcedotcom/sfdx-core/compare/v2.28.0...v2.28.1) (2021-10-06)
|
|
210
|
+
|
|
211
|
+
### Bug Fixes
|
|
212
|
+
|
|
213
|
+
- crmforce.mil ([e263d5d](https://github.com/forcedotcom/sfdx-core/commit/e263d5d74be9c0651e5c2676d6eec1c31fca05e4))
|
|
214
|
+
|
|
215
|
+
## [2.28.0](https://github.com/forcedotcom/sfdx-core/compare/v2.27.2...v2.28.0) (2021-09-16)
|
|
216
|
+
|
|
217
|
+
### Features
|
|
218
|
+
|
|
219
|
+
- add custom templates config ([3cf8a8c](https://github.com/forcedotcom/sfdx-core/commit/3cf8a8cee1e7196efced989dcca9b545e1283386))
|
|
220
|
+
- add validator for custom templates config ([dd2bcfe](https://github.com/forcedotcom/sfdx-core/commit/dd2bcfe8e7fee5c5c1c6321189ec04288103d5b6))
|
|
221
|
+
- update config name ([72e84bf](https://github.com/forcedotcom/sfdx-core/commit/72e84bfacef48a1c2d00a61ebbae3f632601abbd))
|
|
222
|
+
|
|
192
223
|
### [2.27.2](https://github.com/forcedotcom/sfdx-core/compare/v2.27.1...v2.27.2) (2021-08-05)
|
|
193
224
|
|
|
194
225
|
### Bug Fixes
|
package/lib/config/config.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ export declare enum SfdxPropertyKeys {
|
|
|
80
80
|
* Disables telemetry reporting
|
|
81
81
|
*/
|
|
82
82
|
DISABLE_TELEMETRY = "disableTelemetry",
|
|
83
|
+
/**
|
|
84
|
+
* Custom templates repo or local location.
|
|
85
|
+
*/
|
|
86
|
+
CUSTOM_ORG_METADATA_TEMPLATES = "customOrgMetadataTemplates",
|
|
83
87
|
/**
|
|
84
88
|
* allows users to override the 10,000 result query limit
|
|
85
89
|
*/
|
package/lib/config/config.js
CHANGED
|
@@ -73,6 +73,10 @@ var SfdxPropertyKeys;
|
|
|
73
73
|
* Disables telemetry reporting
|
|
74
74
|
*/
|
|
75
75
|
SfdxPropertyKeys["DISABLE_TELEMETRY"] = "disableTelemetry";
|
|
76
|
+
/**
|
|
77
|
+
* Custom templates repo or local location.
|
|
78
|
+
*/
|
|
79
|
+
SfdxPropertyKeys["CUSTOM_ORG_METADATA_TEMPLATES"] = "customOrgMetadataTemplates";
|
|
76
80
|
/**
|
|
77
81
|
* allows users to override the 10,000 result query limit
|
|
78
82
|
*/
|
package/lib/global.js
CHANGED
|
@@ -79,5 +79,5 @@ Global.SF_DIR = path.join(os.homedir(), Global.SF_STATE_FOLDER);
|
|
|
79
79
|
/**
|
|
80
80
|
* The full system path to the global log file.
|
|
81
81
|
*/
|
|
82
|
-
Global.LOG_FILE_PATH = path.join(Global.
|
|
82
|
+
Global.LOG_FILE_PATH = path.join(Global.SF_DIR, 'sf.log');
|
|
83
83
|
//# sourceMappingURL=global.js.map
|
|
@@ -6,7 +6,7 @@ export declare class AliasAccessor {
|
|
|
6
6
|
private globalInfo;
|
|
7
7
|
constructor(globalInfo: GlobalInfo);
|
|
8
8
|
/**
|
|
9
|
-
* Returns all the aliases for all the
|
|
9
|
+
* Returns all the aliases for all the values
|
|
10
10
|
*/
|
|
11
11
|
getAll(): SfAliases;
|
|
12
12
|
/**
|
|
@@ -21,12 +21,29 @@ export declare class AliasAccessor {
|
|
|
21
21
|
* @param entity the aliasable entity that you want to get the alias of
|
|
22
22
|
*/
|
|
23
23
|
get(entity: Aliasable): Nullable<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the value that corresponds to the given alias if it exists
|
|
26
|
+
*
|
|
27
|
+
* @param alias the alias that corresponds to a value
|
|
28
|
+
*/
|
|
29
|
+
getValue(alias: string): Nullable<string>;
|
|
24
30
|
/**
|
|
25
31
|
* Returns the username that corresponds to the given alias if it exists
|
|
26
32
|
*
|
|
27
33
|
* @param alias the alias that corresponds to a username
|
|
28
34
|
*/
|
|
29
35
|
getUsername(alias: string): Nullable<string>;
|
|
36
|
+
/**
|
|
37
|
+
* If the provided string is an alias, it returns the corresponding value.
|
|
38
|
+
* If the provided string is not an alias, we assume that the provided string
|
|
39
|
+
* is the value and return it.
|
|
40
|
+
*
|
|
41
|
+
* This method is helpful when you don't know if the string you have is a value
|
|
42
|
+
* or an alias.
|
|
43
|
+
*
|
|
44
|
+
* @param valueOrAlias a string that might be a value or might be an alias
|
|
45
|
+
*/
|
|
46
|
+
resolveValue(valueOrAlias: string): string;
|
|
30
47
|
/**
|
|
31
48
|
* If the provided string is an alias, it returns the corresponding username.
|
|
32
49
|
* If the provided string is not an alias, we assume that the provided string
|
|
@@ -16,9 +16,9 @@ class AliasAccessor {
|
|
|
16
16
|
getAll(entity) {
|
|
17
17
|
const all = this.globalInfo.get(types_1.SfInfoKeys.ALIASES) || {};
|
|
18
18
|
if (entity) {
|
|
19
|
-
const
|
|
19
|
+
const value = this.getNameOf(entity);
|
|
20
20
|
return Object.entries(all)
|
|
21
|
-
.filter((entry) => entry[1] ===
|
|
21
|
+
.filter((entry) => entry[1] === value)
|
|
22
22
|
.map((entry) => entry[0]);
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
@@ -34,6 +34,15 @@ class AliasAccessor {
|
|
|
34
34
|
var _a;
|
|
35
35
|
return (_a = this.getAll(entity).find((alias) => alias)) !== null && _a !== void 0 ? _a : null;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns the value that corresponds to the given alias if it exists
|
|
39
|
+
*
|
|
40
|
+
* @param alias the alias that corresponds to a value
|
|
41
|
+
*/
|
|
42
|
+
getValue(alias) {
|
|
43
|
+
var _a;
|
|
44
|
+
return (_a = this.getAll()[alias]) !== null && _a !== void 0 ? _a : null;
|
|
45
|
+
}
|
|
37
46
|
/**
|
|
38
47
|
* Returns the username that corresponds to the given alias if it exists
|
|
39
48
|
*
|
|
@@ -43,6 +52,20 @@ class AliasAccessor {
|
|
|
43
52
|
var _a;
|
|
44
53
|
return (_a = this.getAll()[alias]) !== null && _a !== void 0 ? _a : null;
|
|
45
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* If the provided string is an alias, it returns the corresponding value.
|
|
57
|
+
* If the provided string is not an alias, we assume that the provided string
|
|
58
|
+
* is the value and return it.
|
|
59
|
+
*
|
|
60
|
+
* This method is helpful when you don't know if the string you have is a value
|
|
61
|
+
* or an alias.
|
|
62
|
+
*
|
|
63
|
+
* @param valueOrAlias a string that might be a value or might be an alias
|
|
64
|
+
*/
|
|
65
|
+
resolveValue(valueOrAlias) {
|
|
66
|
+
var _a;
|
|
67
|
+
return (_a = this.getValue(valueOrAlias)) !== null && _a !== void 0 ? _a : valueOrAlias;
|
|
68
|
+
}
|
|
46
69
|
/**
|
|
47
70
|
* If the provided string is an alias, it returns the corresponding username.
|
|
48
71
|
* If the provided string is not an alias, we assume that the provided string
|
|
@@ -64,8 +87,8 @@ class AliasAccessor {
|
|
|
64
87
|
* @param entity the aliasable entity that's being aliased
|
|
65
88
|
*/
|
|
66
89
|
set(alias, entity) {
|
|
67
|
-
const
|
|
68
|
-
this.globalInfo.set(`${types_1.SfInfoKeys.ALIASES}["${alias}"]`,
|
|
90
|
+
const value = this.getNameOf(entity);
|
|
91
|
+
this.globalInfo.set(`${types_1.SfInfoKeys.ALIASES}["${alias}"]`, value);
|
|
69
92
|
}
|
|
70
93
|
/**
|
|
71
94
|
* Updates the alias for the given aliasable entity
|
|
@@ -74,8 +97,8 @@ class AliasAccessor {
|
|
|
74
97
|
* @param entity the aliasable entity that's being aliased
|
|
75
98
|
*/
|
|
76
99
|
update(alias, entity) {
|
|
77
|
-
const
|
|
78
|
-
this.globalInfo.update(`${types_1.SfInfoKeys.ALIASES}["${alias}"]`,
|
|
100
|
+
const value = this.getNameOf(entity);
|
|
101
|
+
this.globalInfo.update(`${types_1.SfInfoKeys.ALIASES}["${alias}"]`, value);
|
|
79
102
|
}
|
|
80
103
|
unset(alias) {
|
|
81
104
|
delete this.globalInfo.get(types_1.SfInfoKeys.ALIASES)[alias];
|
package/lib/logger.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export declare class Logger {
|
|
|
150
150
|
/**
|
|
151
151
|
* The name of the root sfdx `Logger`.
|
|
152
152
|
*/
|
|
153
|
-
static readonly ROOT_NAME = "
|
|
153
|
+
static readonly ROOT_NAME = "sf";
|
|
154
154
|
/**
|
|
155
155
|
* The default `LoggerLevel` when constructing new `Logger` instances.
|
|
156
156
|
*/
|
package/lib/logger.js
CHANGED
package/lib/util/sfdcUrl.js
CHANGED
|
@@ -70,6 +70,7 @@ class SfdcUrl extends url_1.URL {
|
|
|
70
70
|
'.salesforce.com',
|
|
71
71
|
'.salesforceliveagent.com',
|
|
72
72
|
'.secure.force.com',
|
|
73
|
+
'crmforce.mil',
|
|
73
74
|
];
|
|
74
75
|
const allowlistOfSalesforceHosts = ['developer.salesforce.com', 'trailhead.salesforce.com'];
|
|
75
76
|
return allowlistOfSalesforceDomainPatterns.some((pattern) => {
|
package/messages/config.md
CHANGED
|
@@ -22,6 +22,10 @@ Specify a valid Salesforce instance URL.
|
|
|
22
22
|
|
|
23
23
|
Specify a valid Salesforce API version, for example, 42.0.
|
|
24
24
|
|
|
25
|
+
# invalidCustomOrgMetadataTemplates
|
|
26
|
+
|
|
27
|
+
Specify a valid repository URL or directory for the custom org metadata templates.
|
|
28
|
+
|
|
25
29
|
# invalidIsvDebuggerSid
|
|
26
30
|
|
|
27
31
|
Specify a valid Debugger SID.
|
|
@@ -73,19 +77,19 @@ The sfdx-project.json file must include one, and only one, default package direc
|
|
|
73
77
|
|
|
74
78
|
# targetOrg
|
|
75
79
|
|
|
76
|
-
|
|
80
|
+
Username or alias of the org that all commands run against by default. (sf only)
|
|
77
81
|
|
|
78
82
|
# targetDevHub
|
|
79
83
|
|
|
80
|
-
|
|
84
|
+
Username or alias of your default Dev Hub org. (sf only)
|
|
81
85
|
|
|
82
86
|
# defaultUsername
|
|
83
87
|
|
|
84
|
-
|
|
88
|
+
Username or alias of the org that all commands run against by default. (sfdx only)
|
|
85
89
|
|
|
86
90
|
# defaultDevHubUsername
|
|
87
91
|
|
|
88
|
-
|
|
92
|
+
Username or alias of your default Dev Hub org. (sfdx only)
|
|
89
93
|
|
|
90
94
|
# isvDebuggerSid
|
|
91
95
|
|
|
@@ -97,20 +101,20 @@ ISV debugger URL
|
|
|
97
101
|
|
|
98
102
|
# apiVersion
|
|
99
103
|
|
|
100
|
-
API version
|
|
104
|
+
API version of your project. Default: API version of your Dev Hub org.
|
|
101
105
|
|
|
102
106
|
# disableTelemetry
|
|
103
107
|
|
|
104
|
-
|
|
108
|
+
Disables the collection of usage and user environment information, etc. Default: true.
|
|
105
109
|
|
|
106
110
|
# maxQueryLimit
|
|
107
111
|
|
|
108
|
-
Maximum
|
|
112
|
+
Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
109
113
|
|
|
110
114
|
# restDeploy
|
|
111
115
|
|
|
112
|
-
|
|
116
|
+
Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
|
|
113
117
|
|
|
114
118
|
# instanceUrl
|
|
115
119
|
|
|
116
|
-
|
|
120
|
+
URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com.
|
package/messages/envVars.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# forceOpenUrl
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Web page that opens in your browser when you connect to an org. For example, to open Lightning Experience, set to "lightning".
|
|
4
4
|
|
|
5
5
|
# forceShowSpinner
|
|
6
6
|
|
|
@@ -8,23 +8,23 @@ Set to true to show a spinner animation on the command line when running asynchr
|
|
|
8
8
|
|
|
9
9
|
# forceSpinnerDelay
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Speed of the spinner in milliseconds. Default is 60.
|
|
12
12
|
|
|
13
13
|
# httpProxy
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
HTTP URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
16
16
|
|
|
17
17
|
# httpsProxy
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
HTTPS URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy.
|
|
20
20
|
|
|
21
21
|
# nodeExtraCaCerts
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Fully qualified path to your self-signed certificate. Will be installed after you run "sfdx update".
|
|
24
24
|
|
|
25
25
|
# nodeTlsRejectUnauthorized
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Set to 0 to allow Node.js to use the self-signed certificate in the certificate chain.
|
|
28
28
|
|
|
29
29
|
# sfdxAccessToken
|
|
30
30
|
|
|
@@ -32,91 +32,91 @@ Specifies an access token when using the auth:accesstoken:store command.
|
|
|
32
32
|
|
|
33
33
|
# sfdxApiVersion
|
|
34
34
|
|
|
35
|
-
The API version for a specific project or all projects.
|
|
35
|
+
The API version for a specific project or all projects. Default value is the API version of your Dev Hub. Overrides the apiVersion config value.
|
|
36
36
|
|
|
37
37
|
# sfdxAudienceUrl
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
40
40
|
|
|
41
41
|
# sfdxCodeCoverageRequirement
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Code coverage percentages that are displayed in green when you run force:apex:test:\* with the --codecoverage parameter.
|
|
44
44
|
|
|
45
45
|
# sfdxContentType
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Set to JSON so that all CLI commands output results in JSON format.
|
|
48
48
|
|
|
49
49
|
# sfdxDefaultdevhubusername
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Username or alias of your default Dev Hub org. Overrides the defaultdevhubusername configuration value.
|
|
52
52
|
|
|
53
53
|
# sfdxDefaultusername
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Username or alias of your default org. Overrides the defaultusername configuration value.
|
|
56
56
|
|
|
57
57
|
# sfdxDisableAutoupdate
|
|
58
58
|
|
|
59
|
-
Set to true to disable the auto-update feature of
|
|
59
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
60
60
|
|
|
61
61
|
# sfdxAutoupdateDisable
|
|
62
62
|
|
|
63
|
-
Set to true to disable the auto-update feature of
|
|
63
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
64
64
|
|
|
65
65
|
# sfdxDisableSourceMemberPolling
|
|
66
66
|
|
|
67
|
-
Set to true to disable polling of your org’s SourceMember object when you run the force:source:push|pull commands.
|
|
67
|
+
Set to true to disable polling of your org’s SourceMember object when you run the force:source:push|pull commands. Default value is false.
|
|
68
68
|
|
|
69
69
|
# sfdxDisableTelemetry
|
|
70
70
|
|
|
71
|
-
Set to true to disable
|
|
71
|
+
Set to true to disable Salesforce CLI from collecting usage information, user environment information, and crash reports. Default value is false. Overrides the disableTelemetry configration variable.
|
|
72
72
|
|
|
73
73
|
# sfdxDnsTimeout
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Number of seconds that the force:org:\* commands wait for a response when checking whether an org is connected. Default value is 3.
|
|
76
76
|
|
|
77
77
|
# sfdxDomainRetry
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom domain to resolve and become available in a scratch org. Default value is 240.
|
|
80
80
|
|
|
81
81
|
# sfdxImprovedCodeCoverage
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
Set to true to scope Apex test results to the classes entered during a test run when running force:apex:test:\*.
|
|
84
84
|
|
|
85
85
|
# sfdxInstanceUrl
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
URL of the Salesforce instance that is hosting your org. Default value is https://login.salesforce.com. Overrides the instanceUrl configuration value.
|
|
88
88
|
|
|
89
89
|
# sfdxJsonToStdout
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
Set to true to send messages resulting from failed Salesforce CLI commands to stdout instead of stderr.
|
|
92
92
|
|
|
93
93
|
# sfdxLogLevel
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
Level of messages that the CLI writes to the log file. Valid values are trace, debug, info, warn, error, fatal. Default value is warn.
|
|
96
96
|
|
|
97
97
|
# sfdxMaxQueryLimit
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
Maximum number of Salesforce records returned by a CLI command. Default value is 10,000. Overrides the maxQueryLimit configuration value.
|
|
100
100
|
|
|
101
101
|
# sfdxMdapiTempDir
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Directory that contains files (in metadata format) when running certain Salesforce CLI commands, such as force:source:\*.
|
|
104
104
|
|
|
105
105
|
# sfdxNpmRegistry
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
URL to a private npm server, where all packages that you publish are private.
|
|
108
108
|
|
|
109
109
|
# sfdxPrecompileEnable
|
|
110
110
|
|
|
111
|
-
Set to true to enable Apex pre-compile before the tests are run. Default is false.
|
|
111
|
+
Set to true to enable Apex pre-compile before the tests are run with the force:apex:test:run command. Default is false.
|
|
112
112
|
|
|
113
113
|
# sfdxProjectAutoupdateDisableForPackageCreate
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
Set to true to disable automatic updates to sfdx-project.json when running force:package:create.
|
|
116
116
|
|
|
117
117
|
# sfdxProjectAutoupdateDisableForPackageVersionCreate
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
Set to true to disable automatic updates to sfdx-project.json when running force:package:version:create.
|
|
120
120
|
|
|
121
121
|
# sfdxRestDeploy
|
|
122
122
|
|
|
@@ -124,7 +124,7 @@ Set to true to make Salesforce CLI use the Metadata REST API for deployments. By
|
|
|
124
124
|
|
|
125
125
|
# sfdxSourceMemberPollingTimeout
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
Number of seconds you want the force:source:push command to keep polling the SourceMember object before the command times out.
|
|
128
128
|
|
|
129
129
|
# sfdxUseGenericUnixKeychain
|
|
130
130
|
|
|
@@ -132,103 +132,103 @@ Set to the number of seconds you want the force:source:push command to keep poll
|
|
|
132
132
|
|
|
133
133
|
# sfdxUseProgressBar
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
Set to false to disable the progress bar when running force:mdapi:deploy, force:source:deploy, or force:source:push.
|
|
136
136
|
|
|
137
137
|
# sfTargetOrg
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
Username or alias of your default org. Overrides the target-org configuration variable.
|
|
140
140
|
|
|
141
141
|
# sfTargetDevHub
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
Username or alias of your default Dev Hub org. Overrides the target-dev-hub configuration variable.
|
|
144
144
|
|
|
145
145
|
# sfAccessToken
|
|
146
146
|
|
|
147
|
-
Specifies an access token when using
|
|
147
|
+
Specifies an access token when using a login command that uses access tokens.
|
|
148
148
|
|
|
149
149
|
# sfApiVersion
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
API version for a specific project or all projects. Default value is the API version of your Dev Hub. Overrides the apiVersion configuration variable.
|
|
152
152
|
|
|
153
153
|
# sfAudienceUrl
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you’re logging into.
|
|
156
156
|
|
|
157
157
|
# sfCodeCoverageRequirement
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
Code coverage percentages that are displayed in green when you run the Apex test CLIcommands with the --code-coverage flag.
|
|
160
160
|
|
|
161
161
|
# sfContentType
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
Set to JSON so that all CLI commands output results in JSON format.
|
|
164
164
|
|
|
165
165
|
# sfDisableAutoupdate
|
|
166
166
|
|
|
167
|
-
Set to true to disable the auto-update feature of
|
|
167
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
168
168
|
|
|
169
169
|
# sfAutoupdateDisable
|
|
170
170
|
|
|
171
|
-
Set to true to disable the auto-update feature of
|
|
171
|
+
Set to true to disable the auto-update feature of Salesforce CLI. Default value is false.
|
|
172
172
|
|
|
173
173
|
# sfDisableSourceMemberPolling
|
|
174
174
|
|
|
175
|
-
Set to true to disable polling of your org’s SourceMember object when you run the
|
|
175
|
+
Set to true to disable polling of your org’s SourceMember object when you run the commands to push and pull source. Default value is false.
|
|
176
176
|
|
|
177
177
|
# sfDisableTelemetry
|
|
178
178
|
|
|
179
|
-
Set to true to disable
|
|
179
|
+
Set to true to disable Salesforce CLI from collecting usage information, user environment information, and crash reports. Default value is false. Overrides the disableTelemetry configration variable.
|
|
180
180
|
|
|
181
181
|
# sfDnsTimeout
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
Number of seconds that the env commands wait for a response when checking whether an org is connected. Default value is 3.
|
|
184
184
|
|
|
185
185
|
# sfDomainRetry
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom domain to resolve and become available in a scratch org. Default value is 240.
|
|
188
188
|
|
|
189
189
|
# sfImprovedCodeCoverage
|
|
190
190
|
|
|
191
|
-
|
|
191
|
+
Set to true to scope Apex test results to the classes entered during a test run when running the Apex test commands.
|
|
192
192
|
|
|
193
193
|
# sfInstanceUrl
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
URL of the Salesforce instance that is hosting your org. Default value is https://login.salesforce.com. Overrides the instanceUrl configuration variable.
|
|
196
196
|
|
|
197
197
|
# sfJsonToStdout
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
Set to true to send messages resulting from failed Salesforce CLI commands to stdout instead of stderr.
|
|
200
200
|
|
|
201
201
|
# sfLogLevel
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
Level of messages that the CLI writes to the log file. Valid values are trace, debug, info, warn, error, fatal. Default value is warn.
|
|
204
204
|
|
|
205
205
|
# sfMaxQueryLimit
|
|
206
206
|
|
|
207
|
-
|
|
207
|
+
Maximum number of Salesforce records returned by a CLI command. Default value is 10,000. Overrides the maxQueryLimit configuration variable.
|
|
208
208
|
|
|
209
209
|
# sfMdapiTempDir
|
|
210
210
|
|
|
211
|
-
|
|
211
|
+
Directory that contains files (in metadata format) when running certain Salesforce CLI commands.
|
|
212
212
|
|
|
213
213
|
# sfNpmRegistry
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
URL to a private npm server, where all packages that you publish are private.
|
|
216
216
|
|
|
217
217
|
# sfPrecompileEnable
|
|
218
218
|
|
|
219
|
-
Set to true to enable Apex pre-compile before the tests are run. Default is false.
|
|
219
|
+
Set to true to enable Apex pre-compile before the tests are run with the Apex test run command. Default is false.
|
|
220
220
|
|
|
221
221
|
# sfProjectAutoupdateDisableForPackageCreate
|
|
222
222
|
|
|
223
|
-
|
|
223
|
+
Set to true to disable automatic updates to sfdx-project.json when running the package create command.
|
|
224
224
|
|
|
225
225
|
# sfProjectAutoupdateDisableForPackageVersionCreate
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
Set to true to disable automatic updates to sfdx-project.json when running the package version create command.
|
|
228
228
|
|
|
229
229
|
# sfSourceMemberPollingTimeout
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
Number of seconds you want the source push command to keep polling the SourceMember object before the command times out.
|
|
232
232
|
|
|
233
233
|
# sfUseGenericUnixKeychain
|
|
234
234
|
|
|
@@ -236,4 +236,4 @@ Set to the number of seconds you want the force:source:push command to keep poll
|
|
|
236
236
|
|
|
237
237
|
# sfUseProgressBar
|
|
238
238
|
|
|
239
|
-
|
|
239
|
+
Set to false to disable the progress bar when running the metadata deploy command.
|