@salesforce/plugin-deploy-retrieve 3.24.26 → 3.24.28
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 -17
- package/oclif.manifest.json +363 -363
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ FLAG DESCRIPTIONS
|
|
|
141
141
|
If you specify this flag, don’t specify --metadata or --source-dir.
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
144
|
+
_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/convert/mdapi.ts)_
|
|
145
145
|
|
|
146
146
|
## `sf project convert source`
|
|
147
147
|
|
|
@@ -214,7 +214,7 @@ FLAG DESCRIPTIONS
|
|
|
214
214
|
Override the api version used for api requests made by this command
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
217
|
+
_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/convert/source.ts)_
|
|
218
218
|
|
|
219
219
|
## `sf project convert source-behavior`
|
|
220
220
|
|
|
@@ -273,7 +273,7 @@ EXAMPLES
|
|
|
273
273
|
$ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
-
_See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
276
|
+
_See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/convert/source-behavior.ts)_
|
|
277
277
|
|
|
278
278
|
## `sf project delete source`
|
|
279
279
|
|
|
@@ -426,7 +426,7 @@ FLAG DESCRIPTIONS
|
|
|
426
426
|
- Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
|
|
427
427
|
```
|
|
428
428
|
|
|
429
|
-
_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
429
|
+
_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/delete/source.ts)_
|
|
430
430
|
|
|
431
431
|
## `sf project delete tracking`
|
|
432
432
|
|
|
@@ -463,7 +463,7 @@ EXAMPLES
|
|
|
463
463
|
$ sf project delete tracking --target-org my-scratch
|
|
464
464
|
```
|
|
465
465
|
|
|
466
|
-
_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
466
|
+
_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/delete/tracking.ts)_
|
|
467
467
|
|
|
468
468
|
## `sf project deploy cancel`
|
|
469
469
|
|
|
@@ -535,7 +535,7 @@ FLAG DESCRIPTIONS
|
|
|
535
535
|
project deploy report".
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
538
|
+
_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/cancel.ts)_
|
|
539
539
|
|
|
540
540
|
## `sf project deploy preview`
|
|
541
541
|
|
|
@@ -618,7 +618,7 @@ FLAG DESCRIPTIONS
|
|
|
618
618
|
All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
|
|
619
619
|
```
|
|
620
620
|
|
|
621
|
-
_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
621
|
+
_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/preview.ts)_
|
|
622
622
|
|
|
623
623
|
## `sf project deploy quick`
|
|
624
624
|
|
|
@@ -702,7 +702,7 @@ FLAG DESCRIPTIONS
|
|
|
702
702
|
deploy report".
|
|
703
703
|
```
|
|
704
704
|
|
|
705
|
-
_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
705
|
+
_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/quick.ts)_
|
|
706
706
|
|
|
707
707
|
## `sf project deploy report`
|
|
708
708
|
|
|
@@ -794,7 +794,7 @@ FLAG DESCRIPTIONS
|
|
|
794
794
|
--coverage-formatters lcov --coverage-formatters clover
|
|
795
795
|
```
|
|
796
796
|
|
|
797
|
-
_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
797
|
+
_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/report.ts)_
|
|
798
798
|
|
|
799
799
|
## `sf project deploy resume`
|
|
800
800
|
|
|
@@ -879,7 +879,7 @@ FLAG DESCRIPTIONS
|
|
|
879
879
|
--coverage-formatters lcov --coverage-formatters clover
|
|
880
880
|
```
|
|
881
881
|
|
|
882
|
-
_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
882
|
+
_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/resume.ts)_
|
|
883
883
|
|
|
884
884
|
## `sf project deploy start`
|
|
885
885
|
|
|
@@ -1128,7 +1128,7 @@ FLAG DESCRIPTIONS
|
|
|
1128
1128
|
--coverage-formatters lcov --coverage-formatters clover
|
|
1129
1129
|
```
|
|
1130
1130
|
|
|
1131
|
-
_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1131
|
+
_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/start.ts)_
|
|
1132
1132
|
|
|
1133
1133
|
## `sf project deploy validate`
|
|
1134
1134
|
|
|
@@ -1315,7 +1315,7 @@ FLAG DESCRIPTIONS
|
|
|
1315
1315
|
--coverage-formatters lcov --coverage-formatters clover
|
|
1316
1316
|
```
|
|
1317
1317
|
|
|
1318
|
-
_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1318
|
+
_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/deploy/validate.ts)_
|
|
1319
1319
|
|
|
1320
1320
|
## `sf project generate manifest`
|
|
1321
1321
|
|
|
@@ -1411,7 +1411,7 @@ EXAMPLES
|
|
|
1411
1411
|
$ sf project generate manifest --from-org test@myorg.com --excluded-metadata StandardValueSet
|
|
1412
1412
|
```
|
|
1413
1413
|
|
|
1414
|
-
_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1414
|
+
_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/generate/manifest.ts)_
|
|
1415
1415
|
|
|
1416
1416
|
## `sf project list ignored`
|
|
1417
1417
|
|
|
@@ -1453,7 +1453,7 @@ EXAMPLES
|
|
|
1453
1453
|
$ sf project list ignored --source-dir package.xml
|
|
1454
1454
|
```
|
|
1455
1455
|
|
|
1456
|
-
_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1456
|
+
_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/list/ignored.ts)_
|
|
1457
1457
|
|
|
1458
1458
|
## `sf project reset tracking`
|
|
1459
1459
|
|
|
@@ -1502,7 +1502,7 @@ EXAMPLES
|
|
|
1502
1502
|
$ sf project reset tracking --revision 30
|
|
1503
1503
|
```
|
|
1504
1504
|
|
|
1505
|
-
_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1505
|
+
_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/reset/tracking.ts)_
|
|
1506
1506
|
|
|
1507
1507
|
## `sf project retrieve preview`
|
|
1508
1508
|
|
|
@@ -1556,7 +1556,7 @@ FLAG DESCRIPTIONS
|
|
|
1556
1556
|
production orgs.
|
|
1557
1557
|
```
|
|
1558
1558
|
|
|
1559
|
-
_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1559
|
+
_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/retrieve/preview.ts)_
|
|
1560
1560
|
|
|
1561
1561
|
## `sf project retrieve start`
|
|
1562
1562
|
|
|
@@ -1729,6 +1729,6 @@ FLAG DESCRIPTIONS
|
|
|
1729
1729
|
If you specify this flag, don’t specify --metadata or --source-dir.
|
|
1730
1730
|
```
|
|
1731
1731
|
|
|
1732
|
-
_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.
|
|
1732
|
+
_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.28/src/commands/project/retrieve/start.ts)_
|
|
1733
1733
|
|
|
1734
1734
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1902,18 +1902,20 @@
|
|
|
1902
1902
|
"validate:deploy:project"
|
|
1903
1903
|
]
|
|
1904
1904
|
},
|
|
1905
|
-
"project:
|
|
1905
|
+
"project:generate:manifest": {
|
|
1906
1906
|
"aliases": [
|
|
1907
|
-
"force:source:
|
|
1907
|
+
"force:source:manifest:create"
|
|
1908
1908
|
],
|
|
1909
1909
|
"args": {},
|
|
1910
1910
|
"deprecateAliases": true,
|
|
1911
|
-
"description": "
|
|
1911
|
+
"description": "Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-dir). You can specify either of these flags, not both.\n\nUse --type to specify the type of manifest you want to create. The resulting manifest files have specific names, such as the standard package.xml or destructiveChanges.xml to delete metadata. Valid values for this flag, and their respective file names, are:\n\n * package : package.xml (default)\n * pre : destructiveChangesPre.xml\n * post : destructiveChangesPost.xml\n * destroy : destructiveChanges.xml\n\nSee https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_deleting_files.htm for information about these destructive manifest files.\n\nUse --name to specify a custom name for the generated manifest if the pre-defined ones don’t suit your needs. You can specify either --type or --name, but not both.\n\nTo include multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --include-packages and --source-dir.\n\nTo build a manifest from the metadata in an org, use the --from-org flag. You can combine --from-org with the --metadata flag to include only certain metadata types, or with the --excluded-metadata flag to exclude certain metadata types. When building a manifest from an org, the command makes many concurrent API calls to discover the metadata that exists in the org. To limit the number of concurrent requests, use the SF_LIST_METADATA_BATCH_SIZE environment variable and set it to a size that works best for your org and environment. If you experience timeouts or inconsistent manifest contents, then setting this environment variable can improve accuracy. However, the command takes longer to run because it sends fewer requests at a time.",
|
|
1912
1912
|
"examples": [
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1915
|
-
"
|
|
1916
|
-
"
|
|
1913
|
+
"Create a manifest for deploying or retrieving all Apex classes and custom objects:\n$ <%= config.bin %> <%= command.id %> --metadata ApexClass --metadata CustomObject",
|
|
1914
|
+
"Create a manifest for deleting the specified Apex class:\n$ <%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --type destroy",
|
|
1915
|
+
"Create a manifest for deploying or retrieving all the metadata components in the specified local directory; name the file myNewManifest.xml:\n$ <%= config.bin %> <%= command.id %> --source-dir force-app --name myNewManifest",
|
|
1916
|
+
"Create a manifest from the metadata components in the specified org and include metadata in any unlocked packages:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked",
|
|
1917
|
+
"Create a manifest from specific metadata types in an org:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --metadata ApexClass,CustomObject,CustomLabels",
|
|
1918
|
+
"Create a manifest from all metadata components in an org excluding specific metadata types:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --excluded-metadata StandardValueSet"
|
|
1917
1919
|
],
|
|
1918
1920
|
"flags": {
|
|
1919
1921
|
"json": {
|
|
@@ -1952,150 +1954,137 @@
|
|
|
1952
1954
|
"multiple": false,
|
|
1953
1955
|
"type": "option"
|
|
1954
1956
|
},
|
|
1955
|
-
"
|
|
1957
|
+
"metadata": {
|
|
1958
|
+
"char": "m",
|
|
1959
|
+
"name": "metadata",
|
|
1960
|
+
"summary": "Names of metadata components to include in the manifest.",
|
|
1961
|
+
"delimiter": ",",
|
|
1962
|
+
"hasDynamicHelp": false,
|
|
1963
|
+
"multiple": true,
|
|
1964
|
+
"type": "option"
|
|
1965
|
+
},
|
|
1966
|
+
"source-dir": {
|
|
1956
1967
|
"aliases": [
|
|
1957
|
-
"
|
|
1958
|
-
"u"
|
|
1968
|
+
"sourcepath"
|
|
1959
1969
|
],
|
|
1960
|
-
"char": "
|
|
1970
|
+
"char": "p",
|
|
1961
1971
|
"deprecateAliases": true,
|
|
1962
|
-
"name": "
|
|
1963
|
-
"
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
1966
|
-
"
|
|
1967
|
-
"multiple": false,
|
|
1972
|
+
"name": "source-dir",
|
|
1973
|
+
"summary": "Paths to the local source files to include in the manifest.",
|
|
1974
|
+
"delimiter": ",",
|
|
1975
|
+
"hasDynamicHelp": false,
|
|
1976
|
+
"multiple": true,
|
|
1968
1977
|
"type": "option"
|
|
1969
1978
|
},
|
|
1970
|
-
"
|
|
1979
|
+
"name": {
|
|
1971
1980
|
"aliases": [
|
|
1972
|
-
"
|
|
1981
|
+
"manifestname"
|
|
1973
1982
|
],
|
|
1974
|
-
"char": "
|
|
1983
|
+
"char": "n",
|
|
1975
1984
|
"deprecateAliases": true,
|
|
1976
|
-
"
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
"
|
|
1980
|
-
"
|
|
1981
|
-
},
|
|
1982
|
-
"wait": {
|
|
1983
|
-
"char": "w",
|
|
1984
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
1985
|
-
"name": "wait",
|
|
1986
|
-
"summary": "Number of minutes to wait for the command to finish.",
|
|
1987
|
-
"hasDynamicHelp": true,
|
|
1988
|
-
"multiple": false,
|
|
1989
|
-
"type": "option"
|
|
1990
|
-
},
|
|
1991
|
-
"tests": {
|
|
1992
|
-
"description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
|
|
1993
|
-
"helpGroup": "Test",
|
|
1994
|
-
"name": "tests",
|
|
1995
|
-
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
1985
|
+
"exclusive": [
|
|
1986
|
+
"type"
|
|
1987
|
+
],
|
|
1988
|
+
"name": "name",
|
|
1989
|
+
"summary": "Name of a custom manifest file to create.",
|
|
1996
1990
|
"hasDynamicHelp": false,
|
|
1997
|
-
"multiple":
|
|
1991
|
+
"multiple": false,
|
|
1998
1992
|
"type": "option"
|
|
1999
1993
|
},
|
|
2000
|
-
"
|
|
1994
|
+
"type": {
|
|
2001
1995
|
"aliases": [
|
|
2002
|
-
"
|
|
1996
|
+
"manifesttype"
|
|
2003
1997
|
],
|
|
2004
|
-
"char": "
|
|
1998
|
+
"char": "t",
|
|
2005
1999
|
"deprecateAliases": true,
|
|
2006
|
-
"
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
"
|
|
2000
|
+
"exclusive": [
|
|
2001
|
+
"name"
|
|
2002
|
+
],
|
|
2003
|
+
"name": "type",
|
|
2004
|
+
"summary": "Type of manifest to create; the type determines the name of the created file.",
|
|
2010
2005
|
"hasDynamicHelp": false,
|
|
2011
2006
|
"multiple": false,
|
|
2012
2007
|
"options": [
|
|
2013
|
-
"
|
|
2014
|
-
"
|
|
2015
|
-
"
|
|
2016
|
-
"
|
|
2017
|
-
"RunRelevantTests"
|
|
2008
|
+
"pre",
|
|
2009
|
+
"post",
|
|
2010
|
+
"destroy",
|
|
2011
|
+
"package"
|
|
2018
2012
|
],
|
|
2019
2013
|
"type": "option"
|
|
2020
2014
|
},
|
|
2021
|
-
"
|
|
2015
|
+
"include-packages": {
|
|
2022
2016
|
"aliases": [
|
|
2023
|
-
"
|
|
2017
|
+
"includepackages"
|
|
2018
|
+
],
|
|
2019
|
+
"char": "c",
|
|
2020
|
+
"dependsOn": [
|
|
2021
|
+
"from-org"
|
|
2024
2022
|
],
|
|
2025
|
-
"char": "r",
|
|
2026
2023
|
"deprecateAliases": true,
|
|
2027
|
-
"name": "
|
|
2028
|
-
"summary": "
|
|
2029
|
-
"allowNo": false,
|
|
2030
|
-
"type": "boolean"
|
|
2031
|
-
},
|
|
2032
|
-
"metadata": {
|
|
2033
|
-
"char": "m",
|
|
2034
|
-
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
2035
|
-
"name": "metadata",
|
|
2036
|
-
"summary": "Metadata components to delete.",
|
|
2024
|
+
"name": "include-packages",
|
|
2025
|
+
"summary": "Package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in managed and unlocked packages is excluded. Metadata in unmanaged packages is always included.",
|
|
2037
2026
|
"delimiter": ",",
|
|
2038
2027
|
"hasDynamicHelp": false,
|
|
2039
2028
|
"multiple": true,
|
|
2029
|
+
"options": [
|
|
2030
|
+
"managed",
|
|
2031
|
+
"unlocked"
|
|
2032
|
+
],
|
|
2040
2033
|
"type": "option"
|
|
2041
2034
|
},
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
2044
|
-
|
|
2035
|
+
"excluded-metadata": {
|
|
2036
|
+
"name": "excluded-metadata",
|
|
2037
|
+
"relationships": [
|
|
2038
|
+
{
|
|
2039
|
+
"type": "some",
|
|
2040
|
+
"flags": [
|
|
2041
|
+
"from-org",
|
|
2042
|
+
"source-dir"
|
|
2043
|
+
]
|
|
2044
|
+
}
|
|
2045
2045
|
],
|
|
2046
|
-
"
|
|
2047
|
-
"deprecateAliases": true,
|
|
2048
|
-
"description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --metadata.",
|
|
2049
|
-
"name": "source-dir",
|
|
2050
|
-
"summary": "Source file paths to delete.",
|
|
2046
|
+
"summary": "Metadata types to exclude when building a manifest from an org. Specify the name of the type, not the name of a specific component.",
|
|
2051
2047
|
"delimiter": ",",
|
|
2052
2048
|
"hasDynamicHelp": false,
|
|
2053
2049
|
"multiple": true,
|
|
2054
2050
|
"type": "option"
|
|
2055
2051
|
},
|
|
2056
|
-
"
|
|
2052
|
+
"from-org": {
|
|
2057
2053
|
"aliases": [
|
|
2058
|
-
"
|
|
2054
|
+
"fromorg"
|
|
2059
2055
|
],
|
|
2060
|
-
"char": "t",
|
|
2061
2056
|
"deprecateAliases": true,
|
|
2062
2057
|
"exclusive": [
|
|
2063
|
-
"
|
|
2058
|
+
"source-dir"
|
|
2064
2059
|
],
|
|
2065
|
-
"name": "
|
|
2066
|
-
"summary": "
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
2060
|
+
"name": "from-org",
|
|
2061
|
+
"summary": "Username or alias of the org that contains the metadata components from which to build a manifest.",
|
|
2062
|
+
"hasDynamicHelp": false,
|
|
2063
|
+
"multiple": false,
|
|
2064
|
+
"type": "option"
|
|
2069
2065
|
},
|
|
2070
|
-
"
|
|
2066
|
+
"output-dir": {
|
|
2071
2067
|
"aliases": [
|
|
2072
|
-
"
|
|
2073
|
-
|
|
2074
|
-
"char": "f",
|
|
2075
|
-
"dependsOn": [
|
|
2076
|
-
"track-source"
|
|
2068
|
+
"outputdir",
|
|
2069
|
+
"o"
|
|
2077
2070
|
],
|
|
2071
|
+
"char": "d",
|
|
2078
2072
|
"deprecateAliases": true,
|
|
2079
|
-
"name": "
|
|
2080
|
-
"summary": "
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2083
|
-
|
|
2084
|
-
"verbose": {
|
|
2085
|
-
"name": "verbose",
|
|
2086
|
-
"summary": "Verbose output of the delete result.",
|
|
2087
|
-
"allowNo": false,
|
|
2088
|
-
"type": "boolean"
|
|
2073
|
+
"name": "output-dir",
|
|
2074
|
+
"summary": "Directory to save the created manifest.",
|
|
2075
|
+
"hasDynamicHelp": false,
|
|
2076
|
+
"multiple": false,
|
|
2077
|
+
"type": "option"
|
|
2089
2078
|
}
|
|
2090
2079
|
},
|
|
2091
|
-
"hasDynamicHelp":
|
|
2080
|
+
"hasDynamicHelp": false,
|
|
2092
2081
|
"hiddenAliases": [],
|
|
2093
|
-
"id": "project:
|
|
2082
|
+
"id": "project:generate:manifest",
|
|
2094
2083
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2095
2084
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2096
2085
|
"pluginType": "core",
|
|
2097
2086
|
"strict": true,
|
|
2098
|
-
"summary": "
|
|
2087
|
+
"summary": "Create a project manifest that lists the metadata components you want to deploy or retrieve.",
|
|
2099
2088
|
"enableJsonFlag": true,
|
|
2100
2089
|
"requiresProject": true,
|
|
2101
2090
|
"isESM": true,
|
|
@@ -2103,35 +2092,55 @@
|
|
|
2103
2092
|
"lib",
|
|
2104
2093
|
"commands",
|
|
2105
2094
|
"project",
|
|
2106
|
-
"
|
|
2107
|
-
"
|
|
2095
|
+
"generate",
|
|
2096
|
+
"manifest.js"
|
|
2108
2097
|
],
|
|
2109
2098
|
"aliasPermutations": [
|
|
2110
|
-
"force:source:
|
|
2111
|
-
"source:force:
|
|
2112
|
-
"source:
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2099
|
+
"force:source:manifest:create",
|
|
2100
|
+
"source:force:manifest:create",
|
|
2101
|
+
"source:manifest:force:create",
|
|
2102
|
+
"source:manifest:create:force",
|
|
2103
|
+
"force:manifest:source:create",
|
|
2104
|
+
"manifest:force:source:create",
|
|
2105
|
+
"manifest:source:force:create",
|
|
2106
|
+
"manifest:source:create:force",
|
|
2107
|
+
"force:manifest:create:source",
|
|
2108
|
+
"manifest:force:create:source",
|
|
2109
|
+
"manifest:create:force:source",
|
|
2110
|
+
"manifest:create:source:force",
|
|
2111
|
+
"force:source:create:manifest",
|
|
2112
|
+
"source:force:create:manifest",
|
|
2113
|
+
"source:create:force:manifest",
|
|
2114
|
+
"source:create:manifest:force",
|
|
2115
|
+
"force:create:source:manifest",
|
|
2116
|
+
"create:force:source:manifest",
|
|
2117
|
+
"create:source:force:manifest",
|
|
2118
|
+
"create:source:manifest:force",
|
|
2119
|
+
"force:create:manifest:source",
|
|
2120
|
+
"create:force:manifest:source",
|
|
2121
|
+
"create:manifest:force:source",
|
|
2122
|
+
"create:manifest:source:force"
|
|
2116
2123
|
],
|
|
2117
2124
|
"permutations": [
|
|
2118
|
-
"project:
|
|
2119
|
-
"
|
|
2120
|
-
"
|
|
2121
|
-
"project:
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2125
|
+
"project:generate:manifest",
|
|
2126
|
+
"generate:project:manifest",
|
|
2127
|
+
"generate:manifest:project",
|
|
2128
|
+
"project:manifest:generate",
|
|
2129
|
+
"manifest:project:generate",
|
|
2130
|
+
"manifest:generate:project"
|
|
2124
2131
|
]
|
|
2125
2132
|
},
|
|
2126
|
-
"project:
|
|
2133
|
+
"project:list:ignored": {
|
|
2127
2134
|
"aliases": [
|
|
2128
|
-
"force:source:
|
|
2135
|
+
"force:source:ignored:list"
|
|
2129
2136
|
],
|
|
2130
2137
|
"args": {},
|
|
2131
2138
|
"deprecateAliases": true,
|
|
2132
|
-
"description": "
|
|
2139
|
+
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2133
2140
|
"examples": [
|
|
2134
|
-
"
|
|
2141
|
+
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2142
|
+
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2143
|
+
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2135
2144
|
],
|
|
2136
2145
|
"flags": {
|
|
2137
2146
|
"json": {
|
|
@@ -2149,62 +2158,27 @@
|
|
|
2149
2158
|
"multiple": false,
|
|
2150
2159
|
"type": "option"
|
|
2151
2160
|
},
|
|
2152
|
-
"
|
|
2161
|
+
"source-dir": {
|
|
2153
2162
|
"aliases": [
|
|
2154
|
-
"
|
|
2163
|
+
"sourcepath"
|
|
2155
2164
|
],
|
|
2165
|
+
"char": "p",
|
|
2156
2166
|
"deprecateAliases": true,
|
|
2157
|
-
"
|
|
2158
|
-
"
|
|
2167
|
+
"name": "source-dir",
|
|
2168
|
+
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2159
2169
|
"hasDynamicHelp": false,
|
|
2160
2170
|
"multiple": false,
|
|
2161
2171
|
"type": "option"
|
|
2162
|
-
},
|
|
2163
|
-
"loglevel": {
|
|
2164
|
-
"deprecated": {
|
|
2165
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
2166
|
-
},
|
|
2167
|
-
"hidden": true,
|
|
2168
|
-
"name": "loglevel",
|
|
2169
|
-
"hasDynamicHelp": false,
|
|
2170
|
-
"multiple": false,
|
|
2171
|
-
"type": "option"
|
|
2172
|
-
},
|
|
2173
|
-
"target-org": {
|
|
2174
|
-
"aliases": [
|
|
2175
|
-
"targetusername",
|
|
2176
|
-
"u"
|
|
2177
|
-
],
|
|
2178
|
-
"char": "o",
|
|
2179
|
-
"deprecateAliases": true,
|
|
2180
|
-
"name": "target-org",
|
|
2181
|
-
"noCacheDefault": true,
|
|
2182
|
-
"required": true,
|
|
2183
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2184
|
-
"hasDynamicHelp": true,
|
|
2185
|
-
"multiple": false,
|
|
2186
|
-
"type": "option"
|
|
2187
|
-
},
|
|
2188
|
-
"no-prompt": {
|
|
2189
|
-
"aliases": [
|
|
2190
|
-
"noprompt"
|
|
2191
|
-
],
|
|
2192
|
-
"char": "p",
|
|
2193
|
-
"deprecateAliases": true,
|
|
2194
|
-
"name": "no-prompt",
|
|
2195
|
-
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2196
|
-
"allowNo": false,
|
|
2197
|
-
"type": "boolean"
|
|
2198
2172
|
}
|
|
2199
2173
|
},
|
|
2200
|
-
"hasDynamicHelp":
|
|
2174
|
+
"hasDynamicHelp": false,
|
|
2201
2175
|
"hiddenAliases": [],
|
|
2202
|
-
"id": "project:
|
|
2176
|
+
"id": "project:list:ignored",
|
|
2203
2177
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2204
2178
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2205
2179
|
"pluginType": "core",
|
|
2206
2180
|
"strict": true,
|
|
2207
|
-
"summary": "
|
|
2181
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2208
2182
|
"enableJsonFlag": true,
|
|
2209
2183
|
"requiresProject": true,
|
|
2210
2184
|
"isESM": true,
|
|
@@ -2212,58 +2186,56 @@
|
|
|
2212
2186
|
"lib",
|
|
2213
2187
|
"commands",
|
|
2214
2188
|
"project",
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
2189
|
+
"list",
|
|
2190
|
+
"ignored.js"
|
|
2217
2191
|
],
|
|
2218
2192
|
"aliasPermutations": [
|
|
2219
|
-
"force:source:
|
|
2220
|
-
"source:force:
|
|
2221
|
-
"source:
|
|
2222
|
-
"source:
|
|
2223
|
-
"force:
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2227
|
-
"force:
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2231
|
-
"force:source:
|
|
2232
|
-
"source:force:
|
|
2233
|
-
"source:
|
|
2234
|
-
"source:
|
|
2235
|
-
"force:
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"force:
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2193
|
+
"force:source:ignored:list",
|
|
2194
|
+
"source:force:ignored:list",
|
|
2195
|
+
"source:ignored:force:list",
|
|
2196
|
+
"source:ignored:list:force",
|
|
2197
|
+
"force:ignored:source:list",
|
|
2198
|
+
"ignored:force:source:list",
|
|
2199
|
+
"ignored:source:force:list",
|
|
2200
|
+
"ignored:source:list:force",
|
|
2201
|
+
"force:ignored:list:source",
|
|
2202
|
+
"ignored:force:list:source",
|
|
2203
|
+
"ignored:list:force:source",
|
|
2204
|
+
"ignored:list:source:force",
|
|
2205
|
+
"force:source:list:ignored",
|
|
2206
|
+
"source:force:list:ignored",
|
|
2207
|
+
"source:list:force:ignored",
|
|
2208
|
+
"source:list:ignored:force",
|
|
2209
|
+
"force:list:source:ignored",
|
|
2210
|
+
"list:force:source:ignored",
|
|
2211
|
+
"list:source:force:ignored",
|
|
2212
|
+
"list:source:ignored:force",
|
|
2213
|
+
"force:list:ignored:source",
|
|
2214
|
+
"list:force:ignored:source",
|
|
2215
|
+
"list:ignored:force:source",
|
|
2216
|
+
"list:ignored:source:force"
|
|
2243
2217
|
],
|
|
2244
2218
|
"permutations": [
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"project:
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2219
|
+
"project:list:ignored",
|
|
2220
|
+
"list:project:ignored",
|
|
2221
|
+
"list:ignored:project",
|
|
2222
|
+
"project:ignored:list",
|
|
2223
|
+
"ignored:project:list",
|
|
2224
|
+
"ignored:list:project"
|
|
2251
2225
|
]
|
|
2252
2226
|
},
|
|
2253
|
-
"project:
|
|
2227
|
+
"project:delete:source": {
|
|
2254
2228
|
"aliases": [
|
|
2255
|
-
"force:source:
|
|
2229
|
+
"force:source:delete"
|
|
2256
2230
|
],
|
|
2257
2231
|
"args": {},
|
|
2258
2232
|
"deprecateAliases": true,
|
|
2259
|
-
"description": "
|
|
2233
|
+
"description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --source-dir.",
|
|
2260
2234
|
"examples": [
|
|
2261
|
-
"
|
|
2262
|
-
"
|
|
2263
|
-
"
|
|
2264
|
-
"
|
|
2265
|
-
"Create a manifest from specific metadata types in an org:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --metadata ApexClass,CustomObject,CustomLabels",
|
|
2266
|
-
"Create a manifest from all metadata components in an org excluding specific metadata types:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --excluded-metadata StandardValueSet"
|
|
2235
|
+
"Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
2236
|
+
"Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
|
|
2237
|
+
"Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
|
|
2238
|
+
"Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
|
|
2267
2239
|
],
|
|
2268
2240
|
"flags": {
|
|
2269
2241
|
"json": {
|
|
@@ -2302,137 +2274,150 @@
|
|
|
2302
2274
|
"multiple": false,
|
|
2303
2275
|
"type": "option"
|
|
2304
2276
|
},
|
|
2305
|
-
"
|
|
2306
|
-
"char": "m",
|
|
2307
|
-
"name": "metadata",
|
|
2308
|
-
"summary": "Names of metadata components to include in the manifest.",
|
|
2309
|
-
"delimiter": ",",
|
|
2310
|
-
"hasDynamicHelp": false,
|
|
2311
|
-
"multiple": true,
|
|
2312
|
-
"type": "option"
|
|
2313
|
-
},
|
|
2314
|
-
"source-dir": {
|
|
2277
|
+
"target-org": {
|
|
2315
2278
|
"aliases": [
|
|
2316
|
-
"
|
|
2279
|
+
"targetusername",
|
|
2280
|
+
"u"
|
|
2317
2281
|
],
|
|
2318
|
-
"char": "
|
|
2282
|
+
"char": "o",
|
|
2319
2283
|
"deprecateAliases": true,
|
|
2320
|
-
"name": "
|
|
2321
|
-
"
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2284
|
+
"name": "target-org",
|
|
2285
|
+
"noCacheDefault": true,
|
|
2286
|
+
"required": true,
|
|
2287
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2288
|
+
"hasDynamicHelp": true,
|
|
2289
|
+
"multiple": false,
|
|
2325
2290
|
"type": "option"
|
|
2326
2291
|
},
|
|
2327
|
-
"
|
|
2292
|
+
"check-only": {
|
|
2328
2293
|
"aliases": [
|
|
2329
|
-
"
|
|
2294
|
+
"checkonly"
|
|
2330
2295
|
],
|
|
2331
|
-
"char": "
|
|
2296
|
+
"char": "c",
|
|
2332
2297
|
"deprecateAliases": true,
|
|
2333
|
-
"
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
-
|
|
2298
|
+
"description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only flag to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
|
|
2299
|
+
"name": "check-only",
|
|
2300
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
2301
|
+
"allowNo": false,
|
|
2302
|
+
"type": "boolean"
|
|
2303
|
+
},
|
|
2304
|
+
"wait": {
|
|
2305
|
+
"char": "w",
|
|
2306
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
2307
|
+
"name": "wait",
|
|
2308
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
2309
|
+
"hasDynamicHelp": true,
|
|
2339
2310
|
"multiple": false,
|
|
2340
2311
|
"type": "option"
|
|
2341
2312
|
},
|
|
2342
|
-
"
|
|
2313
|
+
"tests": {
|
|
2314
|
+
"description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
|
|
2315
|
+
"helpGroup": "Test",
|
|
2316
|
+
"name": "tests",
|
|
2317
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
2318
|
+
"hasDynamicHelp": false,
|
|
2319
|
+
"multiple": true,
|
|
2320
|
+
"type": "option"
|
|
2321
|
+
},
|
|
2322
|
+
"test-level": {
|
|
2343
2323
|
"aliases": [
|
|
2344
|
-
"
|
|
2324
|
+
"testlevel"
|
|
2345
2325
|
],
|
|
2346
|
-
"char": "
|
|
2326
|
+
"char": "l",
|
|
2347
2327
|
"deprecateAliases": true,
|
|
2348
|
-
"
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
"
|
|
2352
|
-
"summary": "Type of manifest to create; the type determines the name of the created file.",
|
|
2328
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see \"Running Tests in a Deployment\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
|
|
2329
|
+
"helpGroup": "Test",
|
|
2330
|
+
"name": "test-level",
|
|
2331
|
+
"summary": "Deployment Apex testing level.",
|
|
2353
2332
|
"hasDynamicHelp": false,
|
|
2354
2333
|
"multiple": false,
|
|
2355
2334
|
"options": [
|
|
2356
|
-
"
|
|
2357
|
-
"
|
|
2358
|
-
"
|
|
2359
|
-
"
|
|
2335
|
+
"NoTestRun",
|
|
2336
|
+
"RunSpecifiedTests",
|
|
2337
|
+
"RunLocalTests",
|
|
2338
|
+
"RunAllTestsInOrg",
|
|
2339
|
+
"RunRelevantTests"
|
|
2360
2340
|
],
|
|
2361
2341
|
"type": "option"
|
|
2362
2342
|
},
|
|
2363
|
-
"
|
|
2343
|
+
"no-prompt": {
|
|
2364
2344
|
"aliases": [
|
|
2365
|
-
"
|
|
2366
|
-
],
|
|
2367
|
-
"char": "c",
|
|
2368
|
-
"dependsOn": [
|
|
2369
|
-
"from-org"
|
|
2345
|
+
"noprompt"
|
|
2370
2346
|
],
|
|
2347
|
+
"char": "r",
|
|
2371
2348
|
"deprecateAliases": true,
|
|
2372
|
-
"name": "
|
|
2373
|
-
"summary": "
|
|
2349
|
+
"name": "no-prompt",
|
|
2350
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
2351
|
+
"allowNo": false,
|
|
2352
|
+
"type": "boolean"
|
|
2353
|
+
},
|
|
2354
|
+
"metadata": {
|
|
2355
|
+
"char": "m",
|
|
2356
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
2357
|
+
"name": "metadata",
|
|
2358
|
+
"summary": "Metadata components to delete.",
|
|
2374
2359
|
"delimiter": ",",
|
|
2375
2360
|
"hasDynamicHelp": false,
|
|
2376
2361
|
"multiple": true,
|
|
2377
|
-
"options": [
|
|
2378
|
-
"managed",
|
|
2379
|
-
"unlocked"
|
|
2380
|
-
],
|
|
2381
2362
|
"type": "option"
|
|
2382
2363
|
},
|
|
2383
|
-
"
|
|
2384
|
-
"
|
|
2385
|
-
|
|
2386
|
-
{
|
|
2387
|
-
"type": "some",
|
|
2388
|
-
"flags": [
|
|
2389
|
-
"from-org",
|
|
2390
|
-
"source-dir"
|
|
2391
|
-
]
|
|
2392
|
-
}
|
|
2364
|
+
"source-dir": {
|
|
2365
|
+
"aliases": [
|
|
2366
|
+
"sourcepath"
|
|
2393
2367
|
],
|
|
2394
|
-
"
|
|
2368
|
+
"char": "p",
|
|
2369
|
+
"deprecateAliases": true,
|
|
2370
|
+
"description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --metadata.",
|
|
2371
|
+
"name": "source-dir",
|
|
2372
|
+
"summary": "Source file paths to delete.",
|
|
2395
2373
|
"delimiter": ",",
|
|
2396
2374
|
"hasDynamicHelp": false,
|
|
2397
2375
|
"multiple": true,
|
|
2398
2376
|
"type": "option"
|
|
2399
2377
|
},
|
|
2400
|
-
"
|
|
2378
|
+
"track-source": {
|
|
2401
2379
|
"aliases": [
|
|
2402
|
-
"
|
|
2380
|
+
"tracksource"
|
|
2403
2381
|
],
|
|
2382
|
+
"char": "t",
|
|
2404
2383
|
"deprecateAliases": true,
|
|
2405
2384
|
"exclusive": [
|
|
2406
|
-
"
|
|
2385
|
+
"check-only"
|
|
2407
2386
|
],
|
|
2408
|
-
"name": "
|
|
2409
|
-
"summary": "
|
|
2410
|
-
"
|
|
2411
|
-
"
|
|
2412
|
-
"type": "option"
|
|
2387
|
+
"name": "track-source",
|
|
2388
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
2389
|
+
"allowNo": false,
|
|
2390
|
+
"type": "boolean"
|
|
2413
2391
|
},
|
|
2414
|
-
"
|
|
2392
|
+
"force-overwrite": {
|
|
2415
2393
|
"aliases": [
|
|
2416
|
-
"
|
|
2417
|
-
|
|
2394
|
+
"forceoverwrite"
|
|
2395
|
+
],
|
|
2396
|
+
"char": "f",
|
|
2397
|
+
"dependsOn": [
|
|
2398
|
+
"track-source"
|
|
2418
2399
|
],
|
|
2419
|
-
"char": "d",
|
|
2420
2400
|
"deprecateAliases": true,
|
|
2421
|
-
"name": "
|
|
2422
|
-
"summary": "
|
|
2423
|
-
"
|
|
2424
|
-
"
|
|
2425
|
-
|
|
2401
|
+
"name": "force-overwrite",
|
|
2402
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
2403
|
+
"allowNo": false,
|
|
2404
|
+
"type": "boolean"
|
|
2405
|
+
},
|
|
2406
|
+
"verbose": {
|
|
2407
|
+
"name": "verbose",
|
|
2408
|
+
"summary": "Verbose output of the delete result.",
|
|
2409
|
+
"allowNo": false,
|
|
2410
|
+
"type": "boolean"
|
|
2426
2411
|
}
|
|
2427
2412
|
},
|
|
2428
|
-
"hasDynamicHelp":
|
|
2413
|
+
"hasDynamicHelp": true,
|
|
2429
2414
|
"hiddenAliases": [],
|
|
2430
|
-
"id": "project:
|
|
2415
|
+
"id": "project:delete:source",
|
|
2431
2416
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2432
2417
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2433
2418
|
"pluginType": "core",
|
|
2434
2419
|
"strict": true,
|
|
2435
|
-
"summary": "
|
|
2420
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
2436
2421
|
"enableJsonFlag": true,
|
|
2437
2422
|
"requiresProject": true,
|
|
2438
2423
|
"isESM": true,
|
|
@@ -2440,55 +2425,35 @@
|
|
|
2440
2425
|
"lib",
|
|
2441
2426
|
"commands",
|
|
2442
2427
|
"project",
|
|
2443
|
-
"
|
|
2444
|
-
"
|
|
2428
|
+
"delete",
|
|
2429
|
+
"source.js"
|
|
2445
2430
|
],
|
|
2446
2431
|
"aliasPermutations": [
|
|
2447
|
-
"force:source:
|
|
2448
|
-
"source:force:
|
|
2449
|
-
"source:
|
|
2450
|
-
"
|
|
2451
|
-
"force:
|
|
2452
|
-
"
|
|
2453
|
-
"manifest:source:force:create",
|
|
2454
|
-
"manifest:source:create:force",
|
|
2455
|
-
"force:manifest:create:source",
|
|
2456
|
-
"manifest:force:create:source",
|
|
2457
|
-
"manifest:create:force:source",
|
|
2458
|
-
"manifest:create:source:force",
|
|
2459
|
-
"force:source:create:manifest",
|
|
2460
|
-
"source:force:create:manifest",
|
|
2461
|
-
"source:create:force:manifest",
|
|
2462
|
-
"source:create:manifest:force",
|
|
2463
|
-
"force:create:source:manifest",
|
|
2464
|
-
"create:force:source:manifest",
|
|
2465
|
-
"create:source:force:manifest",
|
|
2466
|
-
"create:source:manifest:force",
|
|
2467
|
-
"force:create:manifest:source",
|
|
2468
|
-
"create:force:manifest:source",
|
|
2469
|
-
"create:manifest:force:source",
|
|
2470
|
-
"create:manifest:source:force"
|
|
2432
|
+
"force:source:delete",
|
|
2433
|
+
"source:force:delete",
|
|
2434
|
+
"source:delete:force",
|
|
2435
|
+
"force:delete:source",
|
|
2436
|
+
"delete:force:source",
|
|
2437
|
+
"delete:source:force"
|
|
2471
2438
|
],
|
|
2472
2439
|
"permutations": [
|
|
2473
|
-
"project:
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2476
|
-
"project:
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
2440
|
+
"project:delete:source",
|
|
2441
|
+
"delete:project:source",
|
|
2442
|
+
"delete:source:project",
|
|
2443
|
+
"project:source:delete",
|
|
2444
|
+
"source:project:delete",
|
|
2445
|
+
"source:delete:project"
|
|
2479
2446
|
]
|
|
2480
2447
|
},
|
|
2481
|
-
"project:
|
|
2448
|
+
"project:delete:tracking": {
|
|
2482
2449
|
"aliases": [
|
|
2483
|
-
"force:source:
|
|
2450
|
+
"force:source:tracking:clear"
|
|
2484
2451
|
],
|
|
2485
2452
|
"args": {},
|
|
2486
2453
|
"deprecateAliases": true,
|
|
2487
|
-
"description": "
|
|
2454
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
|
|
2488
2455
|
"examples": [
|
|
2489
|
-
"
|
|
2490
|
-
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2491
|
-
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2456
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
2492
2457
|
],
|
|
2493
2458
|
"flags": {
|
|
2494
2459
|
"json": {
|
|
@@ -2506,27 +2471,62 @@
|
|
|
2506
2471
|
"multiple": false,
|
|
2507
2472
|
"type": "option"
|
|
2508
2473
|
},
|
|
2509
|
-
"
|
|
2474
|
+
"api-version": {
|
|
2510
2475
|
"aliases": [
|
|
2511
|
-
"
|
|
2476
|
+
"apiversion"
|
|
2512
2477
|
],
|
|
2513
|
-
"char": "p",
|
|
2514
2478
|
"deprecateAliases": true,
|
|
2515
|
-
"
|
|
2516
|
-
"
|
|
2479
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2480
|
+
"name": "api-version",
|
|
2481
|
+
"hasDynamicHelp": false,
|
|
2482
|
+
"multiple": false,
|
|
2483
|
+
"type": "option"
|
|
2484
|
+
},
|
|
2485
|
+
"loglevel": {
|
|
2486
|
+
"deprecated": {
|
|
2487
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
2488
|
+
},
|
|
2489
|
+
"hidden": true,
|
|
2490
|
+
"name": "loglevel",
|
|
2517
2491
|
"hasDynamicHelp": false,
|
|
2518
2492
|
"multiple": false,
|
|
2519
2493
|
"type": "option"
|
|
2494
|
+
},
|
|
2495
|
+
"target-org": {
|
|
2496
|
+
"aliases": [
|
|
2497
|
+
"targetusername",
|
|
2498
|
+
"u"
|
|
2499
|
+
],
|
|
2500
|
+
"char": "o",
|
|
2501
|
+
"deprecateAliases": true,
|
|
2502
|
+
"name": "target-org",
|
|
2503
|
+
"noCacheDefault": true,
|
|
2504
|
+
"required": true,
|
|
2505
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2506
|
+
"hasDynamicHelp": true,
|
|
2507
|
+
"multiple": false,
|
|
2508
|
+
"type": "option"
|
|
2509
|
+
},
|
|
2510
|
+
"no-prompt": {
|
|
2511
|
+
"aliases": [
|
|
2512
|
+
"noprompt"
|
|
2513
|
+
],
|
|
2514
|
+
"char": "p",
|
|
2515
|
+
"deprecateAliases": true,
|
|
2516
|
+
"name": "no-prompt",
|
|
2517
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2518
|
+
"allowNo": false,
|
|
2519
|
+
"type": "boolean"
|
|
2520
2520
|
}
|
|
2521
2521
|
},
|
|
2522
|
-
"hasDynamicHelp":
|
|
2522
|
+
"hasDynamicHelp": true,
|
|
2523
2523
|
"hiddenAliases": [],
|
|
2524
|
-
"id": "project:
|
|
2524
|
+
"id": "project:delete:tracking",
|
|
2525
2525
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
2526
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
2527
|
"pluginType": "core",
|
|
2528
2528
|
"strict": true,
|
|
2529
|
-
"summary": "
|
|
2529
|
+
"summary": "Delete all local source tracking information.",
|
|
2530
2530
|
"enableJsonFlag": true,
|
|
2531
2531
|
"requiresProject": true,
|
|
2532
2532
|
"isESM": true,
|
|
@@ -2534,42 +2534,42 @@
|
|
|
2534
2534
|
"lib",
|
|
2535
2535
|
"commands",
|
|
2536
2536
|
"project",
|
|
2537
|
-
"
|
|
2538
|
-
"
|
|
2537
|
+
"delete",
|
|
2538
|
+
"tracking.js"
|
|
2539
2539
|
],
|
|
2540
2540
|
"aliasPermutations": [
|
|
2541
|
-
"force:source:
|
|
2542
|
-
"source:force:
|
|
2543
|
-
"source:
|
|
2544
|
-
"source:
|
|
2545
|
-
"force:
|
|
2546
|
-
"
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2549
|
-
"force:
|
|
2550
|
-
"
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2553
|
-
"force:source:
|
|
2554
|
-
"source:force:
|
|
2555
|
-
"source:
|
|
2556
|
-
"source:
|
|
2557
|
-
"force:
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2561
|
-
"force:
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2564
|
-
"
|
|
2541
|
+
"force:source:tracking:clear",
|
|
2542
|
+
"source:force:tracking:clear",
|
|
2543
|
+
"source:tracking:force:clear",
|
|
2544
|
+
"source:tracking:clear:force",
|
|
2545
|
+
"force:tracking:source:clear",
|
|
2546
|
+
"tracking:force:source:clear",
|
|
2547
|
+
"tracking:source:force:clear",
|
|
2548
|
+
"tracking:source:clear:force",
|
|
2549
|
+
"force:tracking:clear:source",
|
|
2550
|
+
"tracking:force:clear:source",
|
|
2551
|
+
"tracking:clear:force:source",
|
|
2552
|
+
"tracking:clear:source:force",
|
|
2553
|
+
"force:source:clear:tracking",
|
|
2554
|
+
"source:force:clear:tracking",
|
|
2555
|
+
"source:clear:force:tracking",
|
|
2556
|
+
"source:clear:tracking:force",
|
|
2557
|
+
"force:clear:source:tracking",
|
|
2558
|
+
"clear:force:source:tracking",
|
|
2559
|
+
"clear:source:force:tracking",
|
|
2560
|
+
"clear:source:tracking:force",
|
|
2561
|
+
"force:clear:tracking:source",
|
|
2562
|
+
"clear:force:tracking:source",
|
|
2563
|
+
"clear:tracking:force:source",
|
|
2564
|
+
"clear:tracking:source:force"
|
|
2565
2565
|
],
|
|
2566
2566
|
"permutations": [
|
|
2567
|
-
"project:
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"project:
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2567
|
+
"project:delete:tracking",
|
|
2568
|
+
"delete:project:tracking",
|
|
2569
|
+
"delete:tracking:project",
|
|
2570
|
+
"project:tracking:delete",
|
|
2571
|
+
"tracking:project:delete",
|
|
2572
|
+
"tracking:delete:project"
|
|
2573
2573
|
]
|
|
2574
2574
|
},
|
|
2575
2575
|
"project:reset:tracking": {
|
|
@@ -3054,5 +3054,5 @@
|
|
|
3054
3054
|
]
|
|
3055
3055
|
}
|
|
3056
3056
|
},
|
|
3057
|
-
"version": "3.24.
|
|
3057
|
+
"version": "3.24.28"
|
|
3058
3058
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-deploy-retrieve",
|
|
3
3
|
"description": "deploy and retrieve commands for sf",
|
|
4
|
-
"version": "3.24.
|
|
4
|
+
"version": "3.24.28",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@salesforce/plugin-info": "^3.4.93",
|
|
17
17
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
18
18
|
"@salesforce/source-deploy-retrieve": "^12.32.1",
|
|
19
|
-
"@salesforce/source-tracking": "^7.8.
|
|
19
|
+
"@salesforce/source-tracking": "^7.8.9",
|
|
20
20
|
"@salesforce/ts-types": "^2.0.12",
|
|
21
21
|
"ansis": "^3.17.0",
|
|
22
22
|
"terminal-link": "^3.0.0"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
28
28
|
"@salesforce/plugin-command-reference": "^3.1.78",
|
|
29
29
|
"@salesforce/schemas": "^1.9.0",
|
|
30
|
-
"@salesforce/source-testkit": "^2.2.
|
|
30
|
+
"@salesforce/source-testkit": "^2.2.182",
|
|
31
31
|
"@salesforce/ts-sinon": "^1.4.33",
|
|
32
32
|
"cross-env": "^7.0.3",
|
|
33
33
|
"eslint-plugin-sf-plugin": "^1.20.32",
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"exports": "./lib/index.js",
|
|
259
259
|
"type": "module",
|
|
260
260
|
"sfdx": {
|
|
261
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.
|
|
262
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.
|
|
261
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.28.crt",
|
|
262
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.28.sig"
|
|
263
263
|
}
|
|
264
264
|
}
|