@salesforce/cli 2.12.7-esm.0 → 2.12.8
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 +67 -55
- package/bin/dev +13 -0
- package/bin/run +25 -0
- package/dist/cli.js +40 -34
- package/dist/flags.js +7 -1
- package/dist/help/sfCommandHelp.js +6 -2
- package/dist/help/sfHelp.js +8 -5
- package/dist/hooks/display-release-notes.js +39 -14
- package/dist/hooks/incomplete.js +12 -11
- package/dist/hooks/pluginsPreinstall.js +5 -3
- package/dist/hooks/prerun.js +8 -7
- package/dist/index.js +2 -1
- package/dist/util/env.js +7 -3
- package/npm-shrinkwrap.json +3590 -7789
- package/oclif.manifest.json +1 -1
- package/package.json +36 -113
- package/scripts/post-install-release-notes.js +37 -39
- package/scripts/preinstall.js +4 -5
- package/bin/dev.js +0 -7
- package/bin/run.js +0 -30
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
|
|
|
24
24
|
$ sf COMMAND
|
|
25
25
|
running command...
|
|
26
26
|
$ sf (--version|-v)
|
|
27
|
-
@salesforce/cli/2.12.
|
|
27
|
+
@salesforce/cli/2.12.8 linux-x64 node-v18.18.0
|
|
28
28
|
$ sf --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ sf COMMAND
|
|
@@ -192,7 +192,7 @@ EXAMPLES
|
|
|
192
192
|
$ sf alias list
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
195
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/alias/list.ts)_
|
|
196
196
|
|
|
197
197
|
## `sf alias set`
|
|
198
198
|
|
|
@@ -240,7 +240,7 @@ EXAMPLES
|
|
|
240
240
|
$ sf alias set my-scratch-org test-ss0xut7txzxf@example.com
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
243
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/alias/set.ts)_
|
|
244
244
|
|
|
245
245
|
## `sf alias unset`
|
|
246
246
|
|
|
@@ -279,7 +279,7 @@ EXAMPLES
|
|
|
279
279
|
$ sf alias unset --all [--no-prompt]
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
282
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/alias/unset.ts)_
|
|
283
283
|
|
|
284
284
|
## `sf analytics generate template`
|
|
285
285
|
|
|
@@ -842,7 +842,7 @@ DESCRIPTION
|
|
|
842
842
|
list all the commands
|
|
843
843
|
```
|
|
844
844
|
|
|
845
|
-
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/2.2.
|
|
845
|
+
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/2.2.28/src/commands/commands.ts)_
|
|
846
846
|
|
|
847
847
|
## `sf config get`
|
|
848
848
|
|
|
@@ -865,6 +865,9 @@ DESCRIPTION
|
|
|
865
865
|
displayed; local ones are displayed if you run the command in a project directory. Run "sf config set" to set a
|
|
866
866
|
configuration variable.
|
|
867
867
|
|
|
868
|
+
For the full list of available configuration variables, see
|
|
869
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_config_values.htm.
|
|
870
|
+
|
|
868
871
|
ALIASES
|
|
869
872
|
$ sf force config get
|
|
870
873
|
|
|
@@ -888,7 +891,7 @@ CONFIGURATION VARIABLES
|
|
|
888
891
|
org-max-query-limit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
889
892
|
```
|
|
890
893
|
|
|
891
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
894
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/config/get.ts)_
|
|
892
895
|
|
|
893
896
|
## `sf config list`
|
|
894
897
|
|
|
@@ -907,6 +910,9 @@ DESCRIPTION
|
|
|
907
910
|
Global configuration variables apply to any Salesforce DX project and are always displayed. If you run this command
|
|
908
911
|
from a project directory, local configuration variables are also displayed.
|
|
909
912
|
|
|
913
|
+
For the full list of available configuration variables, see
|
|
914
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_config_values.htm.
|
|
915
|
+
|
|
910
916
|
ALIASES
|
|
911
917
|
$ sf force config list
|
|
912
918
|
|
|
@@ -916,7 +922,7 @@ EXAMPLES
|
|
|
916
922
|
$ sf config list
|
|
917
923
|
```
|
|
918
924
|
|
|
919
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
925
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/config/list.ts)_
|
|
920
926
|
|
|
921
927
|
## `sf config set`
|
|
922
928
|
|
|
@@ -950,6 +956,9 @@ DESCRIPTION
|
|
|
950
956
|
|
|
951
957
|
Run "sf config list" to see the configuration variables you've already set and their level (local or global).
|
|
952
958
|
|
|
959
|
+
For the full list of available configuration variables, see
|
|
960
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_config_values.htm.
|
|
961
|
+
|
|
953
962
|
ALIASES
|
|
954
963
|
$ sf force config set
|
|
955
964
|
|
|
@@ -982,7 +991,7 @@ CONFIGURATION VARIABLES
|
|
|
982
991
|
org-max-query-limit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
983
992
|
```
|
|
984
993
|
|
|
985
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
994
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/config/set.ts)_
|
|
986
995
|
|
|
987
996
|
## `sf config unset`
|
|
988
997
|
|
|
@@ -1005,6 +1014,9 @@ DESCRIPTION
|
|
|
1005
1014
|
Local configuration variables apply only to your current project. Global configuration variables apply in any
|
|
1006
1015
|
Salesforce DX project.
|
|
1007
1016
|
|
|
1017
|
+
For the full list of available configuration variables, see
|
|
1018
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_config_values.htm.
|
|
1019
|
+
|
|
1008
1020
|
ALIASES
|
|
1009
1021
|
$ sf force config unset
|
|
1010
1022
|
|
|
@@ -1028,7 +1040,7 @@ CONFIGURATION VARIABLES
|
|
|
1028
1040
|
org-max-query-limit Maximum number of Salesforce records returned by a CLI command. Default: 10,000.
|
|
1029
1041
|
```
|
|
1030
1042
|
|
|
1031
|
-
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.
|
|
1043
|
+
_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/1.4.33/src/commands/config/unset.ts)_
|
|
1032
1044
|
|
|
1033
1045
|
## `sf data create record`
|
|
1034
1046
|
|
|
@@ -2331,7 +2343,7 @@ FLAG DESCRIPTIONS
|
|
|
2331
2343
|
for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.
|
|
2332
2344
|
```
|
|
2333
2345
|
|
|
2334
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
2346
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/force/org/clone.ts)_
|
|
2335
2347
|
|
|
2336
2348
|
## `sf force org create`
|
|
2337
2349
|
|
|
@@ -2379,7 +2391,7 @@ EXAMPLES
|
|
|
2379
2391
|
$ sf force org create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg
|
|
2380
2392
|
```
|
|
2381
2393
|
|
|
2382
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
2394
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/force/org/create.ts)_
|
|
2383
2395
|
|
|
2384
2396
|
## `sf force org delete`
|
|
2385
2397
|
|
|
@@ -2411,7 +2423,7 @@ EXAMPLES
|
|
|
2411
2423
|
$ sf force org delete -u MyOrgAlias -p
|
|
2412
2424
|
```
|
|
2413
2425
|
|
|
2414
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
2426
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/force/org/delete.ts)_
|
|
2415
2427
|
|
|
2416
2428
|
## `sf force org status`
|
|
2417
2429
|
|
|
@@ -2449,7 +2461,7 @@ EXAMPLES
|
|
|
2449
2461
|
$ sf force org status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg
|
|
2450
2462
|
```
|
|
2451
2463
|
|
|
2452
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
2464
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/force/org/status.ts)_
|
|
2453
2465
|
|
|
2454
2466
|
## `sf force source deploy`
|
|
2455
2467
|
|
|
@@ -3792,7 +3804,7 @@ FLAG DESCRIPTIONS
|
|
|
3792
3804
|
sandbox.
|
|
3793
3805
|
```
|
|
3794
3806
|
|
|
3795
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
3807
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/create/sandbox.ts)_
|
|
3796
3808
|
|
|
3797
3809
|
## `sf org create scratch`
|
|
3798
3810
|
|
|
@@ -3945,7 +3957,7 @@ FLAG DESCRIPTIONS
|
|
|
3945
3957
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
3946
3958
|
```
|
|
3947
3959
|
|
|
3948
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
3960
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/create/scratch.ts)_
|
|
3949
3961
|
|
|
3950
3962
|
## `sf org create user`
|
|
3951
3963
|
|
|
@@ -4085,7 +4097,7 @@ EXAMPLES
|
|
|
4085
4097
|
$ sf org delete sandbox --target-org my-sandbox --no-prompt
|
|
4086
4098
|
```
|
|
4087
4099
|
|
|
4088
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4100
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/delete/sandbox.ts)_
|
|
4089
4101
|
|
|
4090
4102
|
## `sf org delete scratch`
|
|
4091
4103
|
|
|
@@ -4127,7 +4139,7 @@ EXAMPLES
|
|
|
4127
4139
|
$ sf org delete scratch --target-org my-scratch-org --no-prompt
|
|
4128
4140
|
```
|
|
4129
4141
|
|
|
4130
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4142
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/delete/scratch.ts)_
|
|
4131
4143
|
|
|
4132
4144
|
## `sf org display`
|
|
4133
4145
|
|
|
@@ -4170,7 +4182,7 @@ EXAMPLES
|
|
|
4170
4182
|
$ sf org display --target-org TestOrg1 --verbose
|
|
4171
4183
|
```
|
|
4172
4184
|
|
|
4173
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4185
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/display.ts)_
|
|
4174
4186
|
|
|
4175
4187
|
## `sf org display user`
|
|
4176
4188
|
|
|
@@ -4304,7 +4316,7 @@ EXAMPLES
|
|
|
4304
4316
|
$ sf org list --clean
|
|
4305
4317
|
```
|
|
4306
4318
|
|
|
4307
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4319
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/list.ts)_
|
|
4308
4320
|
|
|
4309
4321
|
## `sf org list auth`
|
|
4310
4322
|
|
|
@@ -4399,7 +4411,7 @@ FLAG DESCRIPTIONS
|
|
|
4399
4411
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
4400
4412
|
```
|
|
4401
4413
|
|
|
4402
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4414
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/list/metadata.ts)_
|
|
4403
4415
|
|
|
4404
4416
|
## `sf org list metadata-types`
|
|
4405
4417
|
|
|
@@ -4452,7 +4464,7 @@ FLAG DESCRIPTIONS
|
|
|
4452
4464
|
Override the api version used for api requests made by this command
|
|
4453
4465
|
```
|
|
4454
4466
|
|
|
4455
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4467
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/list/metadata-types.ts)_
|
|
4456
4468
|
|
|
4457
4469
|
## `sf org list users`
|
|
4458
4470
|
|
|
@@ -4953,7 +4965,7 @@ EXAMPLES
|
|
|
4953
4965
|
$ sf org open --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml
|
|
4954
4966
|
```
|
|
4955
4967
|
|
|
4956
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
4968
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/open.ts)_
|
|
4957
4969
|
|
|
4958
4970
|
## `sf org resume sandbox`
|
|
4959
4971
|
|
|
@@ -5015,7 +5027,7 @@ FLAG DESCRIPTIONS
|
|
|
5015
5027
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
5016
5028
|
```
|
|
5017
5029
|
|
|
5018
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
5030
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/resume/sandbox.ts)_
|
|
5019
5031
|
|
|
5020
5032
|
## `sf org resume scratch`
|
|
5021
5033
|
|
|
@@ -5061,7 +5073,7 @@ FLAG DESCRIPTIONS
|
|
|
5061
5073
|
The job ID is valid for 24 hours after you start the scratch org creation.
|
|
5062
5074
|
```
|
|
5063
5075
|
|
|
5064
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.
|
|
5076
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/2.10.10/src/commands/org/resume/scratch.ts)_
|
|
5065
5077
|
|
|
5066
5078
|
## `sf plugins`
|
|
5067
5079
|
|
|
@@ -5084,7 +5096,7 @@ EXAMPLES
|
|
|
5084
5096
|
$ sf plugins
|
|
5085
5097
|
```
|
|
5086
5098
|
|
|
5087
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5099
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/index.ts)_
|
|
5088
5100
|
|
|
5089
5101
|
## `sf plugins discover`
|
|
5090
5102
|
|
|
@@ -5101,7 +5113,7 @@ EXAMPLES
|
|
|
5101
5113
|
$ sf plugins discover
|
|
5102
5114
|
```
|
|
5103
5115
|
|
|
5104
|
-
_See code: [@salesforce/plugin-marketplace](https://github.com/salesforcecli/plugin-template-sf/blob/0.
|
|
5116
|
+
_See code: [@salesforce/plugin-marketplace](https://github.com/salesforcecli/plugin-template-sf/blob/0.3.0/src/commands/plugins/discover.ts)_
|
|
5105
5117
|
|
|
5106
5118
|
## `sf plugins:inspect PLUGIN...`
|
|
5107
5119
|
|
|
@@ -5128,7 +5140,7 @@ EXAMPLES
|
|
|
5128
5140
|
$ sf plugins:inspect myplugin
|
|
5129
5141
|
```
|
|
5130
5142
|
|
|
5131
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5143
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/inspect.ts)_
|
|
5132
5144
|
|
|
5133
5145
|
## `sf plugins:install PLUGIN...`
|
|
5134
5146
|
|
|
@@ -5168,7 +5180,7 @@ EXAMPLES
|
|
|
5168
5180
|
$ sf plugins:install someuser/someplugin
|
|
5169
5181
|
```
|
|
5170
5182
|
|
|
5171
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5183
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/install.ts)_
|
|
5172
5184
|
|
|
5173
5185
|
## `sf plugins:link PLUGIN`
|
|
5174
5186
|
|
|
@@ -5197,7 +5209,7 @@ EXAMPLES
|
|
|
5197
5209
|
$ sf plugins:link myplugin
|
|
5198
5210
|
```
|
|
5199
5211
|
|
|
5200
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5212
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/link.ts)_
|
|
5201
5213
|
|
|
5202
5214
|
## `sf plugins trust verify`
|
|
5203
5215
|
|
|
@@ -5225,7 +5237,7 @@ EXAMPLES
|
|
|
5225
5237
|
$ sf plugins trust verify --npm @scope/npmName
|
|
5226
5238
|
```
|
|
5227
5239
|
|
|
5228
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/2.6.
|
|
5240
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/2.6.18/src/commands/plugins/trust/verify.ts)_
|
|
5229
5241
|
|
|
5230
5242
|
## `sf plugins:uninstall PLUGIN...`
|
|
5231
5243
|
|
|
@@ -5250,7 +5262,7 @@ ALIASES
|
|
|
5250
5262
|
$ sf plugins remove
|
|
5251
5263
|
```
|
|
5252
5264
|
|
|
5253
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5265
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/uninstall.ts)_
|
|
5254
5266
|
|
|
5255
5267
|
## `sf plugins update`
|
|
5256
5268
|
|
|
@@ -5268,7 +5280,7 @@ DESCRIPTION
|
|
|
5268
5280
|
Update installed plugins.
|
|
5269
5281
|
```
|
|
5270
5282
|
|
|
5271
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.
|
|
5283
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/3.8.4/src/commands/plugins/update.ts)_
|
|
5272
5284
|
|
|
5273
5285
|
## `sf project convert mdapi`
|
|
5274
5286
|
|
|
@@ -5330,7 +5342,7 @@ FLAG DESCRIPTIONS
|
|
|
5330
5342
|
If you specify this parameter, don’t specify --metadata or --source-dir.
|
|
5331
5343
|
```
|
|
5332
5344
|
|
|
5333
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5345
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/convert/mdapi.ts)_
|
|
5334
5346
|
|
|
5335
5347
|
## `sf project convert source`
|
|
5336
5348
|
|
|
@@ -5342,7 +5354,7 @@ USAGE
|
|
|
5342
5354
|
<value> | -m <value>]
|
|
5343
5355
|
|
|
5344
5356
|
FLAGS
|
|
5345
|
-
-d, --output-dir=<value> [default:
|
|
5357
|
+
-d, --output-dir=<value> [default: metadataPackage_1696366148889] Output directory to store the Metadata
|
|
5346
5358
|
API–formatted files in.
|
|
5347
5359
|
-m, --metadata=<value>... Metadata component names to convert.
|
|
5348
5360
|
-n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
|
|
@@ -5402,7 +5414,7 @@ FLAG DESCRIPTIONS
|
|
|
5402
5414
|
Override the api version used for api requests made by this command
|
|
5403
5415
|
```
|
|
5404
5416
|
|
|
5405
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5417
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/convert/source.ts)_
|
|
5406
5418
|
|
|
5407
5419
|
## `sf project delete source`
|
|
5408
5420
|
|
|
@@ -5540,7 +5552,7 @@ FLAG DESCRIPTIONS
|
|
|
5540
5552
|
- Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
|
|
5541
5553
|
```
|
|
5542
5554
|
|
|
5543
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5555
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/delete/source.ts)_
|
|
5544
5556
|
|
|
5545
5557
|
## `sf project delete tracking`
|
|
5546
5558
|
|
|
@@ -5575,7 +5587,7 @@ EXAMPLES
|
|
|
5575
5587
|
$ sf project delete tracking --target-org my-scratch
|
|
5576
5588
|
```
|
|
5577
5589
|
|
|
5578
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5590
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/delete/tracking.ts)_
|
|
5579
5591
|
|
|
5580
5592
|
## `sf project deploy cancel`
|
|
5581
5593
|
|
|
@@ -5645,7 +5657,7 @@ FLAG DESCRIPTIONS
|
|
|
5645
5657
|
project deploy report".
|
|
5646
5658
|
```
|
|
5647
5659
|
|
|
5648
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5660
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/cancel.ts)_
|
|
5649
5661
|
|
|
5650
5662
|
## `sf project deploy preview`
|
|
5651
5663
|
|
|
@@ -5728,7 +5740,7 @@ FLAG DESCRIPTIONS
|
|
|
5728
5740
|
All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
|
|
5729
5741
|
```
|
|
5730
5742
|
|
|
5731
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5743
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/preview.ts)_
|
|
5732
5744
|
|
|
5733
5745
|
## `sf project deploy quick`
|
|
5734
5746
|
|
|
@@ -5821,7 +5833,7 @@ ERROR CODES
|
|
|
5821
5833
|
Canceling (69) The deploy is being canceled.
|
|
5822
5834
|
```
|
|
5823
5835
|
|
|
5824
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5836
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/quick.ts)_
|
|
5825
5837
|
|
|
5826
5838
|
## `sf project deploy report`
|
|
5827
5839
|
|
|
@@ -5916,7 +5928,7 @@ FLAG DESCRIPTIONS
|
|
|
5916
5928
|
--coverage-formatters lcov --coverage-formatters clover
|
|
5917
5929
|
```
|
|
5918
5930
|
|
|
5919
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
5931
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/report.ts)_
|
|
5920
5932
|
|
|
5921
5933
|
## `sf project deploy resume`
|
|
5922
5934
|
|
|
@@ -6012,7 +6024,7 @@ ERROR CODES
|
|
|
6012
6024
|
Canceling (69) The deploy is being canceled.
|
|
6013
6025
|
```
|
|
6014
6026
|
|
|
6015
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6027
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/resume.ts)_
|
|
6016
6028
|
|
|
6017
6029
|
## `sf project deploy start`
|
|
6018
6030
|
|
|
@@ -6042,8 +6054,8 @@ FLAGS
|
|
|
6042
6054
|
|
|
6043
6055
|
SOURCE FORMAT FLAGS
|
|
6044
6056
|
-d, --source-dir=<value>... Path to the local source files to deploy.
|
|
6045
|
-
-m, --metadata=<value>... Metadata component names to deploy. Wildcards (
|
|
6046
|
-
such as
|
|
6057
|
+
-m, --metadata=<value>... Metadata component names to deploy. Wildcards ( `*` ) supported as long as you use
|
|
6058
|
+
quotes, such as `ApexClass:MyClass*`
|
|
6047
6059
|
-x, --manifest=<value> Full file path for manifest (package.xml) of components to deploy.
|
|
6048
6060
|
|
|
6049
6061
|
TEST FLAGS
|
|
@@ -6240,7 +6252,7 @@ ERROR CODES
|
|
|
6240
6252
|
Canceling (69) The deploy is being canceled.
|
|
6241
6253
|
```
|
|
6242
6254
|
|
|
6243
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6255
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/start.ts)_
|
|
6244
6256
|
|
|
6245
6257
|
## `sf project deploy validate`
|
|
6246
6258
|
|
|
@@ -6412,7 +6424,7 @@ ERROR CODES
|
|
|
6412
6424
|
Canceling (69) The deploy is being canceled.
|
|
6413
6425
|
```
|
|
6414
6426
|
|
|
6415
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6427
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/deploy/validate.ts)_
|
|
6416
6428
|
|
|
6417
6429
|
## `sf project generate`
|
|
6418
6430
|
|
|
@@ -6591,7 +6603,7 @@ EXAMPLES
|
|
|
6591
6603
|
$ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
|
|
6592
6604
|
```
|
|
6593
6605
|
|
|
6594
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6606
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/generate/manifest.ts)_
|
|
6595
6607
|
|
|
6596
6608
|
## `sf project list ignored`
|
|
6597
6609
|
|
|
@@ -6632,7 +6644,7 @@ EXAMPLES
|
|
|
6632
6644
|
$ sf project list ignored --source-dir package.xml
|
|
6633
6645
|
```
|
|
6634
6646
|
|
|
6635
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6647
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/list/ignored.ts)_
|
|
6636
6648
|
|
|
6637
6649
|
## `sf project reset tracking`
|
|
6638
6650
|
|
|
@@ -6679,7 +6691,7 @@ EXAMPLES
|
|
|
6679
6691
|
$ sf project reset tracking --revision 30
|
|
6680
6692
|
```
|
|
6681
6693
|
|
|
6682
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6694
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/reset/tracking.ts)_
|
|
6683
6695
|
|
|
6684
6696
|
## `sf project retrieve preview`
|
|
6685
6697
|
|
|
@@ -6734,7 +6746,7 @@ FLAG DESCRIPTIONS
|
|
|
6734
6746
|
Overrides your default org.
|
|
6735
6747
|
```
|
|
6736
6748
|
|
|
6737
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6749
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/retrieve/preview.ts)_
|
|
6738
6750
|
|
|
6739
6751
|
## `sf project retrieve start`
|
|
6740
6752
|
|
|
@@ -6750,8 +6762,8 @@ FLAGS
|
|
|
6750
6762
|
-c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
|
|
6751
6763
|
overwrite your local changes.
|
|
6752
6764
|
-d, --source-dir=<value>... File paths for source to retrieve from the org.
|
|
6753
|
-
-m, --metadata=<value>... Metadata component names to retrieve. Wildcards (
|
|
6754
|
-
quotes, such as
|
|
6765
|
+
-m, --metadata=<value>... Metadata component names to retrieve. Wildcards ( `*` ) supported as long as you use
|
|
6766
|
+
quotes, such as `ApexClass:MyClass*`
|
|
6755
6767
|
-n, --package-name=<value>... Package names to retrieve.
|
|
6756
6768
|
-o, --target-org=<value> (required) Login username or alias for the target org.
|
|
6757
6769
|
-r, --output-dir=<value> Directory root for the retrieved source files.
|
|
@@ -6888,7 +6900,7 @@ ENVIRONMENT VARIABLES
|
|
|
6888
6900
|
SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
|
|
6889
6901
|
```
|
|
6890
6902
|
|
|
6891
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.
|
|
6903
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.18.6/src/commands/project/retrieve/start.ts)_
|
|
6892
6904
|
|
|
6893
6905
|
## `sf schema generate field`
|
|
6894
6906
|
|
|
@@ -7085,7 +7097,7 @@ DESCRIPTION
|
|
|
7085
7097
|
Once you select a command, hit enter and it will show the help for that command.
|
|
7086
7098
|
```
|
|
7087
7099
|
|
|
7088
|
-
_See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/0.0.23/
|
|
7100
|
+
_See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/0.0.23/src/commands/search.ts)_
|
|
7089
7101
|
|
|
7090
7102
|
## `sf sobject describe`
|
|
7091
7103
|
|
|
@@ -7406,6 +7418,6 @@ EXAMPLES
|
|
|
7406
7418
|
$ sf which help
|
|
7407
7419
|
```
|
|
7408
7420
|
|
|
7409
|
-
_See code: [@oclif/plugin-which](https://github.com/oclif/plugin-which/blob/2.2.
|
|
7421
|
+
_See code: [@oclif/plugin-which](https://github.com/oclif/plugin-which/blob/2.2.34/src/commands/which.ts)_
|
|
7410
7422
|
|
|
7411
7423
|
<!-- commandsstop -->
|
package/bin/dev
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const oclif = require('@oclif/core');
|
|
4
|
+
|
|
5
|
+
require('ts-node').register();
|
|
6
|
+
|
|
7
|
+
oclif.settings.tsnodeEnabled = true;
|
|
8
|
+
oclif.settings.debug = true;
|
|
9
|
+
oclif.settings.performanceEnabled = true;
|
|
10
|
+
|
|
11
|
+
process.env.NODE_ENV = 'development';
|
|
12
|
+
|
|
13
|
+
oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'));
|
package/bin/run
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Since the CLI is a single process, we can have a larger amount of max listeners since
|
|
4
|
+
// the process gets shut down. Don't set it to 0 (no limit) since we should still be aware
|
|
5
|
+
// of rouge event listeners
|
|
6
|
+
process.setMaxListeners(parseInt(process.env.SF_MAX_EVENT_LISTENERS, 10) || 1000);
|
|
7
|
+
|
|
8
|
+
// Don't let other plugins override the CLI specified max listener count
|
|
9
|
+
process.setMaxListeners = () => {};
|
|
10
|
+
|
|
11
|
+
// Pre-process/prune flags before creating or running the actual CLI
|
|
12
|
+
require('../dist/flags').preprocessCliFlags(process);
|
|
13
|
+
|
|
14
|
+
const cli = require('../dist/cli');
|
|
15
|
+
const pjson = require('../package.json');
|
|
16
|
+
|
|
17
|
+
cli
|
|
18
|
+
.create(pjson.version, 'stable')
|
|
19
|
+
.run()
|
|
20
|
+
.then(function () {
|
|
21
|
+
require('@oclif/core/flush')();
|
|
22
|
+
})
|
|
23
|
+
.catch(function (err) {
|
|
24
|
+
require('@oclif/core/handle')(err);
|
|
25
|
+
});
|