@salesforce/plugin-deploy-retrieve 3.24.49 → 3.24.51
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 +719 -719
- package/package.json +6 -6
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,23 +2158,95 @@
|
|
|
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"
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"hasDynamicHelp": false,
|
|
2175
|
+
"hiddenAliases": [],
|
|
2176
|
+
"id": "project:list:ignored",
|
|
2177
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2178
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2179
|
+
"pluginType": "core",
|
|
2180
|
+
"strict": true,
|
|
2181
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2182
|
+
"enableJsonFlag": true,
|
|
2183
|
+
"requiresProject": true,
|
|
2184
|
+
"isESM": true,
|
|
2185
|
+
"relativePath": [
|
|
2186
|
+
"lib",
|
|
2187
|
+
"commands",
|
|
2188
|
+
"project",
|
|
2189
|
+
"list",
|
|
2190
|
+
"ignored.js"
|
|
2191
|
+
],
|
|
2192
|
+
"aliasPermutations": [
|
|
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"
|
|
2217
|
+
],
|
|
2218
|
+
"permutations": [
|
|
2219
|
+
"project:list:ignored",
|
|
2220
|
+
"list:project:ignored",
|
|
2221
|
+
"list:ignored:project",
|
|
2222
|
+
"project:ignored:list",
|
|
2223
|
+
"ignored:project:list",
|
|
2224
|
+
"ignored:list:project"
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
"project:reset:tracking": {
|
|
2228
|
+
"aliases": [
|
|
2229
|
+
"force:source:tracking:reset"
|
|
2230
|
+
],
|
|
2231
|
+
"args": {},
|
|
2232
|
+
"deprecateAliases": true,
|
|
2233
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision flag to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n <%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api --target-org my-scratch",
|
|
2234
|
+
"examples": [
|
|
2235
|
+
"Reset source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch",
|
|
2236
|
+
"Reset source tracking to revision number 30 for your default org:\n$ <%= config.bin %> <%= command.id %> --revision 30"
|
|
2237
|
+
],
|
|
2238
|
+
"flags": {
|
|
2239
|
+
"json": {
|
|
2240
|
+
"description": "Format output as json.",
|
|
2241
|
+
"helpGroup": "GLOBAL",
|
|
2242
|
+
"name": "json",
|
|
2243
|
+
"allowNo": false,
|
|
2244
|
+
"type": "boolean"
|
|
2162
2245
|
},
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
"hidden": true,
|
|
2168
|
-
"name": "loglevel",
|
|
2246
|
+
"flags-dir": {
|
|
2247
|
+
"helpGroup": "GLOBAL",
|
|
2248
|
+
"name": "flags-dir",
|
|
2249
|
+
"summary": "Import flag values from a directory.",
|
|
2169
2250
|
"hasDynamicHelp": false,
|
|
2170
2251
|
"multiple": false,
|
|
2171
2252
|
"type": "option"
|
|
@@ -2185,6 +2266,35 @@
|
|
|
2185
2266
|
"multiple": false,
|
|
2186
2267
|
"type": "option"
|
|
2187
2268
|
},
|
|
2269
|
+
"api-version": {
|
|
2270
|
+
"aliases": [
|
|
2271
|
+
"apiversion"
|
|
2272
|
+
],
|
|
2273
|
+
"deprecateAliases": true,
|
|
2274
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2275
|
+
"name": "api-version",
|
|
2276
|
+
"hasDynamicHelp": false,
|
|
2277
|
+
"multiple": false,
|
|
2278
|
+
"type": "option"
|
|
2279
|
+
},
|
|
2280
|
+
"loglevel": {
|
|
2281
|
+
"deprecated": {
|
|
2282
|
+
"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."
|
|
2283
|
+
},
|
|
2284
|
+
"hidden": true,
|
|
2285
|
+
"name": "loglevel",
|
|
2286
|
+
"hasDynamicHelp": false,
|
|
2287
|
+
"multiple": false,
|
|
2288
|
+
"type": "option"
|
|
2289
|
+
},
|
|
2290
|
+
"revision": {
|
|
2291
|
+
"char": "r",
|
|
2292
|
+
"name": "revision",
|
|
2293
|
+
"summary": "SourceMember revision counter number to reset to.",
|
|
2294
|
+
"hasDynamicHelp": false,
|
|
2295
|
+
"multiple": false,
|
|
2296
|
+
"type": "option"
|
|
2297
|
+
},
|
|
2188
2298
|
"no-prompt": {
|
|
2189
2299
|
"aliases": [
|
|
2190
2300
|
"noprompt"
|
|
@@ -2199,12 +2309,12 @@
|
|
|
2199
2309
|
},
|
|
2200
2310
|
"hasDynamicHelp": true,
|
|
2201
2311
|
"hiddenAliases": [],
|
|
2202
|
-
"id": "project:
|
|
2312
|
+
"id": "project:reset:tracking",
|
|
2203
2313
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2204
2314
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2205
2315
|
"pluginType": "core",
|
|
2206
2316
|
"strict": true,
|
|
2207
|
-
"summary": "
|
|
2317
|
+
"summary": "Reset local and remote source tracking.",
|
|
2208
2318
|
"enableJsonFlag": true,
|
|
2209
2319
|
"requiresProject": true,
|
|
2210
2320
|
"isESM": true,
|
|
@@ -2212,58 +2322,54 @@
|
|
|
2212
2322
|
"lib",
|
|
2213
2323
|
"commands",
|
|
2214
2324
|
"project",
|
|
2215
|
-
"
|
|
2325
|
+
"reset",
|
|
2216
2326
|
"tracking.js"
|
|
2217
2327
|
],
|
|
2218
2328
|
"aliasPermutations": [
|
|
2219
|
-
"force:source:tracking:
|
|
2220
|
-
"source:force:tracking:
|
|
2221
|
-
"source:tracking:force:
|
|
2222
|
-
"source:tracking:
|
|
2223
|
-
"force:tracking:source:
|
|
2224
|
-
"tracking:force:source:
|
|
2225
|
-
"tracking:source:force:
|
|
2226
|
-
"tracking:source:
|
|
2227
|
-
"force:tracking:
|
|
2228
|
-
"tracking:force:
|
|
2229
|
-
"tracking:
|
|
2230
|
-
"tracking:
|
|
2231
|
-
"force:source:
|
|
2232
|
-
"source:force:
|
|
2233
|
-
"source:
|
|
2234
|
-
"source:
|
|
2235
|
-
"force:
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"force:
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2329
|
+
"force:source:tracking:reset",
|
|
2330
|
+
"source:force:tracking:reset",
|
|
2331
|
+
"source:tracking:force:reset",
|
|
2332
|
+
"source:tracking:reset:force",
|
|
2333
|
+
"force:tracking:source:reset",
|
|
2334
|
+
"tracking:force:source:reset",
|
|
2335
|
+
"tracking:source:force:reset",
|
|
2336
|
+
"tracking:source:reset:force",
|
|
2337
|
+
"force:tracking:reset:source",
|
|
2338
|
+
"tracking:force:reset:source",
|
|
2339
|
+
"tracking:reset:force:source",
|
|
2340
|
+
"tracking:reset:source:force",
|
|
2341
|
+
"force:source:reset:tracking",
|
|
2342
|
+
"source:force:reset:tracking",
|
|
2343
|
+
"source:reset:force:tracking",
|
|
2344
|
+
"source:reset:tracking:force",
|
|
2345
|
+
"force:reset:source:tracking",
|
|
2346
|
+
"reset:force:source:tracking",
|
|
2347
|
+
"reset:source:force:tracking",
|
|
2348
|
+
"reset:source:tracking:force",
|
|
2349
|
+
"force:reset:tracking:source",
|
|
2350
|
+
"reset:force:tracking:source",
|
|
2351
|
+
"reset:tracking:force:source",
|
|
2352
|
+
"reset:tracking:source:force"
|
|
2243
2353
|
],
|
|
2244
2354
|
"permutations": [
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"project:tracking:
|
|
2249
|
-
"tracking:project:
|
|
2250
|
-
"tracking:
|
|
2355
|
+
"project:reset:tracking",
|
|
2356
|
+
"reset:project:tracking",
|
|
2357
|
+
"reset:tracking:project",
|
|
2358
|
+
"project:tracking:reset",
|
|
2359
|
+
"tracking:project:reset",
|
|
2360
|
+
"tracking:reset:project"
|
|
2251
2361
|
]
|
|
2252
2362
|
},
|
|
2253
|
-
"project:
|
|
2363
|
+
"project:retrieve:preview": {
|
|
2254
2364
|
"aliases": [
|
|
2255
|
-
"
|
|
2365
|
+
"retrieve:metadata:preview"
|
|
2256
2366
|
],
|
|
2257
2367
|
"args": {},
|
|
2258
2368
|
"deprecateAliases": true,
|
|
2259
|
-
"description": "
|
|
2369
|
+
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project retrieve start\" command. The table lists the metadata components that will be retrieved and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be retrieved because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.",
|
|
2260
2370
|
"examples": [
|
|
2261
|
-
"
|
|
2262
|
-
"
|
|
2263
|
-
"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",
|
|
2264
|
-
"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",
|
|
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"
|
|
2371
|
+
"Preview the retrieve of all changes from your default org:\n<%= config.bin %> <%= command.id %>",
|
|
2372
|
+
"Preview the retrieve when ignoring any conflicts from an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --ignore-conflicts --target-org my-scratch"
|
|
2267
2373
|
],
|
|
2268
2374
|
"flags": {
|
|
2269
2375
|
"json": {
|
|
@@ -2281,158 +2387,39 @@
|
|
|
2281
2387
|
"multiple": false,
|
|
2282
2388
|
"type": "option"
|
|
2283
2389
|
},
|
|
2284
|
-
"
|
|
2285
|
-
"
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2291
|
-
"hasDynamicHelp": false,
|
|
2292
|
-
"multiple": false,
|
|
2293
|
-
"type": "option"
|
|
2390
|
+
"ignore-conflicts": {
|
|
2391
|
+
"char": "c",
|
|
2392
|
+
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
2393
|
+
"name": "ignore-conflicts",
|
|
2394
|
+
"summary": "Don't display conflicts in the preview of the retrieval.",
|
|
2395
|
+
"allowNo": false,
|
|
2396
|
+
"type": "boolean"
|
|
2294
2397
|
},
|
|
2295
|
-
"
|
|
2296
|
-
"
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
"
|
|
2300
|
-
"
|
|
2301
|
-
"hasDynamicHelp":
|
|
2398
|
+
"target-org": {
|
|
2399
|
+
"char": "o",
|
|
2400
|
+
"name": "target-org",
|
|
2401
|
+
"noCacheDefault": true,
|
|
2402
|
+
"required": true,
|
|
2403
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2404
|
+
"hasDynamicHelp": true,
|
|
2302
2405
|
"multiple": false,
|
|
2303
2406
|
"type": "option"
|
|
2304
2407
|
},
|
|
2305
|
-
"
|
|
2306
|
-
"
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
"
|
|
2310
|
-
"hasDynamicHelp": false,
|
|
2311
|
-
"multiple": true,
|
|
2312
|
-
"type": "option"
|
|
2313
|
-
},
|
|
2314
|
-
"source-dir": {
|
|
2315
|
-
"aliases": [
|
|
2316
|
-
"sourcepath"
|
|
2317
|
-
],
|
|
2318
|
-
"char": "p",
|
|
2319
|
-
"deprecateAliases": true,
|
|
2320
|
-
"name": "source-dir",
|
|
2321
|
-
"summary": "Paths to the local source files to include in the manifest.",
|
|
2322
|
-
"delimiter": ",",
|
|
2323
|
-
"hasDynamicHelp": false,
|
|
2324
|
-
"multiple": true,
|
|
2325
|
-
"type": "option"
|
|
2326
|
-
},
|
|
2327
|
-
"name": {
|
|
2328
|
-
"aliases": [
|
|
2329
|
-
"manifestname"
|
|
2330
|
-
],
|
|
2331
|
-
"char": "n",
|
|
2332
|
-
"deprecateAliases": true,
|
|
2333
|
-
"exclusive": [
|
|
2334
|
-
"type"
|
|
2335
|
-
],
|
|
2336
|
-
"name": "name",
|
|
2337
|
-
"summary": "Name of a custom manifest file to create.",
|
|
2338
|
-
"hasDynamicHelp": false,
|
|
2339
|
-
"multiple": false,
|
|
2340
|
-
"type": "option"
|
|
2341
|
-
},
|
|
2342
|
-
"type": {
|
|
2343
|
-
"aliases": [
|
|
2344
|
-
"manifesttype"
|
|
2345
|
-
],
|
|
2346
|
-
"char": "t",
|
|
2347
|
-
"deprecateAliases": true,
|
|
2348
|
-
"exclusive": [
|
|
2349
|
-
"name"
|
|
2350
|
-
],
|
|
2351
|
-
"name": "type",
|
|
2352
|
-
"summary": "Type of manifest to create; the type determines the name of the created file.",
|
|
2353
|
-
"hasDynamicHelp": false,
|
|
2354
|
-
"multiple": false,
|
|
2355
|
-
"options": [
|
|
2356
|
-
"pre",
|
|
2357
|
-
"post",
|
|
2358
|
-
"destroy",
|
|
2359
|
-
"package"
|
|
2360
|
-
],
|
|
2361
|
-
"type": "option"
|
|
2362
|
-
},
|
|
2363
|
-
"include-packages": {
|
|
2364
|
-
"aliases": [
|
|
2365
|
-
"includepackages"
|
|
2366
|
-
],
|
|
2367
|
-
"char": "c",
|
|
2368
|
-
"dependsOn": [
|
|
2369
|
-
"from-org"
|
|
2370
|
-
],
|
|
2371
|
-
"deprecateAliases": true,
|
|
2372
|
-
"name": "include-packages",
|
|
2373
|
-
"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.",
|
|
2374
|
-
"delimiter": ",",
|
|
2375
|
-
"hasDynamicHelp": false,
|
|
2376
|
-
"multiple": true,
|
|
2377
|
-
"options": [
|
|
2378
|
-
"managed",
|
|
2379
|
-
"unlocked"
|
|
2380
|
-
],
|
|
2381
|
-
"type": "option"
|
|
2382
|
-
},
|
|
2383
|
-
"excluded-metadata": {
|
|
2384
|
-
"name": "excluded-metadata",
|
|
2385
|
-
"relationships": [
|
|
2386
|
-
{
|
|
2387
|
-
"type": "some",
|
|
2388
|
-
"flags": [
|
|
2389
|
-
"from-org",
|
|
2390
|
-
"source-dir"
|
|
2391
|
-
]
|
|
2392
|
-
}
|
|
2393
|
-
],
|
|
2394
|
-
"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.",
|
|
2395
|
-
"delimiter": ",",
|
|
2396
|
-
"hasDynamicHelp": false,
|
|
2397
|
-
"multiple": true,
|
|
2398
|
-
"type": "option"
|
|
2399
|
-
},
|
|
2400
|
-
"from-org": {
|
|
2401
|
-
"aliases": [
|
|
2402
|
-
"fromorg"
|
|
2403
|
-
],
|
|
2404
|
-
"deprecateAliases": true,
|
|
2405
|
-
"exclusive": [
|
|
2406
|
-
"source-dir"
|
|
2407
|
-
],
|
|
2408
|
-
"name": "from-org",
|
|
2409
|
-
"summary": "Username or alias of the org that contains the metadata components from which to build a manifest.",
|
|
2410
|
-
"hasDynamicHelp": false,
|
|
2411
|
-
"multiple": false,
|
|
2412
|
-
"type": "option"
|
|
2413
|
-
},
|
|
2414
|
-
"output-dir": {
|
|
2415
|
-
"aliases": [
|
|
2416
|
-
"outputdir",
|
|
2417
|
-
"o"
|
|
2418
|
-
],
|
|
2419
|
-
"char": "d",
|
|
2420
|
-
"deprecateAliases": true,
|
|
2421
|
-
"name": "output-dir",
|
|
2422
|
-
"summary": "Directory to save the created manifest.",
|
|
2423
|
-
"hasDynamicHelp": false,
|
|
2424
|
-
"multiple": false,
|
|
2425
|
-
"type": "option"
|
|
2408
|
+
"concise": {
|
|
2409
|
+
"name": "concise",
|
|
2410
|
+
"summary": "Show only the changes that will be retrieved; omits files that are forceignored.",
|
|
2411
|
+
"allowNo": false,
|
|
2412
|
+
"type": "boolean"
|
|
2426
2413
|
}
|
|
2427
2414
|
},
|
|
2428
|
-
"hasDynamicHelp":
|
|
2415
|
+
"hasDynamicHelp": true,
|
|
2429
2416
|
"hiddenAliases": [],
|
|
2430
|
-
"id": "project:
|
|
2417
|
+
"id": "project:retrieve:preview",
|
|
2431
2418
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2432
2419
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2433
2420
|
"pluginType": "core",
|
|
2434
2421
|
"strict": true,
|
|
2435
|
-
"summary": "
|
|
2422
|
+
"summary": "Preview a retrieval to see what will be retrieved from the org, the potential conflicts, and the ignored files.",
|
|
2436
2423
|
"enableJsonFlag": true,
|
|
2437
2424
|
"requiresProject": true,
|
|
2438
2425
|
"isESM": true,
|
|
@@ -2440,55 +2427,49 @@
|
|
|
2440
2427
|
"lib",
|
|
2441
2428
|
"commands",
|
|
2442
2429
|
"project",
|
|
2443
|
-
"
|
|
2444
|
-
"
|
|
2430
|
+
"retrieve",
|
|
2431
|
+
"preview.js"
|
|
2445
2432
|
],
|
|
2446
2433
|
"aliasPermutations": [
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2451
|
-
"
|
|
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"
|
|
2434
|
+
"retrieve:metadata:preview",
|
|
2435
|
+
"metadata:retrieve:preview",
|
|
2436
|
+
"metadata:preview:retrieve",
|
|
2437
|
+
"retrieve:preview:metadata",
|
|
2438
|
+
"preview:retrieve:metadata",
|
|
2439
|
+
"preview:metadata:retrieve"
|
|
2471
2440
|
],
|
|
2472
2441
|
"permutations": [
|
|
2473
|
-
"project:
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2476
|
-
"project:
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
2442
|
+
"project:retrieve:preview",
|
|
2443
|
+
"retrieve:project:preview",
|
|
2444
|
+
"retrieve:preview:project",
|
|
2445
|
+
"project:preview:retrieve",
|
|
2446
|
+
"preview:project:retrieve",
|
|
2447
|
+
"preview:retrieve:project"
|
|
2479
2448
|
]
|
|
2480
2449
|
},
|
|
2481
|
-
"project:
|
|
2450
|
+
"project:retrieve:start": {
|
|
2482
2451
|
"aliases": [
|
|
2483
|
-
"
|
|
2452
|
+
"retrieve:metadata"
|
|
2484
2453
|
],
|
|
2485
2454
|
"args": {},
|
|
2486
2455
|
"deprecateAliases": true,
|
|
2487
|
-
"description": "
|
|
2456
|
+
"description": "You must run this command from within a project.\n\nMetadata components are retrieved in source format by default. Retrieve them in metadata format by specifying the --target-metadata-dir flag, which retrieves the components into a ZIP file in the specified directory.\n\nIf your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production orgs, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo retrieve multiple metadata components, either use multiple --metadata <name> flags or use 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.",
|
|
2488
2457
|
"examples": [
|
|
2489
|
-
"
|
|
2490
|
-
"
|
|
2491
|
-
"
|
|
2458
|
+
"Retrieve all remote changes from your default org:\n<%= config.bin %> <%= command.id %>",
|
|
2459
|
+
"Retrieve the source files in the \"force-app\" directory from an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-org my-scratch",
|
|
2460
|
+
"Retrieve all the Apex classes and custom objects whose source is in the \"force-app\" directory. The list views, layouts, etc, that are associated with the custom objects are also retrieved. Both examples are equivalent:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes force-app/main/default/objects\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/main/default/objects",
|
|
2461
|
+
"Retrieve all Apex classes that are in all package directories defined in the \"sfdx-project.json\" file:\n<%= config.bin %> <%= command.id %> --metadata ApexClass",
|
|
2462
|
+
"Retrieve a specific Apex class; ignore any conflicts between the local project and org (be careful with this flag, because it will overwrite the Apex class source files in your local project if there are conflicts!):\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --ignore-conflicts",
|
|
2463
|
+
"Retrieve specific Apex classes that match a pattern; in this example, retrieve Apex classes whose names contain the string \"MyApex\":\n<%= config.bin %> <%= command.id %> --metadata 'ApexClass:MyApex*'",
|
|
2464
|
+
"Retrieve a custom object called ExcitingObject that's in the SBQQ namespace:\nsf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject",
|
|
2465
|
+
"Retrieve all custom objects in the SBQQ namespace by using a wildcard and quotes:\nsf <%= command.id %> --metadata 'CustomObject:SBQQ__*'",
|
|
2466
|
+
"Retrieve all list views for the Case standard object:\nsf <%= command.id %> --metadata 'ListView:Case*'",
|
|
2467
|
+
"Retrieve all custom objects and Apex classes found in all defined package directories (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --metadata CustomObject ApexClass\n<%= config.bin %> <%= command.id %> --metadata CustomObject --metadata ApexClass",
|
|
2468
|
+
"Retrieve all metadata components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml",
|
|
2469
|
+
"Retrieve metadata from a package:\n<%= config.bin %> <%= command.id %> --package-name MyPackageName",
|
|
2470
|
+
"Retrieve metadata from multiple packages, one of which has a space in its name (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --package-name Package1 \"PackageName With Spaces\" Package3\n<%= config.bin %> <%= command.id %> --package-name Package1 --package-name \"PackageName With Spaces\" --package-name Package3",
|
|
2471
|
+
"Retrieve the metadata components listed in the force-app directory, but retrieve them in metadata format into a ZIP file in the \"output\" directory:\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output",
|
|
2472
|
+
"Retrieve in metadata format and automatically extract the contents into the \"output\" directory:\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output --unzip"
|
|
2492
2473
|
],
|
|
2493
2474
|
"flags": {
|
|
2494
2475
|
"json": {
|
|
@@ -2506,82 +2487,236 @@
|
|
|
2506
2487
|
"multiple": false,
|
|
2507
2488
|
"type": "option"
|
|
2508
2489
|
},
|
|
2490
|
+
"api-version": {
|
|
2491
|
+
"char": "a",
|
|
2492
|
+
"description": "Use this flag to override the default API version, which is the latest version supported the CLI, with the API version in your package.xml file.",
|
|
2493
|
+
"name": "api-version",
|
|
2494
|
+
"summary": "Target API version for the retrieve.",
|
|
2495
|
+
"hasDynamicHelp": false,
|
|
2496
|
+
"multiple": false,
|
|
2497
|
+
"type": "option"
|
|
2498
|
+
},
|
|
2499
|
+
"ignore-conflicts": {
|
|
2500
|
+
"char": "c",
|
|
2501
|
+
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
2502
|
+
"name": "ignore-conflicts",
|
|
2503
|
+
"summary": "Ignore conflicts and retrieve and save files to your local filesystem, even if they overwrite your local changes.",
|
|
2504
|
+
"allowNo": false,
|
|
2505
|
+
"type": "boolean"
|
|
2506
|
+
},
|
|
2507
|
+
"manifest": {
|
|
2508
|
+
"char": "x",
|
|
2509
|
+
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
2510
|
+
"exclusive": [
|
|
2511
|
+
"metadata",
|
|
2512
|
+
"source-dir"
|
|
2513
|
+
],
|
|
2514
|
+
"name": "manifest",
|
|
2515
|
+
"summary": "File path for the manifest (package.xml) that specifies the components to retrieve.",
|
|
2516
|
+
"hasDynamicHelp": false,
|
|
2517
|
+
"multiple": false,
|
|
2518
|
+
"type": "option"
|
|
2519
|
+
},
|
|
2520
|
+
"metadata": {
|
|
2521
|
+
"char": "m",
|
|
2522
|
+
"exclusive": [
|
|
2523
|
+
"manifest",
|
|
2524
|
+
"source-dir"
|
|
2525
|
+
],
|
|
2526
|
+
"name": "metadata",
|
|
2527
|
+
"summary": "Metadata component names to retrieve. Wildcards (`*`) supported as long as you use quotes, such as `ApexClass:MyClass*`.",
|
|
2528
|
+
"hasDynamicHelp": false,
|
|
2529
|
+
"multiple": true,
|
|
2530
|
+
"type": "option"
|
|
2531
|
+
},
|
|
2532
|
+
"package-name": {
|
|
2533
|
+
"char": "n",
|
|
2534
|
+
"description": "The metadata of the supplied package name(s) will be retrieved into a child directory of the project. The name of that child directory matches the name of the package. The retrieved metadata is meant for your reference only, don't add it to a source control system for development and deployment. For package development, retrieve the metadata using a manifest (`--manifest` flag) or by targeting a source controlled package directory within your project (`--source-dir` flag).",
|
|
2535
|
+
"name": "package-name",
|
|
2536
|
+
"summary": "Package names to retrieve. Use of this flag is for reference only; don't use it to retrieve packaged metadata for development.",
|
|
2537
|
+
"hasDynamicHelp": false,
|
|
2538
|
+
"multiple": true,
|
|
2539
|
+
"type": "option"
|
|
2540
|
+
},
|
|
2541
|
+
"output-dir": {
|
|
2542
|
+
"char": "r",
|
|
2543
|
+
"description": "The root of the directory structure into which the source files are retrieved.\nIf the target directory matches one of the package directories in your sfdx-project.json file, the command fails.\nRunning the command multiple times with the same target adds new files and overwrites existing files.",
|
|
2544
|
+
"exclusive": [
|
|
2545
|
+
"package-name",
|
|
2546
|
+
"source-dir"
|
|
2547
|
+
],
|
|
2548
|
+
"name": "output-dir",
|
|
2549
|
+
"summary": "Directory root for the retrieved source files.",
|
|
2550
|
+
"hasDynamicHelp": false,
|
|
2551
|
+
"multiple": false,
|
|
2552
|
+
"type": "option"
|
|
2553
|
+
},
|
|
2554
|
+
"single-package": {
|
|
2555
|
+
"dependsOn": [
|
|
2556
|
+
"target-metadata-dir"
|
|
2557
|
+
],
|
|
2558
|
+
"exclusive": [
|
|
2559
|
+
"ignore-conflicts"
|
|
2560
|
+
],
|
|
2561
|
+
"helpGroup": "Metadata API Format",
|
|
2562
|
+
"name": "single-package",
|
|
2563
|
+
"summary": "Indicates that the zip file points to a directory structure for a single package.",
|
|
2564
|
+
"allowNo": false,
|
|
2565
|
+
"type": "boolean"
|
|
2566
|
+
},
|
|
2509
2567
|
"source-dir": {
|
|
2510
|
-
"
|
|
2511
|
-
|
|
2568
|
+
"char": "d",
|
|
2569
|
+
"description": "The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all source files in the directory and its subdirectories).",
|
|
2570
|
+
"exclusive": [
|
|
2571
|
+
"manifest",
|
|
2572
|
+
"metadata"
|
|
2512
2573
|
],
|
|
2513
|
-
"char": "p",
|
|
2514
|
-
"deprecateAliases": true,
|
|
2515
2574
|
"name": "source-dir",
|
|
2516
|
-
"summary": "File
|
|
2575
|
+
"summary": "File paths for source to retrieve from the org.",
|
|
2576
|
+
"hasDynamicHelp": false,
|
|
2577
|
+
"multiple": true,
|
|
2578
|
+
"type": "option"
|
|
2579
|
+
},
|
|
2580
|
+
"target-metadata-dir": {
|
|
2581
|
+
"char": "t",
|
|
2582
|
+
"exclusive": [
|
|
2583
|
+
"ignore-conflicts"
|
|
2584
|
+
],
|
|
2585
|
+
"helpGroup": "Metadata API Format",
|
|
2586
|
+
"name": "target-metadata-dir",
|
|
2587
|
+
"relationships": [
|
|
2588
|
+
{
|
|
2589
|
+
"type": "some",
|
|
2590
|
+
"flags": [
|
|
2591
|
+
"manifest",
|
|
2592
|
+
"metadata",
|
|
2593
|
+
"source-dir",
|
|
2594
|
+
"package-name"
|
|
2595
|
+
]
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"summary": "Directory that will contain the retrieved metadata format files or ZIP.",
|
|
2599
|
+
"hasDynamicHelp": false,
|
|
2600
|
+
"multiple": false,
|
|
2601
|
+
"type": "option"
|
|
2602
|
+
},
|
|
2603
|
+
"target-org": {
|
|
2604
|
+
"char": "o",
|
|
2605
|
+
"name": "target-org",
|
|
2606
|
+
"noCacheDefault": true,
|
|
2607
|
+
"required": true,
|
|
2608
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2609
|
+
"hasDynamicHelp": true,
|
|
2610
|
+
"multiple": false,
|
|
2611
|
+
"type": "option"
|
|
2612
|
+
},
|
|
2613
|
+
"wait": {
|
|
2614
|
+
"char": "w",
|
|
2615
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
2616
|
+
"name": "wait",
|
|
2617
|
+
"summary": "Number of minutes to wait for the command to complete and display results to the terminal window.",
|
|
2618
|
+
"default": "33 minutes",
|
|
2619
|
+
"hasDynamicHelp": true,
|
|
2620
|
+
"multiple": false,
|
|
2621
|
+
"type": "option"
|
|
2622
|
+
},
|
|
2623
|
+
"unzip": {
|
|
2624
|
+
"char": "z",
|
|
2625
|
+
"dependsOn": [
|
|
2626
|
+
"target-metadata-dir"
|
|
2627
|
+
],
|
|
2628
|
+
"exclusive": [
|
|
2629
|
+
"ignore-conflicts"
|
|
2630
|
+
],
|
|
2631
|
+
"helpGroup": "Metadata API Format",
|
|
2632
|
+
"name": "unzip",
|
|
2633
|
+
"summary": "Extract all files from the retrieved zip file.",
|
|
2634
|
+
"allowNo": false,
|
|
2635
|
+
"type": "boolean"
|
|
2636
|
+
},
|
|
2637
|
+
"zip-file-name": {
|
|
2638
|
+
"dependsOn": [
|
|
2639
|
+
"target-metadata-dir"
|
|
2640
|
+
],
|
|
2641
|
+
"exclusive": [
|
|
2642
|
+
"ignore-conflicts"
|
|
2643
|
+
],
|
|
2644
|
+
"helpGroup": "Metadata API Format",
|
|
2645
|
+
"name": "zip-file-name",
|
|
2646
|
+
"summary": "File name to use for the retrieved zip file.",
|
|
2517
2647
|
"hasDynamicHelp": false,
|
|
2518
2648
|
"multiple": false,
|
|
2519
2649
|
"type": "option"
|
|
2520
2650
|
}
|
|
2521
2651
|
},
|
|
2522
|
-
"hasDynamicHelp":
|
|
2652
|
+
"hasDynamicHelp": true,
|
|
2523
2653
|
"hiddenAliases": [],
|
|
2524
|
-
"id": "project:
|
|
2654
|
+
"id": "project:retrieve:start",
|
|
2525
2655
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
2656
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
2657
|
"pluginType": "core",
|
|
2528
2658
|
"strict": true,
|
|
2529
|
-
"summary": "
|
|
2659
|
+
"summary": "Retrieve metadata from an org to your local project.",
|
|
2530
2660
|
"enableJsonFlag": true,
|
|
2531
|
-
"
|
|
2661
|
+
"configurationVariablesSection": {
|
|
2662
|
+
"header": "CONFIGURATION VARIABLES",
|
|
2663
|
+
"body": [
|
|
2664
|
+
{
|
|
2665
|
+
"name": "target-org",
|
|
2666
|
+
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"name": "org-api-version",
|
|
2670
|
+
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
2671
|
+
}
|
|
2672
|
+
]
|
|
2673
|
+
},
|
|
2674
|
+
"envVariablesSection": {
|
|
2675
|
+
"header": "ENVIRONMENT VARIABLES",
|
|
2676
|
+
"body": [
|
|
2677
|
+
{
|
|
2678
|
+
"name": "SF_TARGET_ORG",
|
|
2679
|
+
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"name": "SF_USE_PROGRESS_BAR",
|
|
2683
|
+
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
2684
|
+
}
|
|
2685
|
+
]
|
|
2686
|
+
},
|
|
2532
2687
|
"isESM": true,
|
|
2533
2688
|
"relativePath": [
|
|
2534
2689
|
"lib",
|
|
2535
2690
|
"commands",
|
|
2536
2691
|
"project",
|
|
2537
|
-
"
|
|
2538
|
-
"
|
|
2692
|
+
"retrieve",
|
|
2693
|
+
"start.js"
|
|
2539
2694
|
],
|
|
2540
2695
|
"aliasPermutations": [
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2543
|
-
"source:ignored:force:list",
|
|
2544
|
-
"source:ignored:list:force",
|
|
2545
|
-
"force:ignored:source:list",
|
|
2546
|
-
"ignored:force:source:list",
|
|
2547
|
-
"ignored:source:force:list",
|
|
2548
|
-
"ignored:source:list:force",
|
|
2549
|
-
"force:ignored:list:source",
|
|
2550
|
-
"ignored:force:list:source",
|
|
2551
|
-
"ignored:list:force:source",
|
|
2552
|
-
"ignored:list:source:force",
|
|
2553
|
-
"force:source:list:ignored",
|
|
2554
|
-
"source:force:list:ignored",
|
|
2555
|
-
"source:list:force:ignored",
|
|
2556
|
-
"source:list:ignored:force",
|
|
2557
|
-
"force:list:source:ignored",
|
|
2558
|
-
"list:force:source:ignored",
|
|
2559
|
-
"list:source:force:ignored",
|
|
2560
|
-
"list:source:ignored:force",
|
|
2561
|
-
"force:list:ignored:source",
|
|
2562
|
-
"list:force:ignored:source",
|
|
2563
|
-
"list:ignored:force:source",
|
|
2564
|
-
"list:ignored:source:force"
|
|
2696
|
+
"retrieve:metadata",
|
|
2697
|
+
"metadata:retrieve"
|
|
2565
2698
|
],
|
|
2566
2699
|
"permutations": [
|
|
2567
|
-
"project:
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"project:
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2700
|
+
"project:retrieve:start",
|
|
2701
|
+
"retrieve:project:start",
|
|
2702
|
+
"retrieve:start:project",
|
|
2703
|
+
"project:start:retrieve",
|
|
2704
|
+
"start:project:retrieve",
|
|
2705
|
+
"start:retrieve:project"
|
|
2573
2706
|
]
|
|
2574
2707
|
},
|
|
2575
|
-
"project:
|
|
2708
|
+
"project:delete:source": {
|
|
2576
2709
|
"aliases": [
|
|
2577
|
-
"force:source:
|
|
2710
|
+
"force:source:delete"
|
|
2578
2711
|
],
|
|
2579
2712
|
"args": {},
|
|
2580
2713
|
"deprecateAliases": true,
|
|
2581
|
-
"description": "
|
|
2714
|
+
"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.",
|
|
2582
2715
|
"examples": [
|
|
2583
|
-
"
|
|
2584
|
-
"
|
|
2716
|
+
"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",
|
|
2717
|
+
"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",
|
|
2718
|
+
"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",
|
|
2719
|
+
"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"
|
|
2585
2720
|
],
|
|
2586
2721
|
"flags": {
|
|
2587
2722
|
"json": {
|
|
@@ -2599,6 +2734,27 @@
|
|
|
2599
2734
|
"multiple": false,
|
|
2600
2735
|
"type": "option"
|
|
2601
2736
|
},
|
|
2737
|
+
"api-version": {
|
|
2738
|
+
"aliases": [
|
|
2739
|
+
"apiversion"
|
|
2740
|
+
],
|
|
2741
|
+
"deprecateAliases": true,
|
|
2742
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2743
|
+
"name": "api-version",
|
|
2744
|
+
"hasDynamicHelp": false,
|
|
2745
|
+
"multiple": false,
|
|
2746
|
+
"type": "option"
|
|
2747
|
+
},
|
|
2748
|
+
"loglevel": {
|
|
2749
|
+
"deprecated": {
|
|
2750
|
+
"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."
|
|
2751
|
+
},
|
|
2752
|
+
"hidden": true,
|
|
2753
|
+
"name": "loglevel",
|
|
2754
|
+
"hasDynamicHelp": false,
|
|
2755
|
+
"multiple": false,
|
|
2756
|
+
"type": "option"
|
|
2757
|
+
},
|
|
2602
2758
|
"target-org": {
|
|
2603
2759
|
"aliases": [
|
|
2604
2760
|
"targetusername",
|
|
@@ -2614,160 +2770,135 @@
|
|
|
2614
2770
|
"multiple": false,
|
|
2615
2771
|
"type": "option"
|
|
2616
2772
|
},
|
|
2617
|
-
"
|
|
2773
|
+
"check-only": {
|
|
2618
2774
|
"aliases": [
|
|
2619
|
-
"
|
|
2775
|
+
"checkonly"
|
|
2620
2776
|
],
|
|
2777
|
+
"char": "c",
|
|
2621
2778
|
"deprecateAliases": true,
|
|
2622
|
-
"description": "
|
|
2623
|
-
"name": "
|
|
2624
|
-
"
|
|
2779
|
+
"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.",
|
|
2780
|
+
"name": "check-only",
|
|
2781
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
2782
|
+
"allowNo": false,
|
|
2783
|
+
"type": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"wait": {
|
|
2786
|
+
"char": "w",
|
|
2787
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
2788
|
+
"name": "wait",
|
|
2789
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
2790
|
+
"hasDynamicHelp": true,
|
|
2625
2791
|
"multiple": false,
|
|
2626
2792
|
"type": "option"
|
|
2627
2793
|
},
|
|
2628
|
-
"
|
|
2629
|
-
"
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
"
|
|
2633
|
-
"name": "loglevel",
|
|
2794
|
+
"tests": {
|
|
2795
|
+
"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\"",
|
|
2796
|
+
"helpGroup": "Test",
|
|
2797
|
+
"name": "tests",
|
|
2798
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
2634
2799
|
"hasDynamicHelp": false,
|
|
2635
|
-
"multiple":
|
|
2800
|
+
"multiple": true,
|
|
2636
2801
|
"type": "option"
|
|
2637
2802
|
},
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2640
|
-
|
|
2641
|
-
|
|
2803
|
+
"test-level": {
|
|
2804
|
+
"aliases": [
|
|
2805
|
+
"testlevel"
|
|
2806
|
+
],
|
|
2807
|
+
"char": "l",
|
|
2808
|
+
"deprecateAliases": true,
|
|
2809
|
+
"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\".",
|
|
2810
|
+
"helpGroup": "Test",
|
|
2811
|
+
"name": "test-level",
|
|
2812
|
+
"summary": "Deployment Apex testing level.",
|
|
2642
2813
|
"hasDynamicHelp": false,
|
|
2643
2814
|
"multiple": false,
|
|
2815
|
+
"options": [
|
|
2816
|
+
"NoTestRun",
|
|
2817
|
+
"RunSpecifiedTests",
|
|
2818
|
+
"RunLocalTests",
|
|
2819
|
+
"RunAllTestsInOrg",
|
|
2820
|
+
"RunRelevantTests"
|
|
2821
|
+
],
|
|
2644
2822
|
"type": "option"
|
|
2645
2823
|
},
|
|
2646
2824
|
"no-prompt": {
|
|
2647
2825
|
"aliases": [
|
|
2648
2826
|
"noprompt"
|
|
2649
2827
|
],
|
|
2650
|
-
"char": "
|
|
2828
|
+
"char": "r",
|
|
2651
2829
|
"deprecateAliases": true,
|
|
2652
2830
|
"name": "no-prompt",
|
|
2653
|
-
"summary": "Don't prompt for
|
|
2654
|
-
"allowNo": false,
|
|
2655
|
-
"type": "boolean"
|
|
2656
|
-
}
|
|
2657
|
-
},
|
|
2658
|
-
"hasDynamicHelp": true,
|
|
2659
|
-
"hiddenAliases": [],
|
|
2660
|
-
"id": "project:reset:tracking",
|
|
2661
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2662
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2663
|
-
"pluginType": "core",
|
|
2664
|
-
"strict": true,
|
|
2665
|
-
"summary": "Reset local and remote source tracking.",
|
|
2666
|
-
"enableJsonFlag": true,
|
|
2667
|
-
"requiresProject": true,
|
|
2668
|
-
"isESM": true,
|
|
2669
|
-
"relativePath": [
|
|
2670
|
-
"lib",
|
|
2671
|
-
"commands",
|
|
2672
|
-
"project",
|
|
2673
|
-
"reset",
|
|
2674
|
-
"tracking.js"
|
|
2675
|
-
],
|
|
2676
|
-
"aliasPermutations": [
|
|
2677
|
-
"force:source:tracking:reset",
|
|
2678
|
-
"source:force:tracking:reset",
|
|
2679
|
-
"source:tracking:force:reset",
|
|
2680
|
-
"source:tracking:reset:force",
|
|
2681
|
-
"force:tracking:source:reset",
|
|
2682
|
-
"tracking:force:source:reset",
|
|
2683
|
-
"tracking:source:force:reset",
|
|
2684
|
-
"tracking:source:reset:force",
|
|
2685
|
-
"force:tracking:reset:source",
|
|
2686
|
-
"tracking:force:reset:source",
|
|
2687
|
-
"tracking:reset:force:source",
|
|
2688
|
-
"tracking:reset:source:force",
|
|
2689
|
-
"force:source:reset:tracking",
|
|
2690
|
-
"source:force:reset:tracking",
|
|
2691
|
-
"source:reset:force:tracking",
|
|
2692
|
-
"source:reset:tracking:force",
|
|
2693
|
-
"force:reset:source:tracking",
|
|
2694
|
-
"reset:force:source:tracking",
|
|
2695
|
-
"reset:source:force:tracking",
|
|
2696
|
-
"reset:source:tracking:force",
|
|
2697
|
-
"force:reset:tracking:source",
|
|
2698
|
-
"reset:force:tracking:source",
|
|
2699
|
-
"reset:tracking:force:source",
|
|
2700
|
-
"reset:tracking:source:force"
|
|
2701
|
-
],
|
|
2702
|
-
"permutations": [
|
|
2703
|
-
"project:reset:tracking",
|
|
2704
|
-
"reset:project:tracking",
|
|
2705
|
-
"reset:tracking:project",
|
|
2706
|
-
"project:tracking:reset",
|
|
2707
|
-
"tracking:project:reset",
|
|
2708
|
-
"tracking:reset:project"
|
|
2709
|
-
]
|
|
2710
|
-
},
|
|
2711
|
-
"project:retrieve:preview": {
|
|
2712
|
-
"aliases": [
|
|
2713
|
-
"retrieve:metadata:preview"
|
|
2714
|
-
],
|
|
2715
|
-
"args": {},
|
|
2716
|
-
"deprecateAliases": true,
|
|
2717
|
-
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project retrieve start\" command. The table lists the metadata components that will be retrieved and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be retrieved because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.",
|
|
2718
|
-
"examples": [
|
|
2719
|
-
"Preview the retrieve of all changes from your default org:\n<%= config.bin %> <%= command.id %>",
|
|
2720
|
-
"Preview the retrieve when ignoring any conflicts from an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --ignore-conflicts --target-org my-scratch"
|
|
2721
|
-
],
|
|
2722
|
-
"flags": {
|
|
2723
|
-
"json": {
|
|
2724
|
-
"description": "Format output as json.",
|
|
2725
|
-
"helpGroup": "GLOBAL",
|
|
2726
|
-
"name": "json",
|
|
2831
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
2727
2832
|
"allowNo": false,
|
|
2728
2833
|
"type": "boolean"
|
|
2729
2834
|
},
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2835
|
+
"metadata": {
|
|
2836
|
+
"char": "m",
|
|
2837
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
2838
|
+
"name": "metadata",
|
|
2839
|
+
"summary": "Metadata components to delete.",
|
|
2840
|
+
"delimiter": ",",
|
|
2734
2841
|
"hasDynamicHelp": false,
|
|
2735
|
-
"multiple":
|
|
2842
|
+
"multiple": true,
|
|
2736
2843
|
"type": "option"
|
|
2737
2844
|
},
|
|
2738
|
-
"
|
|
2739
|
-
"
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
"
|
|
2845
|
+
"source-dir": {
|
|
2846
|
+
"aliases": [
|
|
2847
|
+
"sourcepath"
|
|
2848
|
+
],
|
|
2849
|
+
"char": "p",
|
|
2850
|
+
"deprecateAliases": true,
|
|
2851
|
+
"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.",
|
|
2852
|
+
"name": "source-dir",
|
|
2853
|
+
"summary": "Source file paths to delete.",
|
|
2854
|
+
"delimiter": ",",
|
|
2855
|
+
"hasDynamicHelp": false,
|
|
2856
|
+
"multiple": true,
|
|
2857
|
+
"type": "option"
|
|
2858
|
+
},
|
|
2859
|
+
"track-source": {
|
|
2860
|
+
"aliases": [
|
|
2861
|
+
"tracksource"
|
|
2862
|
+
],
|
|
2863
|
+
"char": "t",
|
|
2864
|
+
"deprecateAliases": true,
|
|
2865
|
+
"exclusive": [
|
|
2866
|
+
"check-only"
|
|
2867
|
+
],
|
|
2868
|
+
"name": "track-source",
|
|
2869
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
2743
2870
|
"allowNo": false,
|
|
2744
2871
|
"type": "boolean"
|
|
2745
2872
|
},
|
|
2746
|
-
"
|
|
2747
|
-
"
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
"
|
|
2751
|
-
"
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
"
|
|
2873
|
+
"force-overwrite": {
|
|
2874
|
+
"aliases": [
|
|
2875
|
+
"forceoverwrite"
|
|
2876
|
+
],
|
|
2877
|
+
"char": "f",
|
|
2878
|
+
"dependsOn": [
|
|
2879
|
+
"track-source"
|
|
2880
|
+
],
|
|
2881
|
+
"deprecateAliases": true,
|
|
2882
|
+
"name": "force-overwrite",
|
|
2883
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
2884
|
+
"allowNo": false,
|
|
2885
|
+
"type": "boolean"
|
|
2755
2886
|
},
|
|
2756
|
-
"
|
|
2757
|
-
"name": "
|
|
2758
|
-
"summary": "
|
|
2887
|
+
"verbose": {
|
|
2888
|
+
"name": "verbose",
|
|
2889
|
+
"summary": "Verbose output of the delete result.",
|
|
2759
2890
|
"allowNo": false,
|
|
2760
2891
|
"type": "boolean"
|
|
2761
2892
|
}
|
|
2762
2893
|
},
|
|
2763
2894
|
"hasDynamicHelp": true,
|
|
2764
2895
|
"hiddenAliases": [],
|
|
2765
|
-
"id": "project:
|
|
2896
|
+
"id": "project:delete:source",
|
|
2766
2897
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2767
2898
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2768
2899
|
"pluginType": "core",
|
|
2769
2900
|
"strict": true,
|
|
2770
|
-
"summary": "
|
|
2901
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
2771
2902
|
"enableJsonFlag": true,
|
|
2772
2903
|
"requiresProject": true,
|
|
2773
2904
|
"isESM": true,
|
|
@@ -2775,49 +2906,35 @@
|
|
|
2775
2906
|
"lib",
|
|
2776
2907
|
"commands",
|
|
2777
2908
|
"project",
|
|
2778
|
-
"
|
|
2779
|
-
"
|
|
2909
|
+
"delete",
|
|
2910
|
+
"source.js"
|
|
2780
2911
|
],
|
|
2781
2912
|
"aliasPermutations": [
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
2786
|
-
"
|
|
2787
|
-
"
|
|
2913
|
+
"force:source:delete",
|
|
2914
|
+
"source:force:delete",
|
|
2915
|
+
"source:delete:force",
|
|
2916
|
+
"force:delete:source",
|
|
2917
|
+
"delete:force:source",
|
|
2918
|
+
"delete:source:force"
|
|
2788
2919
|
],
|
|
2789
2920
|
"permutations": [
|
|
2790
|
-
"project:
|
|
2791
|
-
"
|
|
2792
|
-
"
|
|
2793
|
-
"project:
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2921
|
+
"project:delete:source",
|
|
2922
|
+
"delete:project:source",
|
|
2923
|
+
"delete:source:project",
|
|
2924
|
+
"project:source:delete",
|
|
2925
|
+
"source:project:delete",
|
|
2926
|
+
"source:delete:project"
|
|
2796
2927
|
]
|
|
2797
2928
|
},
|
|
2798
|
-
"project:
|
|
2929
|
+
"project:delete:tracking": {
|
|
2799
2930
|
"aliases": [
|
|
2800
|
-
"
|
|
2931
|
+
"force:source:tracking:clear"
|
|
2801
2932
|
],
|
|
2802
2933
|
"args": {},
|
|
2803
2934
|
"deprecateAliases": true,
|
|
2804
|
-
"description": "
|
|
2935
|
+
"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.",
|
|
2805
2936
|
"examples": [
|
|
2806
|
-
"
|
|
2807
|
-
"Retrieve the source files in the \"force-app\" directory from an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-org my-scratch",
|
|
2808
|
-
"Retrieve all the Apex classes and custom objects whose source is in the \"force-app\" directory. The list views, layouts, etc, that are associated with the custom objects are also retrieved. Both examples are equivalent:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes force-app/main/default/objects\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/main/default/objects",
|
|
2809
|
-
"Retrieve all Apex classes that are in all package directories defined in the \"sfdx-project.json\" file:\n<%= config.bin %> <%= command.id %> --metadata ApexClass",
|
|
2810
|
-
"Retrieve a specific Apex class; ignore any conflicts between the local project and org (be careful with this flag, because it will overwrite the Apex class source files in your local project if there are conflicts!):\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --ignore-conflicts",
|
|
2811
|
-
"Retrieve specific Apex classes that match a pattern; in this example, retrieve Apex classes whose names contain the string \"MyApex\":\n<%= config.bin %> <%= command.id %> --metadata 'ApexClass:MyApex*'",
|
|
2812
|
-
"Retrieve a custom object called ExcitingObject that's in the SBQQ namespace:\nsf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject",
|
|
2813
|
-
"Retrieve all custom objects in the SBQQ namespace by using a wildcard and quotes:\nsf <%= command.id %> --metadata 'CustomObject:SBQQ__*'",
|
|
2814
|
-
"Retrieve all list views for the Case standard object:\nsf <%= command.id %> --metadata 'ListView:Case*'",
|
|
2815
|
-
"Retrieve all custom objects and Apex classes found in all defined package directories (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --metadata CustomObject ApexClass\n<%= config.bin %> <%= command.id %> --metadata CustomObject --metadata ApexClass",
|
|
2816
|
-
"Retrieve all metadata components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml",
|
|
2817
|
-
"Retrieve metadata from a package:\n<%= config.bin %> <%= command.id %> --package-name MyPackageName",
|
|
2818
|
-
"Retrieve metadata from multiple packages, one of which has a space in its name (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --package-name Package1 \"PackageName With Spaces\" Package3\n<%= config.bin %> <%= command.id %> --package-name Package1 --package-name \"PackageName With Spaces\" --package-name Package3",
|
|
2819
|
-
"Retrieve the metadata components listed in the force-app directory, but retrieve them in metadata format into a ZIP file in the \"output\" directory:\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output",
|
|
2820
|
-
"Retrieve in metadata format and automatically extract the contents into the \"output\" directory:\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output --unzip"
|
|
2937
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
2821
2938
|
],
|
|
2822
2939
|
"flags": {
|
|
2823
2940
|
"json": {
|
|
@@ -2836,120 +2953,33 @@
|
|
|
2836
2953
|
"type": "option"
|
|
2837
2954
|
},
|
|
2838
2955
|
"api-version": {
|
|
2839
|
-
"
|
|
2840
|
-
|
|
2841
|
-
"name": "api-version",
|
|
2842
|
-
"summary": "Target API version for the retrieve.",
|
|
2843
|
-
"hasDynamicHelp": false,
|
|
2844
|
-
"multiple": false,
|
|
2845
|
-
"type": "option"
|
|
2846
|
-
},
|
|
2847
|
-
"ignore-conflicts": {
|
|
2848
|
-
"char": "c",
|
|
2849
|
-
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
2850
|
-
"name": "ignore-conflicts",
|
|
2851
|
-
"summary": "Ignore conflicts and retrieve and save files to your local filesystem, even if they overwrite your local changes.",
|
|
2852
|
-
"allowNo": false,
|
|
2853
|
-
"type": "boolean"
|
|
2854
|
-
},
|
|
2855
|
-
"manifest": {
|
|
2856
|
-
"char": "x",
|
|
2857
|
-
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
2858
|
-
"exclusive": [
|
|
2859
|
-
"metadata",
|
|
2860
|
-
"source-dir"
|
|
2861
|
-
],
|
|
2862
|
-
"name": "manifest",
|
|
2863
|
-
"summary": "File path for the manifest (package.xml) that specifies the components to retrieve.",
|
|
2864
|
-
"hasDynamicHelp": false,
|
|
2865
|
-
"multiple": false,
|
|
2866
|
-
"type": "option"
|
|
2867
|
-
},
|
|
2868
|
-
"metadata": {
|
|
2869
|
-
"char": "m",
|
|
2870
|
-
"exclusive": [
|
|
2871
|
-
"manifest",
|
|
2872
|
-
"source-dir"
|
|
2873
|
-
],
|
|
2874
|
-
"name": "metadata",
|
|
2875
|
-
"summary": "Metadata component names to retrieve. Wildcards (`*`) supported as long as you use quotes, such as `ApexClass:MyClass*`.",
|
|
2876
|
-
"hasDynamicHelp": false,
|
|
2877
|
-
"multiple": true,
|
|
2878
|
-
"type": "option"
|
|
2879
|
-
},
|
|
2880
|
-
"package-name": {
|
|
2881
|
-
"char": "n",
|
|
2882
|
-
"description": "The metadata of the supplied package name(s) will be retrieved into a child directory of the project. The name of that child directory matches the name of the package. The retrieved metadata is meant for your reference only, don't add it to a source control system for development and deployment. For package development, retrieve the metadata using a manifest (`--manifest` flag) or by targeting a source controlled package directory within your project (`--source-dir` flag).",
|
|
2883
|
-
"name": "package-name",
|
|
2884
|
-
"summary": "Package names to retrieve. Use of this flag is for reference only; don't use it to retrieve packaged metadata for development.",
|
|
2885
|
-
"hasDynamicHelp": false,
|
|
2886
|
-
"multiple": true,
|
|
2887
|
-
"type": "option"
|
|
2888
|
-
},
|
|
2889
|
-
"output-dir": {
|
|
2890
|
-
"char": "r",
|
|
2891
|
-
"description": "The root of the directory structure into which the source files are retrieved.\nIf the target directory matches one of the package directories in your sfdx-project.json file, the command fails.\nRunning the command multiple times with the same target adds new files and overwrites existing files.",
|
|
2892
|
-
"exclusive": [
|
|
2893
|
-
"package-name",
|
|
2894
|
-
"source-dir"
|
|
2956
|
+
"aliases": [
|
|
2957
|
+
"apiversion"
|
|
2895
2958
|
],
|
|
2896
|
-
"
|
|
2897
|
-
"
|
|
2959
|
+
"deprecateAliases": true,
|
|
2960
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2961
|
+
"name": "api-version",
|
|
2898
2962
|
"hasDynamicHelp": false,
|
|
2899
2963
|
"multiple": false,
|
|
2900
2964
|
"type": "option"
|
|
2901
2965
|
},
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2904
|
-
"
|
|
2905
|
-
|
|
2906
|
-
"
|
|
2907
|
-
|
|
2908
|
-
],
|
|
2909
|
-
"helpGroup": "Metadata API Format",
|
|
2910
|
-
"name": "single-package",
|
|
2911
|
-
"summary": "Indicates that the zip file points to a directory structure for a single package.",
|
|
2912
|
-
"allowNo": false,
|
|
2913
|
-
"type": "boolean"
|
|
2914
|
-
},
|
|
2915
|
-
"source-dir": {
|
|
2916
|
-
"char": "d",
|
|
2917
|
-
"description": "The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all source files in the directory and its subdirectories).",
|
|
2918
|
-
"exclusive": [
|
|
2919
|
-
"manifest",
|
|
2920
|
-
"metadata"
|
|
2921
|
-
],
|
|
2922
|
-
"name": "source-dir",
|
|
2923
|
-
"summary": "File paths for source to retrieve from the org.",
|
|
2924
|
-
"hasDynamicHelp": false,
|
|
2925
|
-
"multiple": true,
|
|
2926
|
-
"type": "option"
|
|
2927
|
-
},
|
|
2928
|
-
"target-metadata-dir": {
|
|
2929
|
-
"char": "t",
|
|
2930
|
-
"exclusive": [
|
|
2931
|
-
"ignore-conflicts"
|
|
2932
|
-
],
|
|
2933
|
-
"helpGroup": "Metadata API Format",
|
|
2934
|
-
"name": "target-metadata-dir",
|
|
2935
|
-
"relationships": [
|
|
2936
|
-
{
|
|
2937
|
-
"type": "some",
|
|
2938
|
-
"flags": [
|
|
2939
|
-
"manifest",
|
|
2940
|
-
"metadata",
|
|
2941
|
-
"source-dir",
|
|
2942
|
-
"package-name"
|
|
2943
|
-
]
|
|
2944
|
-
}
|
|
2945
|
-
],
|
|
2946
|
-
"summary": "Directory that will contain the retrieved metadata format files or ZIP.",
|
|
2966
|
+
"loglevel": {
|
|
2967
|
+
"deprecated": {
|
|
2968
|
+
"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."
|
|
2969
|
+
},
|
|
2970
|
+
"hidden": true,
|
|
2971
|
+
"name": "loglevel",
|
|
2947
2972
|
"hasDynamicHelp": false,
|
|
2948
2973
|
"multiple": false,
|
|
2949
2974
|
"type": "option"
|
|
2950
2975
|
},
|
|
2951
2976
|
"target-org": {
|
|
2977
|
+
"aliases": [
|
|
2978
|
+
"targetusername",
|
|
2979
|
+
"u"
|
|
2980
|
+
],
|
|
2952
2981
|
"char": "o",
|
|
2982
|
+
"deprecateAliases": true,
|
|
2953
2983
|
"name": "target-org",
|
|
2954
2984
|
"noCacheDefault": true,
|
|
2955
2985
|
"required": true,
|
|
@@ -2958,101 +2988,71 @@
|
|
|
2958
2988
|
"multiple": false,
|
|
2959
2989
|
"type": "option"
|
|
2960
2990
|
},
|
|
2961
|
-
"
|
|
2962
|
-
"
|
|
2963
|
-
|
|
2964
|
-
"name": "wait",
|
|
2965
|
-
"summary": "Number of minutes to wait for the command to complete and display results to the terminal window.",
|
|
2966
|
-
"default": "33 minutes",
|
|
2967
|
-
"hasDynamicHelp": true,
|
|
2968
|
-
"multiple": false,
|
|
2969
|
-
"type": "option"
|
|
2970
|
-
},
|
|
2971
|
-
"unzip": {
|
|
2972
|
-
"char": "z",
|
|
2973
|
-
"dependsOn": [
|
|
2974
|
-
"target-metadata-dir"
|
|
2975
|
-
],
|
|
2976
|
-
"exclusive": [
|
|
2977
|
-
"ignore-conflicts"
|
|
2991
|
+
"no-prompt": {
|
|
2992
|
+
"aliases": [
|
|
2993
|
+
"noprompt"
|
|
2978
2994
|
],
|
|
2979
|
-
"
|
|
2980
|
-
"
|
|
2981
|
-
"
|
|
2995
|
+
"char": "p",
|
|
2996
|
+
"deprecateAliases": true,
|
|
2997
|
+
"name": "no-prompt",
|
|
2998
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2982
2999
|
"allowNo": false,
|
|
2983
3000
|
"type": "boolean"
|
|
2984
|
-
},
|
|
2985
|
-
"zip-file-name": {
|
|
2986
|
-
"dependsOn": [
|
|
2987
|
-
"target-metadata-dir"
|
|
2988
|
-
],
|
|
2989
|
-
"exclusive": [
|
|
2990
|
-
"ignore-conflicts"
|
|
2991
|
-
],
|
|
2992
|
-
"helpGroup": "Metadata API Format",
|
|
2993
|
-
"name": "zip-file-name",
|
|
2994
|
-
"summary": "File name to use for the retrieved zip file.",
|
|
2995
|
-
"hasDynamicHelp": false,
|
|
2996
|
-
"multiple": false,
|
|
2997
|
-
"type": "option"
|
|
2998
3001
|
}
|
|
2999
3002
|
},
|
|
3000
3003
|
"hasDynamicHelp": true,
|
|
3001
3004
|
"hiddenAliases": [],
|
|
3002
|
-
"id": "project:
|
|
3005
|
+
"id": "project:delete:tracking",
|
|
3003
3006
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
3004
3007
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
3005
3008
|
"pluginType": "core",
|
|
3006
3009
|
"strict": true,
|
|
3007
|
-
"summary": "
|
|
3010
|
+
"summary": "Delete all local source tracking information.",
|
|
3008
3011
|
"enableJsonFlag": true,
|
|
3009
|
-
"
|
|
3010
|
-
"header": "CONFIGURATION VARIABLES",
|
|
3011
|
-
"body": [
|
|
3012
|
-
{
|
|
3013
|
-
"name": "target-org",
|
|
3014
|
-
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"name": "org-api-version",
|
|
3018
|
-
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
3019
|
-
}
|
|
3020
|
-
]
|
|
3021
|
-
},
|
|
3022
|
-
"envVariablesSection": {
|
|
3023
|
-
"header": "ENVIRONMENT VARIABLES",
|
|
3024
|
-
"body": [
|
|
3025
|
-
{
|
|
3026
|
-
"name": "SF_TARGET_ORG",
|
|
3027
|
-
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
3028
|
-
},
|
|
3029
|
-
{
|
|
3030
|
-
"name": "SF_USE_PROGRESS_BAR",
|
|
3031
|
-
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
3032
|
-
}
|
|
3033
|
-
]
|
|
3034
|
-
},
|
|
3012
|
+
"requiresProject": true,
|
|
3035
3013
|
"isESM": true,
|
|
3036
3014
|
"relativePath": [
|
|
3037
3015
|
"lib",
|
|
3038
3016
|
"commands",
|
|
3039
3017
|
"project",
|
|
3040
|
-
"
|
|
3041
|
-
"
|
|
3018
|
+
"delete",
|
|
3019
|
+
"tracking.js"
|
|
3042
3020
|
],
|
|
3043
3021
|
"aliasPermutations": [
|
|
3044
|
-
"
|
|
3045
|
-
"
|
|
3022
|
+
"force:source:tracking:clear",
|
|
3023
|
+
"source:force:tracking:clear",
|
|
3024
|
+
"source:tracking:force:clear",
|
|
3025
|
+
"source:tracking:clear:force",
|
|
3026
|
+
"force:tracking:source:clear",
|
|
3027
|
+
"tracking:force:source:clear",
|
|
3028
|
+
"tracking:source:force:clear",
|
|
3029
|
+
"tracking:source:clear:force",
|
|
3030
|
+
"force:tracking:clear:source",
|
|
3031
|
+
"tracking:force:clear:source",
|
|
3032
|
+
"tracking:clear:force:source",
|
|
3033
|
+
"tracking:clear:source:force",
|
|
3034
|
+
"force:source:clear:tracking",
|
|
3035
|
+
"source:force:clear:tracking",
|
|
3036
|
+
"source:clear:force:tracking",
|
|
3037
|
+
"source:clear:tracking:force",
|
|
3038
|
+
"force:clear:source:tracking",
|
|
3039
|
+
"clear:force:source:tracking",
|
|
3040
|
+
"clear:source:force:tracking",
|
|
3041
|
+
"clear:source:tracking:force",
|
|
3042
|
+
"force:clear:tracking:source",
|
|
3043
|
+
"clear:force:tracking:source",
|
|
3044
|
+
"clear:tracking:force:source",
|
|
3045
|
+
"clear:tracking:source:force"
|
|
3046
3046
|
],
|
|
3047
3047
|
"permutations": [
|
|
3048
|
-
"project:
|
|
3049
|
-
"
|
|
3050
|
-
"
|
|
3051
|
-
"project:
|
|
3052
|
-
"
|
|
3053
|
-
"
|
|
3048
|
+
"project:delete:tracking",
|
|
3049
|
+
"delete:project:tracking",
|
|
3050
|
+
"delete:tracking:project",
|
|
3051
|
+
"project:tracking:delete",
|
|
3052
|
+
"tracking:project:delete",
|
|
3053
|
+
"tracking:delete:project"
|
|
3054
3054
|
]
|
|
3055
3055
|
}
|
|
3056
3056
|
},
|
|
3057
|
-
"version": "3.24.
|
|
3057
|
+
"version": "3.24.51"
|
|
3058
3058
|
}
|