@salesforce/cli 2.82.4 → 2.82.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/README.md +17 -16
- package/dist/hooks/preparse.js +2 -1
- package/npm-shrinkwrap.json +7 -7
- package/oclif.lock +6 -6
- package/oclif.manifest.json +22 -14
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
# Getting Started
|
|
9
9
|
|
|
10
|
+
- [Release notes](https://github.com/forcedotcom/cli/tree/main/releasenotes)
|
|
10
11
|
- Read the [sf Plugin Developer Guide](https://github.com/salesforcecli/cli/wiki/Quick-Introduction-to-Developing-sf-Plugins) to learn how to develop a `sf` plugin.
|
|
11
12
|
- Are you migrating an `sfdx` plugin to `sf`? Then check out the [migration section](https://github.com/salesforcecli/cli/wiki/Migrate-Plugins-Built-for-sfdx) of the developer guide.
|
|
12
13
|
- Read [this section of the Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_move_to_sf_v2.htm) for easy instructions on how to move from your `sfdx` (v7) installation to `sf` (v2).
|
|
@@ -24,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
24
25
|
$ sf COMMAND
|
|
25
26
|
running command...
|
|
26
27
|
$ sf (--version|-v)
|
|
27
|
-
@salesforce/cli/2.82.
|
|
28
|
+
@salesforce/cli/2.82.6 linux-x64 node-v22.14.0
|
|
28
29
|
$ sf --help [COMMAND]
|
|
29
30
|
USAGE
|
|
30
31
|
$ sf COMMAND
|
|
@@ -3199,7 +3200,7 @@ FLAG DESCRIPTIONS
|
|
|
3199
3200
|
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
|
|
3200
3201
|
```
|
|
3201
3202
|
|
|
3202
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3203
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/create/sandbox.ts)_
|
|
3203
3204
|
|
|
3204
3205
|
## `sf org create scratch`
|
|
3205
3206
|
|
|
@@ -3381,7 +3382,7 @@ FLAG DESCRIPTIONS
|
|
|
3381
3382
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
3382
3383
|
```
|
|
3383
3384
|
|
|
3384
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3385
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/create/scratch.ts)_
|
|
3385
3386
|
|
|
3386
3387
|
## `sf org create user`
|
|
3387
3388
|
|
|
@@ -3535,7 +3536,7 @@ EXAMPLES
|
|
|
3535
3536
|
$ sf org delete sandbox --target-org my-sandbox --no-prompt
|
|
3536
3537
|
```
|
|
3537
3538
|
|
|
3538
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3539
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/delete/sandbox.ts)_
|
|
3539
3540
|
|
|
3540
3541
|
## `sf org delete scratch`
|
|
3541
3542
|
|
|
@@ -3579,7 +3580,7 @@ EXAMPLES
|
|
|
3579
3580
|
$ sf org delete scratch --target-org my-scratch-org --no-prompt
|
|
3580
3581
|
```
|
|
3581
3582
|
|
|
3582
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3583
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/delete/scratch.ts)_
|
|
3583
3584
|
|
|
3584
3585
|
## `sf org disable tracking`
|
|
3585
3586
|
|
|
@@ -3618,7 +3619,7 @@ EXAMPLES
|
|
|
3618
3619
|
$ sf org disable tracking
|
|
3619
3620
|
```
|
|
3620
3621
|
|
|
3621
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3622
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/disable/tracking.ts)_
|
|
3622
3623
|
|
|
3623
3624
|
## `sf org display`
|
|
3624
3625
|
|
|
@@ -3663,7 +3664,7 @@ EXAMPLES
|
|
|
3663
3664
|
$ sf org display --target-org TestOrg1 --verbose
|
|
3664
3665
|
```
|
|
3665
3666
|
|
|
3666
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3667
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/display.ts)_
|
|
3667
3668
|
|
|
3668
3669
|
## `sf org display user`
|
|
3669
3670
|
|
|
@@ -3744,7 +3745,7 @@ EXAMPLES
|
|
|
3744
3745
|
$ sf org enable tracking
|
|
3745
3746
|
```
|
|
3746
3747
|
|
|
3747
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3748
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/enable/tracking.ts)_
|
|
3748
3749
|
|
|
3749
3750
|
## `sf org generate password`
|
|
3750
3751
|
|
|
@@ -3850,7 +3851,7 @@ EXAMPLES
|
|
|
3850
3851
|
$ sf org list --clean
|
|
3851
3852
|
```
|
|
3852
3853
|
|
|
3853
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3854
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list.ts)_
|
|
3854
3855
|
|
|
3855
3856
|
## `sf org list auth`
|
|
3856
3857
|
|
|
@@ -3989,7 +3990,7 @@ FLAG DESCRIPTIONS
|
|
|
3989
3990
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
3990
3991
|
```
|
|
3991
3992
|
|
|
3992
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
3993
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list/metadata.ts)_
|
|
3993
3994
|
|
|
3994
3995
|
## `sf org list metadata-types`
|
|
3995
3996
|
|
|
@@ -4044,7 +4045,7 @@ FLAG DESCRIPTIONS
|
|
|
4044
4045
|
Override the api version used for api requests made by this command
|
|
4045
4046
|
```
|
|
4046
4047
|
|
|
4047
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4048
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list/metadata-types.ts)_
|
|
4048
4049
|
|
|
4049
4050
|
## `sf org list sobject record-counts`
|
|
4050
4051
|
|
|
@@ -4627,7 +4628,7 @@ EXAMPLES
|
|
|
4627
4628
|
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
|
|
4628
4629
|
```
|
|
4629
4630
|
|
|
4630
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4631
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/open.ts)_
|
|
4631
4632
|
|
|
4632
4633
|
## `sf org open agent`
|
|
4633
4634
|
|
|
@@ -4678,7 +4679,7 @@ EXAMPLES
|
|
|
4678
4679
|
$ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent
|
|
4679
4680
|
```
|
|
4680
4681
|
|
|
4681
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4682
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/open/agent.ts)_
|
|
4682
4683
|
|
|
4683
4684
|
## `sf org refresh sandbox`
|
|
4684
4685
|
|
|
@@ -4755,7 +4756,7 @@ FLAG DESCRIPTIONS
|
|
|
4755
4756
|
By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.
|
|
4756
4757
|
```
|
|
4757
4758
|
|
|
4758
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4759
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/refresh/sandbox.ts)_
|
|
4759
4760
|
|
|
4760
4761
|
## `sf org resume sandbox`
|
|
4761
4762
|
|
|
@@ -4818,7 +4819,7 @@ FLAG DESCRIPTIONS
|
|
|
4818
4819
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
4819
4820
|
```
|
|
4820
4821
|
|
|
4821
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4822
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/resume/sandbox.ts)_
|
|
4822
4823
|
|
|
4823
4824
|
## `sf org resume scratch`
|
|
4824
4825
|
|
|
@@ -4865,7 +4866,7 @@ FLAG DESCRIPTIONS
|
|
|
4865
4866
|
The job ID is valid for 24 hours after you start the scratch org creation.
|
|
4866
4867
|
```
|
|
4867
4868
|
|
|
4868
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.
|
|
4869
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/resume/scratch.ts)_
|
|
4869
4870
|
|
|
4870
4871
|
## `sf package create`
|
|
4871
4872
|
|
package/dist/hooks/preparse.js
CHANGED
|
@@ -70,7 +70,8 @@ const hook = async function ({ argv, options, context }) {
|
|
|
70
70
|
if (contents === undefined) {
|
|
71
71
|
return [name, undefined];
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const crlf = contents.search('\r\n') !== -1;
|
|
74
|
+
const values = ext === '.json' ? [JSON.stringify(JSON.parse(contents))] : contents?.trim().split(crlf ? '\r\n' : '\n');
|
|
74
75
|
return [name, values];
|
|
75
76
|
}));
|
|
76
77
|
const newArgv = [...argv];
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.82.
|
|
9
|
+
"version": "2.82.6",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@salesforce/plugin-info": "3.4.50",
|
|
33
33
|
"@salesforce/plugin-limits": "3.3.51",
|
|
34
34
|
"@salesforce/plugin-marketplace": "1.3.7",
|
|
35
|
-
"@salesforce/plugin-org": "5.5.
|
|
35
|
+
"@salesforce/plugin-org": "5.5.5",
|
|
36
36
|
"@salesforce/plugin-packaging": "2.12.3",
|
|
37
37
|
"@salesforce/plugin-schema": "3.3.57",
|
|
38
38
|
"@salesforce/plugin-settings": "2.4.21",
|
|
@@ -5344,14 +5344,14 @@
|
|
|
5344
5344
|
}
|
|
5345
5345
|
},
|
|
5346
5346
|
"node_modules/@salesforce/plugin-org": {
|
|
5347
|
-
"version": "5.5.
|
|
5348
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.5.
|
|
5349
|
-
"integrity": "sha512-
|
|
5347
|
+
"version": "5.5.5",
|
|
5348
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.5.5.tgz",
|
|
5349
|
+
"integrity": "sha512-aqC2ynF2MjkI7CwB2X0Vekf1NP//Qa9/04wda1xKHkKsXQFh2TmSBfDb1RBSr9YaKbYRlumuz5WDj66X9fMN9g==",
|
|
5350
5350
|
"license": "BSD-3-Clause",
|
|
5351
5351
|
"dependencies": {
|
|
5352
5352
|
"@oclif/core": "^4.2.10",
|
|
5353
5353
|
"@oclif/multi-stage-output": "^0.8.12",
|
|
5354
|
-
"@salesforce/core": "^8.8.
|
|
5354
|
+
"@salesforce/core": "^8.8.6",
|
|
5355
5355
|
"@salesforce/kit": "^3.2.3",
|
|
5356
5356
|
"@salesforce/sf-plugins-core": "^12.2.1",
|
|
5357
5357
|
"@salesforce/source-deploy-retrieve": "^12.16.10",
|
package/oclif.lock
CHANGED
|
@@ -2008,7 +2008,7 @@
|
|
|
2008
2008
|
strip-ansi "6.0.1"
|
|
2009
2009
|
ts-retry-promise "^0.8.1"
|
|
2010
2010
|
|
|
2011
|
-
"@salesforce/core@^8.2.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.2", "@salesforce/core@^8.8.
|
|
2011
|
+
"@salesforce/core@^8.2.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.2", "@salesforce/core@^8.8.4", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.6":
|
|
2012
2012
|
version "8.8.6"
|
|
2013
2013
|
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.8.6.tgz"
|
|
2014
2014
|
integrity sha512-RQK7iUvOv579qZkz93DtXOTFY6HZrOF1iJB5JntnzzmWgKXwdeRdoyIYlLksrDp0vkNtjtNTZZz+IJY4x6eCig==
|
|
@@ -2225,14 +2225,14 @@
|
|
|
2225
2225
|
got "^13.0.0"
|
|
2226
2226
|
proxy-agent "^6.4.0"
|
|
2227
2227
|
|
|
2228
|
-
"@salesforce/plugin-org@5.5.
|
|
2229
|
-
version "5.5.
|
|
2230
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.5.
|
|
2231
|
-
integrity sha512-
|
|
2228
|
+
"@salesforce/plugin-org@5.5.5":
|
|
2229
|
+
version "5.5.5"
|
|
2230
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.5.5.tgz"
|
|
2231
|
+
integrity sha512-aqC2ynF2MjkI7CwB2X0Vekf1NP//Qa9/04wda1xKHkKsXQFh2TmSBfDb1RBSr9YaKbYRlumuz5WDj66X9fMN9g==
|
|
2232
2232
|
dependencies:
|
|
2233
2233
|
"@oclif/core" "^4.2.10"
|
|
2234
2234
|
"@oclif/multi-stage-output" "^0.8.12"
|
|
2235
|
-
"@salesforce/core" "^8.8.
|
|
2235
|
+
"@salesforce/core" "^8.8.6"
|
|
2236
2236
|
"@salesforce/kit" "^3.2.3"
|
|
2237
2237
|
"@salesforce/sf-plugins-core" "^12.2.1"
|
|
2238
2238
|
"@salesforce/source-deploy-retrieve" "^12.16.10"
|
package/oclif.manifest.json
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
"args": {},
|
|
6
6
|
"description": "Code Analyzer gives you the ability to configure settings that modify Code Analyzer's behavior, to override the tags and severity levels of rules, and to configure the engine specific settings. Use this command to see the current state of this configuration. You can also save this state to a YAML-formatted file that you can modify for your needs.\n\nTo apply a custom configuration with Code Analyzer, either keep your custom configuration settings in a `code-analyzer.yml` file located in the current folder from which you are executing commands, or specify the location of your custom configuration file to the Code Analyzer commands with the --config-file flag.\n\nWe're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"Display the current state of the Code Analyzer configuration using the default behavior: display top level configuration, display the engine and rule override settings associated with all the rules
|
|
9
|
-
"This example is identical to the previous one, assuming that `./code-analyzer.yml` exists in your current folder.\n<%= config.bin %> <%= command.id %> --config-file ./code-analyzer.yml --rule-selector
|
|
8
|
+
"Display the current state of the Code Analyzer configuration using the default behavior: display top level configuration, display the engine and rule override settings associated with all the rules; and automatically apply any existing custom configuration settings found in a `code-analyzer.yml` or `code-analyzer.yaml` file in the current folder:\n<%= config.bin %> <%= command.id %>",
|
|
9
|
+
"This example is identical to the previous one, assuming that `./code-analyzer.yml` exists in your current folder.\n<%= config.bin %> <%= command.id %> --config-file ./code-analyzer.yml --rule-selector all",
|
|
10
10
|
"Write the current state of configuration to the file `code-analyzer.yml`, including any configuration from an existing `code-analyzer.yml` file. The command preserves all values from the original config, but overwrites any comments:\n<%= config.bin %> <%= command.id %> --config-file ./code-analyzer.yml --output-file code-analyzer.yml",
|
|
11
|
-
"Display the configuration state for
|
|
12
|
-
"Display the configuration state associated with
|
|
13
|
-
"Display any relevant configuration settings associated with the rule name 'no-undef' from the 'eslint' engine:\n<%= config.bin %> <%= command.id %> --rule-
|
|
14
|
-
"Load an existing configuration file called `existing-config.yml`, and then write the configuration to a new file called `new-config.yml`, the configuration state that is applicable to all rules that are relevant to the workspace located in the current folder:\n<%= config.bin %> <%= command.id %> --config-file ./existing-config.yml --
|
|
11
|
+
"Display the configuration state for just the recommended rules, instead of all the rules:\n<%= config.bin %> <%= command.id %> --rule-selector Recommended",
|
|
12
|
+
"Display the configuration state associated with all the rules that are applicable to your workspace folder, `./src`:\n<%= config.bin %> <%= command.id %> --workspace ./src",
|
|
13
|
+
"Display any relevant configuration settings associated with the rule name 'no-undef' from the 'eslint' engine:\n<%= config.bin %> <%= command.id %> --rule-selector eslint:no-undef",
|
|
14
|
+
"Load an existing configuration file called `existing-config.yml`, and then write the configuration to a new file called `new-config.yml`, the configuration state that is applicable to all rules that are relevant to the workspace located in the current folder:\n<%= config.bin %> <%= command.id %> --config-file ./existing-config.yml --workspace . --output-file ./subfolder-config.yml"
|
|
15
15
|
],
|
|
16
16
|
"flags": {
|
|
17
17
|
"workspace": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"rule-selector": {
|
|
28
28
|
"char": "r",
|
|
29
|
-
"description": "Use the --rule-selector flag to display only the configuration associated with the rules based on specific criteria. You can select by engine, such as the rules associated with the \"retire-js\" or \"eslint\" engine. Or select by the severity of the rules, such as high or moderate. You can also select rules using tag values or rule names.\n\nYou can combine different criteria using colons to further filter the list; the colon works as an intersection. For example, \"--rule-selector eslint:Security\" reduces the output to only contain the configuration state associated with the rules from the \"eslint\" engine that have the \"Security\" tag. To add multiple rule selectors together (a union), specify the --rule-selector flag multiple times, such as \"--rule-selector eslint:Recommended --rule-selector retire-js:3\".\n\nIf you don't specify this flag, then the command uses the \"
|
|
29
|
+
"description": "Use the --rule-selector flag to display only the configuration associated with the rules based on specific criteria. You can select by engine, such as the rules associated with the \"retire-js\" or \"eslint\" engine. Or select by the severity of the rules, such as high or moderate. You can also select rules using tag values or rule names.\n\nYou can combine different criteria using colons to further filter the list; the colon works as an intersection. For example, \"--rule-selector eslint:Security\" reduces the output to only contain the configuration state associated with the rules from the \"eslint\" engine that have the \"Security\" tag. To add multiple rule selectors together (a union), specify the --rule-selector flag multiple times, such as \"--rule-selector eslint:Recommended --rule-selector retire-js:3\".\n\nIf you don't specify this flag, then the command uses the \"all\" rule selector.\n\nRun `<%= config.bin %> <%= command.id %> --rule-selector Recommended` to display the configuration state associated with just the 'Recommended' rules, instead of all the rules.",
|
|
30
30
|
"name": "rule-selector",
|
|
31
31
|
"summary": "Selection of rules, based on engine name, severity level, rule name, tag, or a combination of criteria separated by colons.",
|
|
32
32
|
"default": [
|
|
33
|
-
"
|
|
33
|
+
"all"
|
|
34
34
|
],
|
|
35
35
|
"delimiter": ",",
|
|
36
36
|
"hasDynamicHelp": false,
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"List the recommended rules for the \"eslint\" engine:\n<%= config.bin %> <%= command.id %> --rule-selector eslint:Recommended",
|
|
91
91
|
"List all the rules for the \"eslint\" engine:\n<%= config.bin %> <%= command.id %> --rule-selector eslint",
|
|
92
92
|
"The previous example is equivalent to this example:\n<%= config.bin %> <%= command.id %> --rule-selector eslint:all",
|
|
93
|
-
"List all rules for all engines:\n<%= config.bin %> <%= command.id %> --rule-selector all",
|
|
93
|
+
"List the details about all rules for all engines; also write the rules in JSON format to a file called \"rules.json\" in the \"out\" folder, which must already exist:\n<%= config.bin %> <%= command.id %> --rule-selector all --output-file ./out/rules.json --view detail",
|
|
94
94
|
"Get a more accurate list of the rules that apply specifically to your workspace (all the files in the current folder):\n<%= config.bin %> <%= command.id %> --rule-selector all --workspace .",
|
|
95
95
|
"List the recommended rules associated with a workspace that includes all the files in the folder \"./other-source\" and only the Apex class files (extension .cls) under the folder \"./force-app\":\n<%= config.bin %> <%= command.id %> --rule-selector Recommended --workspace ./other-source --workspace ./force-app/**/*.cls",
|
|
96
96
|
"List all the \"eslint\" engine rules that have a moderate severity (3) and the recommended \"retire-js\" engine rules with any severity:\n<%= config.bin %> <%= command.id %> --rule-selector eslint:3 --rule-selector retire-js:Recommended",
|
|
@@ -131,12 +131,20 @@
|
|
|
131
131
|
"multiple": false,
|
|
132
132
|
"type": "option"
|
|
133
133
|
},
|
|
134
|
+
"output-file": {
|
|
135
|
+
"char": "f",
|
|
136
|
+
"description": "If you specify a folder, such as \"--output-file ./out/rules.json\", the folder must already exist or you get an error. If the file already exists, it's overwritten without prompting.\n\nIf you don't specify this flag, the command outputs the rules to only the terminal.",
|
|
137
|
+
"name": "output-file",
|
|
138
|
+
"summary": "Name of the file where the selected rules are written. The file format depends on the extension you specify; currently, only .json is supported for JSON-formatted output.",
|
|
139
|
+
"hasDynamicHelp": false,
|
|
140
|
+
"multiple": false,
|
|
141
|
+
"type": "option"
|
|
142
|
+
},
|
|
134
143
|
"view": {
|
|
135
144
|
"char": "v",
|
|
136
|
-
"description": "The format `table` is concise and shows minimal output, the format `detail` shows all available information.",
|
|
145
|
+
"description": "The format `table` is concise and shows minimal output, the format `detail` shows all available information. \n\nIf you specify neither --view nor --output-file, then the default table view is shown. If you specify --output-file but not --view, only summary information is shown in the terminal.",
|
|
137
146
|
"name": "view",
|
|
138
147
|
"summary": "Format to display the rules in the terminal.",
|
|
139
|
-
"default": "table",
|
|
140
148
|
"hasDynamicHelp": false,
|
|
141
149
|
"multiple": false,
|
|
142
150
|
"options": [
|
|
@@ -248,9 +256,9 @@
|
|
|
248
256
|
},
|
|
249
257
|
"output-file": {
|
|
250
258
|
"char": "f",
|
|
251
|
-
"description": "If you don't specify this flag, the command outputs the results
|
|
259
|
+
"description": "If you don't specify this flag, the command outputs the results to only the terminal. Use this flag to print the results to a file; the format of the results depends on the extension you provide. For example, \"--output-file results.csv\" creates a comma-separated values file. You can specify one of these extensions:\n\n- .csv\n- .html or .htm\n- .json\n- .sarif or .sarif.json\n- .xml\n\nTo output the results to multiple files, specify this flag multiple times. For example: \"--output-file results.json --output-file report.html\" creates both a JSON results file and an HTML file.\n\nIf you specify a folder, such as \"--output-file ./out/results.json\", the folder must already exist or you get an error. If the file already exists, it's overwritten without prompting.",
|
|
252
260
|
"name": "output-file",
|
|
253
|
-
"summary": "
|
|
261
|
+
"summary": "Name of the file where the analysis results are written. The file format depends on the extension you specify, such as .csv, .html, .xml, and so on.",
|
|
254
262
|
"delimiter": ",",
|
|
255
263
|
"hasDynamicHelp": false,
|
|
256
264
|
"multiple": true,
|
|
@@ -4403,5 +4411,5 @@
|
|
|
4403
4411
|
]
|
|
4404
4412
|
}
|
|
4405
4413
|
},
|
|
4406
|
-
"version": "2.82.
|
|
4414
|
+
"version": "2.82.6"
|
|
4407
4415
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.82.
|
|
4
|
+
"version": "2.82.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
8
8
|
"sfdx": "./bin/run.js"
|
|
9
9
|
},
|
|
10
|
-
"homepage": "https://github.com/
|
|
10
|
+
"homepage": "https://github.com/forcedotcom/cli",
|
|
11
11
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=18.6.0"
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"@salesforce/plugin-user"
|
|
76
76
|
],
|
|
77
77
|
"jitPlugins": {
|
|
78
|
-
"@salesforce/plugin-code-analyzer": "5.0.0-beta.
|
|
78
|
+
"@salesforce/plugin-code-analyzer": "5.0.0-beta.3",
|
|
79
79
|
"@salesforce/plugin-custom-metadata": "3.3.47",
|
|
80
80
|
"@salesforce/plugin-community": "3.3.17",
|
|
81
81
|
"@salesforce/plugin-dev": "2.5.1",
|
|
82
82
|
"@salesforce/plugin-devops-center": "1.2.27",
|
|
83
83
|
"@salesforce/plugin-signups": "2.6.19",
|
|
84
84
|
"@salesforce/sfdx-plugin-lwc-test": "1.2.1",
|
|
85
|
-
"@salesforce/sfdx-scanner": "4.
|
|
85
|
+
"@salesforce/sfdx-scanner": "4.11.0"
|
|
86
86
|
},
|
|
87
87
|
"devPlugins": [
|
|
88
88
|
"@oclif/plugin-command-snapshot",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"@salesforce/plugin-info": "3.4.50",
|
|
165
165
|
"@salesforce/plugin-limits": "3.3.51",
|
|
166
166
|
"@salesforce/plugin-marketplace": "1.3.7",
|
|
167
|
-
"@salesforce/plugin-org": "5.5.
|
|
167
|
+
"@salesforce/plugin-org": "5.5.5",
|
|
168
168
|
"@salesforce/plugin-packaging": "2.12.3",
|
|
169
169
|
"@salesforce/plugin-schema": "3.3.57",
|
|
170
170
|
"@salesforce/plugin-settings": "2.4.21",
|