@salesforce/plugin-deploy-retrieve 3.22.14 → 3.22.16
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 +431 -431
- package/package.json +8 -8
package/oclif.manifest.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"project:
|
|
3
|
+
"project:convert:mdapi": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"force:
|
|
5
|
+
"force:mdapi:convert"
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "To use Salesforce CLI to work with components that you retrieved via Metadata API, first convert your files from the metadata format to the source format using this command.\n\nTo convert files from the source format back to the metadata format, run \"sf project convert source\".\n\nTo convert 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.",
|
|
10
10
|
"examples": [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"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",
|
|
14
|
-
"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"
|
|
11
|
+
"Convert metadata formatted files in the specified directory into source formatted files; writes converted files to your default package directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata",
|
|
12
|
+
"Similar to previous example, but writes converted files to the specified output directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata --output-dir path/to/outputdir"
|
|
15
13
|
],
|
|
16
14
|
"flags": {
|
|
17
15
|
"json": {
|
|
@@ -50,149 +48,80 @@
|
|
|
50
48
|
"multiple": false,
|
|
51
49
|
"type": "option"
|
|
52
50
|
},
|
|
53
|
-
"
|
|
51
|
+
"root-dir": {
|
|
54
52
|
"aliases": [
|
|
55
|
-
"
|
|
56
|
-
"u"
|
|
53
|
+
"rootdir"
|
|
57
54
|
],
|
|
58
|
-
"char": "
|
|
55
|
+
"char": "r",
|
|
59
56
|
"deprecateAliases": true,
|
|
60
|
-
"name": "
|
|
61
|
-
"noCacheDefault": true,
|
|
57
|
+
"name": "root-dir",
|
|
62
58
|
"required": true,
|
|
63
|
-
"summary": "
|
|
64
|
-
"hasDynamicHelp":
|
|
59
|
+
"summary": "Root directory that contains the Metadata API–formatted metadata.",
|
|
60
|
+
"hasDynamicHelp": false,
|
|
65
61
|
"multiple": false,
|
|
66
62
|
"type": "option"
|
|
67
63
|
},
|
|
68
|
-
"
|
|
64
|
+
"output-dir": {
|
|
69
65
|
"aliases": [
|
|
70
|
-
"
|
|
66
|
+
"outputdir"
|
|
71
67
|
],
|
|
72
|
-
"char": "
|
|
68
|
+
"char": "d",
|
|
73
69
|
"deprecateAliases": true,
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
77
|
-
"allowNo": false,
|
|
78
|
-
"type": "boolean"
|
|
79
|
-
},
|
|
80
|
-
"wait": {
|
|
81
|
-
"char": "w",
|
|
82
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
83
|
-
"name": "wait",
|
|
84
|
-
"summary": "Number of minutes to wait for the command to finish.",
|
|
85
|
-
"hasDynamicHelp": true,
|
|
86
|
-
"multiple": false,
|
|
87
|
-
"type": "option"
|
|
88
|
-
},
|
|
89
|
-
"tests": {
|
|
90
|
-
"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\"",
|
|
91
|
-
"helpGroup": "Test",
|
|
92
|
-
"name": "tests",
|
|
93
|
-
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
70
|
+
"name": "output-dir",
|
|
71
|
+
"summary": "Directory to store your files in after they’re converted to source format; can be an absolute or relative path.",
|
|
94
72
|
"hasDynamicHelp": false,
|
|
95
|
-
"multiple":
|
|
73
|
+
"multiple": false,
|
|
96
74
|
"type": "option"
|
|
97
75
|
},
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
"deprecateAliases": true,
|
|
104
|
-
"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\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” in the Metadata API Developer Guide.",
|
|
105
|
-
"helpGroup": "Test",
|
|
106
|
-
"name": "test-level",
|
|
107
|
-
"summary": "Deployment Apex testing level.",
|
|
76
|
+
"manifest": {
|
|
77
|
+
"char": "x",
|
|
78
|
+
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
79
|
+
"name": "manifest",
|
|
80
|
+
"summary": "File path to manifest (package.xml) of metadata types to convert.",
|
|
108
81
|
"hasDynamicHelp": false,
|
|
109
82
|
"multiple": false,
|
|
110
|
-
"options": [
|
|
111
|
-
"NoTestRun",
|
|
112
|
-
"RunSpecifiedTests",
|
|
113
|
-
"RunLocalTests",
|
|
114
|
-
"RunAllTestsInOrg"
|
|
115
|
-
],
|
|
116
83
|
"type": "option"
|
|
117
84
|
},
|
|
118
|
-
"
|
|
85
|
+
"metadata-dir": {
|
|
119
86
|
"aliases": [
|
|
120
|
-
"
|
|
87
|
+
"metadatapath"
|
|
121
88
|
],
|
|
122
|
-
"char": "
|
|
89
|
+
"char": "p",
|
|
123
90
|
"deprecateAliases": true,
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
132
|
-
"name": "metadata",
|
|
133
|
-
"summary": "Metadata components to delete.",
|
|
91
|
+
"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 metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --manifest or --metadata. If the comma-separated list you’re supplying contains spaces, enclose the entire comma-separated list in one set of double quotes.",
|
|
92
|
+
"exclusive": [
|
|
93
|
+
"manifest",
|
|
94
|
+
"metadata"
|
|
95
|
+
],
|
|
96
|
+
"name": "metadata-dir",
|
|
97
|
+
"summary": "Root of directory or zip file of metadata formatted files to convert.",
|
|
134
98
|
"delimiter": ",",
|
|
135
99
|
"hasDynamicHelp": false,
|
|
136
100
|
"multiple": true,
|
|
137
101
|
"type": "option"
|
|
138
102
|
},
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
103
|
+
"metadata": {
|
|
104
|
+
"char": "m",
|
|
105
|
+
"exclusive": [
|
|
106
|
+
"manifest",
|
|
107
|
+
"metadatapath"
|
|
142
108
|
],
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"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.",
|
|
146
|
-
"name": "source-dir",
|
|
147
|
-
"summary": "Source file paths to delete.",
|
|
109
|
+
"name": "metadata",
|
|
110
|
+
"summary": "Metadata component names to convert.",
|
|
148
111
|
"delimiter": ",",
|
|
149
112
|
"hasDynamicHelp": false,
|
|
150
113
|
"multiple": true,
|
|
151
114
|
"type": "option"
|
|
152
|
-
},
|
|
153
|
-
"track-source": {
|
|
154
|
-
"aliases": [
|
|
155
|
-
"tracksource"
|
|
156
|
-
],
|
|
157
|
-
"char": "t",
|
|
158
|
-
"deprecateAliases": true,
|
|
159
|
-
"exclusive": [
|
|
160
|
-
"check-only"
|
|
161
|
-
],
|
|
162
|
-
"name": "track-source",
|
|
163
|
-
"summary": "If the delete succeeds, update the source tracking information.",
|
|
164
|
-
"allowNo": false,
|
|
165
|
-
"type": "boolean"
|
|
166
|
-
},
|
|
167
|
-
"force-overwrite": {
|
|
168
|
-
"aliases": [
|
|
169
|
-
"forceoverwrite"
|
|
170
|
-
],
|
|
171
|
-
"char": "f",
|
|
172
|
-
"dependsOn": [
|
|
173
|
-
"track-source"
|
|
174
|
-
],
|
|
175
|
-
"deprecateAliases": true,
|
|
176
|
-
"name": "force-overwrite",
|
|
177
|
-
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
178
|
-
"allowNo": false,
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
|
-
"verbose": {
|
|
182
|
-
"name": "verbose",
|
|
183
|
-
"summary": "Verbose output of the delete result.",
|
|
184
|
-
"allowNo": false,
|
|
185
|
-
"type": "boolean"
|
|
186
115
|
}
|
|
187
116
|
},
|
|
188
|
-
"hasDynamicHelp":
|
|
117
|
+
"hasDynamicHelp": false,
|
|
189
118
|
"hiddenAliases": [],
|
|
190
|
-
"id": "project:
|
|
119
|
+
"id": "project:convert:mdapi",
|
|
191
120
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
192
121
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
193
122
|
"pluginType": "core",
|
|
194
123
|
"strict": true,
|
|
195
|
-
"summary": "
|
|
124
|
+
"summary": "Convert metadata retrieved via Metadata API into the source format used in Salesforce DX projects.",
|
|
196
125
|
"enableJsonFlag": true,
|
|
197
126
|
"requiresProject": true,
|
|
198
127
|
"isESM": true,
|
|
@@ -200,35 +129,34 @@
|
|
|
200
129
|
"lib",
|
|
201
130
|
"commands",
|
|
202
131
|
"project",
|
|
203
|
-
"
|
|
204
|
-
"
|
|
132
|
+
"convert",
|
|
133
|
+
"mdapi.js"
|
|
205
134
|
],
|
|
206
135
|
"aliasPermutations": [
|
|
207
|
-
"force:
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"force:
|
|
211
|
-
"
|
|
212
|
-
"
|
|
136
|
+
"force:mdapi:convert",
|
|
137
|
+
"mdapi:force:convert",
|
|
138
|
+
"mdapi:convert:force",
|
|
139
|
+
"force:convert:mdapi",
|
|
140
|
+
"convert:force:mdapi",
|
|
141
|
+
"convert:mdapi:force"
|
|
213
142
|
],
|
|
214
143
|
"permutations": [
|
|
215
|
-
"project:
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"project:
|
|
219
|
-
"
|
|
220
|
-
"
|
|
144
|
+
"project:convert:mdapi",
|
|
145
|
+
"convert:project:mdapi",
|
|
146
|
+
"convert:mdapi:project",
|
|
147
|
+
"project:mdapi:convert",
|
|
148
|
+
"mdapi:project:convert",
|
|
149
|
+
"mdapi:convert:project"
|
|
221
150
|
]
|
|
222
151
|
},
|
|
223
|
-
"project:
|
|
224
|
-
"aliases": [
|
|
225
|
-
"force:source:tracking:clear"
|
|
226
|
-
],
|
|
152
|
+
"project:convert:source-behavior": {
|
|
153
|
+
"aliases": [],
|
|
227
154
|
"args": {},
|
|
228
|
-
"
|
|
229
|
-
"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.",
|
|
155
|
+
"description": "Specifically, this command updates the \"sourceBehaviorOption\" option in the \"sfdx-project.json\" file and then converts the associated local source files in your project as needed.\n\nFor example, run this command with the \"--behavior decomposePermissionSetBeta\" flag to start decomposing permission sets when you deploy or retrieve them. Decomposing means breaking up the monolithic metadata API format XML file that corresponds to a metadata component into smaller XML files and directories based on its subtypes. Permission sets are not decomposed by default; you must opt-in to start decomposing them by using this command. When the command finishes, your \"sfdx-project.json\" file is updated to always decompose permission sets, and the existing permission set files in your local package directories are converted into the new decomposed format. You run this command only once for a given behavior change.\n\nFor more information about the possible values for the --behavior flag, see the \"sourceBehaviorOptions\" section in the https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm topic.",
|
|
230
156
|
"examples": [
|
|
231
|
-
"
|
|
157
|
+
"Update your Salesforce DX project to decompose custom permission sets:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta",
|
|
158
|
+
"Display what the command would do, but don't change any existing files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run",
|
|
159
|
+
"Keep the temporary directory that contains the interim metadata API formatted files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir"
|
|
232
160
|
],
|
|
233
161
|
"flags": {
|
|
234
162
|
"json": {
|
|
@@ -246,62 +174,55 @@
|
|
|
246
174
|
"multiple": false,
|
|
247
175
|
"type": "option"
|
|
248
176
|
},
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
"
|
|
254
|
-
"description": "Override the api version used for api requests made by this command",
|
|
255
|
-
"name": "api-version",
|
|
177
|
+
"behavior": {
|
|
178
|
+
"char": "b",
|
|
179
|
+
"name": "behavior",
|
|
180
|
+
"required": true,
|
|
181
|
+
"summary": "Behavior to enable; the values correspond to the possible values of the \"sourceBehaviorOption\" option in the \"sfdx-project.json\" file.",
|
|
256
182
|
"hasDynamicHelp": false,
|
|
257
183
|
"multiple": false,
|
|
184
|
+
"options": [
|
|
185
|
+
"decomposeCustomLabelsBeta2",
|
|
186
|
+
"decomposeCustomLabelsBeta",
|
|
187
|
+
"decomposePermissionSetBeta",
|
|
188
|
+
"decomposePermissionSetBeta2",
|
|
189
|
+
"decomposeSharingRulesBeta",
|
|
190
|
+
"decomposeWorkflowBeta",
|
|
191
|
+
"decomposeExternalServiceRegistrationBeta"
|
|
192
|
+
],
|
|
258
193
|
"type": "option"
|
|
259
194
|
},
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
"
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
"
|
|
268
|
-
"
|
|
195
|
+
"dry-run": {
|
|
196
|
+
"name": "dry-run",
|
|
197
|
+
"summary": "Display what the command would do, but don't make any actual changes.",
|
|
198
|
+
"allowNo": false,
|
|
199
|
+
"type": "boolean"
|
|
200
|
+
},
|
|
201
|
+
"preserve-temp-dir": {
|
|
202
|
+
"name": "preserve-temp-dir",
|
|
203
|
+
"summary": "Don't delete the metadata API format temporary directory that this command creates. Useful for debugging.",
|
|
204
|
+
"allowNo": false,
|
|
205
|
+
"type": "boolean"
|
|
269
206
|
},
|
|
270
207
|
"target-org": {
|
|
271
|
-
"aliases": [
|
|
272
|
-
"targetusername",
|
|
273
|
-
"u"
|
|
274
|
-
],
|
|
275
208
|
"char": "o",
|
|
276
|
-
"deprecateAliases": true,
|
|
277
209
|
"name": "target-org",
|
|
278
210
|
"noCacheDefault": true,
|
|
279
|
-
"
|
|
280
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
211
|
+
"summary": "Username or alias of the target org.",
|
|
281
212
|
"hasDynamicHelp": true,
|
|
282
213
|
"multiple": false,
|
|
283
214
|
"type": "option"
|
|
284
|
-
},
|
|
285
|
-
"no-prompt": {
|
|
286
|
-
"aliases": [
|
|
287
|
-
"noprompt"
|
|
288
|
-
],
|
|
289
|
-
"char": "p",
|
|
290
|
-
"deprecateAliases": true,
|
|
291
|
-
"name": "no-prompt",
|
|
292
|
-
"summary": "Don't prompt for source tracking override confirmation.",
|
|
293
|
-
"allowNo": false,
|
|
294
|
-
"type": "boolean"
|
|
295
215
|
}
|
|
296
216
|
},
|
|
297
217
|
"hasDynamicHelp": true,
|
|
298
218
|
"hiddenAliases": [],
|
|
299
|
-
"id": "project:
|
|
219
|
+
"id": "project:convert:source-behavior",
|
|
300
220
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
301
221
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
302
222
|
"pluginType": "core",
|
|
223
|
+
"state": "beta",
|
|
303
224
|
"strict": true,
|
|
304
|
-
"summary": "
|
|
225
|
+
"summary": "Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.",
|
|
305
226
|
"enableJsonFlag": true,
|
|
306
227
|
"requiresProject": true,
|
|
307
228
|
"isESM": true,
|
|
@@ -309,42 +230,179 @@
|
|
|
309
230
|
"lib",
|
|
310
231
|
"commands",
|
|
311
232
|
"project",
|
|
312
|
-
"
|
|
313
|
-
"
|
|
233
|
+
"convert",
|
|
234
|
+
"source-behavior.js"
|
|
235
|
+
],
|
|
236
|
+
"aliasPermutations": [],
|
|
237
|
+
"permutations": [
|
|
238
|
+
"project:convert:source-behavior",
|
|
239
|
+
"convert:project:source-behavior",
|
|
240
|
+
"convert:source-behavior:project",
|
|
241
|
+
"project:source-behavior:convert",
|
|
242
|
+
"source-behavior:project:convert",
|
|
243
|
+
"source-behavior:convert:project"
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"project:convert:source": {
|
|
247
|
+
"aliases": [
|
|
248
|
+
"force:source:convert"
|
|
249
|
+
],
|
|
250
|
+
"args": {},
|
|
251
|
+
"deprecateAliases": true,
|
|
252
|
+
"description": "To convert source-formatted files into the metadata format, so that you can deploy them using Metadata API, run this command. Then deploy the metadata using \"<%= config.bin %> project deploy\".\n\nTo convert Metadata API–formatted files into the source format, run \"<%= config.bin %> project convert mdapi\".\n\nTo specify a package name that includes spaces, enclose the name in single quotes.\n\nTo convert multiple 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.",
|
|
253
|
+
"examples": [
|
|
254
|
+
"Convert source-formatted files in the specified directory into metadata-formatted files; writes converted files into a new directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/source",
|
|
255
|
+
"Similar to previous example, but writes converted files to the specified output directory and associates the files with the specified package:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/source --output-dir path/to/outputdir --package-name 'My Package'"
|
|
256
|
+
],
|
|
257
|
+
"flags": {
|
|
258
|
+
"json": {
|
|
259
|
+
"description": "Format output as json.",
|
|
260
|
+
"helpGroup": "GLOBAL",
|
|
261
|
+
"name": "json",
|
|
262
|
+
"allowNo": false,
|
|
263
|
+
"type": "boolean"
|
|
264
|
+
},
|
|
265
|
+
"flags-dir": {
|
|
266
|
+
"helpGroup": "GLOBAL",
|
|
267
|
+
"name": "flags-dir",
|
|
268
|
+
"summary": "Import flag values from a directory.",
|
|
269
|
+
"hasDynamicHelp": false,
|
|
270
|
+
"multiple": false,
|
|
271
|
+
"type": "option"
|
|
272
|
+
},
|
|
273
|
+
"api-version": {
|
|
274
|
+
"aliases": [
|
|
275
|
+
"apiversion"
|
|
276
|
+
],
|
|
277
|
+
"deprecateAliases": true,
|
|
278
|
+
"description": "Override the api version used for api requests made by this command",
|
|
279
|
+
"name": "api-version",
|
|
280
|
+
"summary": "API Version to use in the generated project's manifest. By default, will use the version from sfdx-project.json",
|
|
281
|
+
"hasDynamicHelp": false,
|
|
282
|
+
"multiple": false,
|
|
283
|
+
"type": "option"
|
|
284
|
+
},
|
|
285
|
+
"loglevel": {
|
|
286
|
+
"deprecated": {
|
|
287
|
+
"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."
|
|
288
|
+
},
|
|
289
|
+
"hidden": true,
|
|
290
|
+
"name": "loglevel",
|
|
291
|
+
"hasDynamicHelp": false,
|
|
292
|
+
"multiple": false,
|
|
293
|
+
"type": "option"
|
|
294
|
+
},
|
|
295
|
+
"root-dir": {
|
|
296
|
+
"aliases": [
|
|
297
|
+
"rootdir"
|
|
298
|
+
],
|
|
299
|
+
"char": "r",
|
|
300
|
+
"deprecateAliases": true,
|
|
301
|
+
"name": "root-dir",
|
|
302
|
+
"summary": "Source directory other than the default package to convert.",
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"multiple": false,
|
|
305
|
+
"type": "option"
|
|
306
|
+
},
|
|
307
|
+
"output-dir": {
|
|
308
|
+
"aliases": [
|
|
309
|
+
"outputdir"
|
|
310
|
+
],
|
|
311
|
+
"char": "d",
|
|
312
|
+
"deprecateAliases": true,
|
|
313
|
+
"name": "output-dir",
|
|
314
|
+
"summary": "Output directory to store the Metadata API–formatted files in.",
|
|
315
|
+
"default": "metadataPackage_>timestamp<",
|
|
316
|
+
"hasDynamicHelp": true,
|
|
317
|
+
"multiple": false,
|
|
318
|
+
"type": "option"
|
|
319
|
+
},
|
|
320
|
+
"package-name": {
|
|
321
|
+
"aliases": [
|
|
322
|
+
"packagename"
|
|
323
|
+
],
|
|
324
|
+
"char": "n",
|
|
325
|
+
"deprecateAliases": true,
|
|
326
|
+
"name": "package-name",
|
|
327
|
+
"summary": "Name of the package to associate with the metadata-formatted files.",
|
|
328
|
+
"hasDynamicHelp": false,
|
|
329
|
+
"multiple": false,
|
|
330
|
+
"type": "option"
|
|
331
|
+
},
|
|
332
|
+
"manifest": {
|
|
333
|
+
"char": "x",
|
|
334
|
+
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
335
|
+
"name": "manifest",
|
|
336
|
+
"summary": "Path to the manifest (package.xml) file that specifies the metadata types to convert.",
|
|
337
|
+
"hasDynamicHelp": false,
|
|
338
|
+
"multiple": false,
|
|
339
|
+
"type": "option"
|
|
340
|
+
},
|
|
341
|
+
"source-dir": {
|
|
342
|
+
"aliases": [
|
|
343
|
+
"sourcepath"
|
|
344
|
+
],
|
|
345
|
+
"char": "p",
|
|
346
|
+
"deprecateAliases": true,
|
|
347
|
+
"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 metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --manifest or --metadata.",
|
|
348
|
+
"exclusive": [
|
|
349
|
+
"manifest",
|
|
350
|
+
"metadata"
|
|
351
|
+
],
|
|
352
|
+
"name": "source-dir",
|
|
353
|
+
"summary": "Paths to the local source files to convert.",
|
|
354
|
+
"delimiter": ",",
|
|
355
|
+
"hasDynamicHelp": false,
|
|
356
|
+
"multiple": true,
|
|
357
|
+
"type": "option"
|
|
358
|
+
},
|
|
359
|
+
"metadata": {
|
|
360
|
+
"char": "m",
|
|
361
|
+
"exclusive": [
|
|
362
|
+
"manifest",
|
|
363
|
+
"sourcepath"
|
|
364
|
+
],
|
|
365
|
+
"name": "metadata",
|
|
366
|
+
"summary": "Metadata component names to convert.",
|
|
367
|
+
"delimiter": ",",
|
|
368
|
+
"hasDynamicHelp": false,
|
|
369
|
+
"multiple": true,
|
|
370
|
+
"type": "option"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"hasDynamicHelp": true,
|
|
374
|
+
"hiddenAliases": [],
|
|
375
|
+
"id": "project:convert:source",
|
|
376
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
377
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
378
|
+
"pluginType": "core",
|
|
379
|
+
"strict": true,
|
|
380
|
+
"summary": "Convert source-formatted files into metadata that you can deploy using Metadata API.",
|
|
381
|
+
"enableJsonFlag": true,
|
|
382
|
+
"requiresProject": true,
|
|
383
|
+
"isESM": true,
|
|
384
|
+
"relativePath": [
|
|
385
|
+
"lib",
|
|
386
|
+
"commands",
|
|
387
|
+
"project",
|
|
388
|
+
"convert",
|
|
389
|
+
"source.js"
|
|
314
390
|
],
|
|
315
391
|
"aliasPermutations": [
|
|
316
|
-
"force:source:
|
|
317
|
-
"source:force:
|
|
318
|
-
"source:
|
|
319
|
-
"
|
|
320
|
-
"force:
|
|
321
|
-
"
|
|
322
|
-
"tracking:source:force:clear",
|
|
323
|
-
"tracking:source:clear:force",
|
|
324
|
-
"force:tracking:clear:source",
|
|
325
|
-
"tracking:force:clear:source",
|
|
326
|
-
"tracking:clear:force:source",
|
|
327
|
-
"tracking:clear:source:force",
|
|
328
|
-
"force:source:clear:tracking",
|
|
329
|
-
"source:force:clear:tracking",
|
|
330
|
-
"source:clear:force:tracking",
|
|
331
|
-
"source:clear:tracking:force",
|
|
332
|
-
"force:clear:source:tracking",
|
|
333
|
-
"clear:force:source:tracking",
|
|
334
|
-
"clear:source:force:tracking",
|
|
335
|
-
"clear:source:tracking:force",
|
|
336
|
-
"force:clear:tracking:source",
|
|
337
|
-
"clear:force:tracking:source",
|
|
338
|
-
"clear:tracking:force:source",
|
|
339
|
-
"clear:tracking:source:force"
|
|
392
|
+
"force:source:convert",
|
|
393
|
+
"source:force:convert",
|
|
394
|
+
"source:convert:force",
|
|
395
|
+
"force:convert:source",
|
|
396
|
+
"convert:force:source",
|
|
397
|
+
"convert:source:force"
|
|
340
398
|
],
|
|
341
399
|
"permutations": [
|
|
342
|
-
"project:
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"project:
|
|
346
|
-
"
|
|
347
|
-
"
|
|
400
|
+
"project:convert:source",
|
|
401
|
+
"convert:project:source",
|
|
402
|
+
"convert:source:project",
|
|
403
|
+
"project:source:convert",
|
|
404
|
+
"source:project:convert",
|
|
405
|
+
"source:convert:project"
|
|
348
406
|
]
|
|
349
407
|
},
|
|
350
408
|
"project:deploy:cancel": {
|
|
@@ -1842,16 +1900,18 @@
|
|
|
1842
1900
|
"validate:deploy:project"
|
|
1843
1901
|
]
|
|
1844
1902
|
},
|
|
1845
|
-
"project:
|
|
1903
|
+
"project:delete:source": {
|
|
1846
1904
|
"aliases": [
|
|
1847
|
-
"force:
|
|
1905
|
+
"force:source:delete"
|
|
1848
1906
|
],
|
|
1849
1907
|
"args": {},
|
|
1850
1908
|
"deprecateAliases": true,
|
|
1851
|
-
"description": "
|
|
1909
|
+
"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.",
|
|
1852
1910
|
"examples": [
|
|
1853
|
-
"
|
|
1854
|
-
"
|
|
1911
|
+
"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",
|
|
1912
|
+
"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",
|
|
1913
|
+
"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",
|
|
1914
|
+
"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"
|
|
1855
1915
|
],
|
|
1856
1916
|
"flags": {
|
|
1857
1917
|
"json": {
|
|
@@ -1890,181 +1950,149 @@
|
|
|
1890
1950
|
"multiple": false,
|
|
1891
1951
|
"type": "option"
|
|
1892
1952
|
},
|
|
1893
|
-
"
|
|
1953
|
+
"target-org": {
|
|
1894
1954
|
"aliases": [
|
|
1895
|
-
"
|
|
1955
|
+
"targetusername",
|
|
1956
|
+
"u"
|
|
1896
1957
|
],
|
|
1897
|
-
"char": "
|
|
1958
|
+
"char": "o",
|
|
1898
1959
|
"deprecateAliases": true,
|
|
1899
|
-
"name": "
|
|
1960
|
+
"name": "target-org",
|
|
1961
|
+
"noCacheDefault": true,
|
|
1900
1962
|
"required": true,
|
|
1901
|
-
"summary": "
|
|
1902
|
-
"hasDynamicHelp":
|
|
1963
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1964
|
+
"hasDynamicHelp": true,
|
|
1903
1965
|
"multiple": false,
|
|
1904
1966
|
"type": "option"
|
|
1905
1967
|
},
|
|
1906
|
-
"
|
|
1968
|
+
"check-only": {
|
|
1907
1969
|
"aliases": [
|
|
1908
|
-
"
|
|
1970
|
+
"checkonly"
|
|
1909
1971
|
],
|
|
1910
|
-
"char": "
|
|
1972
|
+
"char": "c",
|
|
1911
1973
|
"deprecateAliases": true,
|
|
1912
|
-
"
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1974
|
+
"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.",
|
|
1975
|
+
"name": "check-only",
|
|
1976
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
1977
|
+
"allowNo": false,
|
|
1978
|
+
"type": "boolean"
|
|
1979
|
+
},
|
|
1980
|
+
"wait": {
|
|
1981
|
+
"char": "w",
|
|
1982
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
1983
|
+
"name": "wait",
|
|
1984
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
1985
|
+
"hasDynamicHelp": true,
|
|
1915
1986
|
"multiple": false,
|
|
1916
1987
|
"type": "option"
|
|
1917
1988
|
},
|
|
1918
|
-
"
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
1921
|
-
"name": "
|
|
1922
|
-
"summary": "
|
|
1989
|
+
"tests": {
|
|
1990
|
+
"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\"",
|
|
1991
|
+
"helpGroup": "Test",
|
|
1992
|
+
"name": "tests",
|
|
1993
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
1923
1994
|
"hasDynamicHelp": false,
|
|
1924
|
-
"multiple":
|
|
1995
|
+
"multiple": true,
|
|
1925
1996
|
"type": "option"
|
|
1926
1997
|
},
|
|
1927
|
-
"
|
|
1998
|
+
"test-level": {
|
|
1928
1999
|
"aliases": [
|
|
1929
|
-
"
|
|
2000
|
+
"testlevel"
|
|
1930
2001
|
],
|
|
1931
|
-
"char": "
|
|
2002
|
+
"char": "l",
|
|
1932
2003
|
"deprecateAliases": true,
|
|
1933
|
-
"description": "
|
|
1934
|
-
"
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
],
|
|
1938
|
-
"name": "metadata-dir",
|
|
1939
|
-
"summary": "Root of directory or zip file of metadata formatted files to convert.",
|
|
1940
|
-
"delimiter": ",",
|
|
2004
|
+
"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\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” in the Metadata API Developer Guide.",
|
|
2005
|
+
"helpGroup": "Test",
|
|
2006
|
+
"name": "test-level",
|
|
2007
|
+
"summary": "Deployment Apex testing level.",
|
|
1941
2008
|
"hasDynamicHelp": false,
|
|
1942
|
-
"multiple":
|
|
2009
|
+
"multiple": false,
|
|
2010
|
+
"options": [
|
|
2011
|
+
"NoTestRun",
|
|
2012
|
+
"RunSpecifiedTests",
|
|
2013
|
+
"RunLocalTests",
|
|
2014
|
+
"RunAllTestsInOrg"
|
|
2015
|
+
],
|
|
1943
2016
|
"type": "option"
|
|
1944
2017
|
},
|
|
2018
|
+
"no-prompt": {
|
|
2019
|
+
"aliases": [
|
|
2020
|
+
"noprompt"
|
|
2021
|
+
],
|
|
2022
|
+
"char": "r",
|
|
2023
|
+
"deprecateAliases": true,
|
|
2024
|
+
"name": "no-prompt",
|
|
2025
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
2026
|
+
"allowNo": false,
|
|
2027
|
+
"type": "boolean"
|
|
2028
|
+
},
|
|
1945
2029
|
"metadata": {
|
|
1946
2030
|
"char": "m",
|
|
1947
|
-
"
|
|
1948
|
-
"manifest",
|
|
1949
|
-
"metadatapath"
|
|
1950
|
-
],
|
|
2031
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
1951
2032
|
"name": "metadata",
|
|
1952
|
-
"summary": "Metadata
|
|
2033
|
+
"summary": "Metadata components to delete.",
|
|
1953
2034
|
"delimiter": ",",
|
|
1954
2035
|
"hasDynamicHelp": false,
|
|
1955
2036
|
"multiple": true,
|
|
1956
2037
|
"type": "option"
|
|
1957
|
-
}
|
|
1958
|
-
},
|
|
1959
|
-
"hasDynamicHelp": false,
|
|
1960
|
-
"hiddenAliases": [],
|
|
1961
|
-
"id": "project:convert:mdapi",
|
|
1962
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1963
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1964
|
-
"pluginType": "core",
|
|
1965
|
-
"strict": true,
|
|
1966
|
-
"summary": "Convert metadata retrieved via Metadata API into the source format used in Salesforce DX projects.",
|
|
1967
|
-
"enableJsonFlag": true,
|
|
1968
|
-
"requiresProject": true,
|
|
1969
|
-
"isESM": true,
|
|
1970
|
-
"relativePath": [
|
|
1971
|
-
"lib",
|
|
1972
|
-
"commands",
|
|
1973
|
-
"project",
|
|
1974
|
-
"convert",
|
|
1975
|
-
"mdapi.js"
|
|
1976
|
-
],
|
|
1977
|
-
"aliasPermutations": [
|
|
1978
|
-
"force:mdapi:convert",
|
|
1979
|
-
"mdapi:force:convert",
|
|
1980
|
-
"mdapi:convert:force",
|
|
1981
|
-
"force:convert:mdapi",
|
|
1982
|
-
"convert:force:mdapi",
|
|
1983
|
-
"convert:mdapi:force"
|
|
1984
|
-
],
|
|
1985
|
-
"permutations": [
|
|
1986
|
-
"project:convert:mdapi",
|
|
1987
|
-
"convert:project:mdapi",
|
|
1988
|
-
"convert:mdapi:project",
|
|
1989
|
-
"project:mdapi:convert",
|
|
1990
|
-
"mdapi:project:convert",
|
|
1991
|
-
"mdapi:convert:project"
|
|
1992
|
-
]
|
|
1993
|
-
},
|
|
1994
|
-
"project:convert:source-behavior": {
|
|
1995
|
-
"aliases": [],
|
|
1996
|
-
"args": {},
|
|
1997
|
-
"description": "Specifically, this command updates the \"sourceBehaviorOption\" option in the \"sfdx-project.json\" file and then converts the associated local source files in your project as needed.\n\nFor example, run this command with the \"--behavior decomposePermissionSetBeta\" flag to start decomposing permission sets when you deploy or retrieve them. Decomposing means breaking up the monolithic metadata API format XML file that corresponds to a metadata component into smaller XML files and directories based on its subtypes. Permission sets are not decomposed by default; you must opt-in to start decomposing them by using this command. When the command finishes, your \"sfdx-project.json\" file is updated to always decompose permission sets, and the existing permission set files in your local package directories are converted into the new decomposed format. You run this command only once for a given behavior change.\n\nFor more information about the possible values for the --behavior flag, see the \"sourceBehaviorOptions\" section in the https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm topic.",
|
|
1998
|
-
"examples": [
|
|
1999
|
-
"Update your Salesforce DX project to decompose custom permission sets:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta",
|
|
2000
|
-
"Display what the command would do, but don't change any existing files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run",
|
|
2001
|
-
"Keep the temporary directory that contains the interim metadata API formatted files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir"
|
|
2002
|
-
],
|
|
2003
|
-
"flags": {
|
|
2004
|
-
"json": {
|
|
2005
|
-
"description": "Format output as json.",
|
|
2006
|
-
"helpGroup": "GLOBAL",
|
|
2007
|
-
"name": "json",
|
|
2008
|
-
"allowNo": false,
|
|
2009
|
-
"type": "boolean"
|
|
2010
2038
|
},
|
|
2011
|
-
"
|
|
2012
|
-
"
|
|
2013
|
-
|
|
2014
|
-
|
|
2039
|
+
"source-dir": {
|
|
2040
|
+
"aliases": [
|
|
2041
|
+
"sourcepath"
|
|
2042
|
+
],
|
|
2043
|
+
"char": "p",
|
|
2044
|
+
"deprecateAliases": true,
|
|
2045
|
+
"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.",
|
|
2046
|
+
"name": "source-dir",
|
|
2047
|
+
"summary": "Source file paths to delete.",
|
|
2048
|
+
"delimiter": ",",
|
|
2015
2049
|
"hasDynamicHelp": false,
|
|
2016
|
-
"multiple":
|
|
2050
|
+
"multiple": true,
|
|
2017
2051
|
"type": "option"
|
|
2018
2052
|
},
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2021
|
-
|
|
2022
|
-
"required": true,
|
|
2023
|
-
"summary": "Behavior to enable; the values correspond to the possible values of the \"sourceBehaviorOption\" option in the \"sfdx-project.json\" file.",
|
|
2024
|
-
"hasDynamicHelp": false,
|
|
2025
|
-
"multiple": false,
|
|
2026
|
-
"options": [
|
|
2027
|
-
"decomposeCustomLabelsBeta2",
|
|
2028
|
-
"decomposeCustomLabelsBeta",
|
|
2029
|
-
"decomposePermissionSetBeta",
|
|
2030
|
-
"decomposePermissionSetBeta2",
|
|
2031
|
-
"decomposeSharingRulesBeta",
|
|
2032
|
-
"decomposeWorkflowBeta",
|
|
2033
|
-
"decomposeExternalServiceRegistrationBeta"
|
|
2053
|
+
"track-source": {
|
|
2054
|
+
"aliases": [
|
|
2055
|
+
"tracksource"
|
|
2034
2056
|
],
|
|
2035
|
-
"
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2057
|
+
"char": "t",
|
|
2058
|
+
"deprecateAliases": true,
|
|
2059
|
+
"exclusive": [
|
|
2060
|
+
"check-only"
|
|
2061
|
+
],
|
|
2062
|
+
"name": "track-source",
|
|
2063
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
2040
2064
|
"allowNo": false,
|
|
2041
2065
|
"type": "boolean"
|
|
2042
2066
|
},
|
|
2043
|
-
"
|
|
2044
|
-
"
|
|
2045
|
-
|
|
2067
|
+
"force-overwrite": {
|
|
2068
|
+
"aliases": [
|
|
2069
|
+
"forceoverwrite"
|
|
2070
|
+
],
|
|
2071
|
+
"char": "f",
|
|
2072
|
+
"dependsOn": [
|
|
2073
|
+
"track-source"
|
|
2074
|
+
],
|
|
2075
|
+
"deprecateAliases": true,
|
|
2076
|
+
"name": "force-overwrite",
|
|
2077
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
2046
2078
|
"allowNo": false,
|
|
2047
2079
|
"type": "boolean"
|
|
2048
2080
|
},
|
|
2049
|
-
"
|
|
2050
|
-
"
|
|
2051
|
-
"
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2054
|
-
"hasDynamicHelp": true,
|
|
2055
|
-
"multiple": false,
|
|
2056
|
-
"type": "option"
|
|
2081
|
+
"verbose": {
|
|
2082
|
+
"name": "verbose",
|
|
2083
|
+
"summary": "Verbose output of the delete result.",
|
|
2084
|
+
"allowNo": false,
|
|
2085
|
+
"type": "boolean"
|
|
2057
2086
|
}
|
|
2058
2087
|
},
|
|
2059
2088
|
"hasDynamicHelp": true,
|
|
2060
2089
|
"hiddenAliases": [],
|
|
2061
|
-
"id": "project:
|
|
2090
|
+
"id": "project:delete:source",
|
|
2062
2091
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2063
2092
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2064
2093
|
"pluginType": "core",
|
|
2065
|
-
"state": "beta",
|
|
2066
2094
|
"strict": true,
|
|
2067
|
-
"summary": "
|
|
2095
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
2068
2096
|
"enableJsonFlag": true,
|
|
2069
2097
|
"requiresProject": true,
|
|
2070
2098
|
"isESM": true,
|
|
@@ -2072,29 +2100,35 @@
|
|
|
2072
2100
|
"lib",
|
|
2073
2101
|
"commands",
|
|
2074
2102
|
"project",
|
|
2075
|
-
"
|
|
2076
|
-
"source
|
|
2103
|
+
"delete",
|
|
2104
|
+
"source.js"
|
|
2105
|
+
],
|
|
2106
|
+
"aliasPermutations": [
|
|
2107
|
+
"force:source:delete",
|
|
2108
|
+
"source:force:delete",
|
|
2109
|
+
"source:delete:force",
|
|
2110
|
+
"force:delete:source",
|
|
2111
|
+
"delete:force:source",
|
|
2112
|
+
"delete:source:force"
|
|
2077
2113
|
],
|
|
2078
|
-
"aliasPermutations": [],
|
|
2079
2114
|
"permutations": [
|
|
2080
|
-
"project:
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2083
|
-
"project:source
|
|
2084
|
-
"source
|
|
2085
|
-
"source
|
|
2115
|
+
"project:delete:source",
|
|
2116
|
+
"delete:project:source",
|
|
2117
|
+
"delete:source:project",
|
|
2118
|
+
"project:source:delete",
|
|
2119
|
+
"source:project:delete",
|
|
2120
|
+
"source:delete:project"
|
|
2086
2121
|
]
|
|
2087
2122
|
},
|
|
2088
|
-
"project:
|
|
2123
|
+
"project:delete:tracking": {
|
|
2089
2124
|
"aliases": [
|
|
2090
|
-
"force:source:
|
|
2125
|
+
"force:source:tracking:clear"
|
|
2091
2126
|
],
|
|
2092
2127
|
"args": {},
|
|
2093
2128
|
"deprecateAliases": true,
|
|
2094
|
-
"description": "
|
|
2129
|
+
"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.",
|
|
2095
2130
|
"examples": [
|
|
2096
|
-
"
|
|
2097
|
-
"Similar to previous example, but writes converted files to the specified output directory and associates the files with the specified package:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/source --output-dir path/to/outputdir --package-name 'My Package'"
|
|
2131
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
2098
2132
|
],
|
|
2099
2133
|
"flags": {
|
|
2100
2134
|
"json": {
|
|
@@ -2119,7 +2153,6 @@
|
|
|
2119
2153
|
"deprecateAliases": true,
|
|
2120
2154
|
"description": "Override the api version used for api requests made by this command",
|
|
2121
2155
|
"name": "api-version",
|
|
2122
|
-
"summary": "API Version to use in the generated project's manifest. By default, will use the version from sfdx-project.json",
|
|
2123
2156
|
"hasDynamicHelp": false,
|
|
2124
2157
|
"multiple": false,
|
|
2125
2158
|
"type": "option"
|
|
@@ -2134,92 +2167,41 @@
|
|
|
2134
2167
|
"multiple": false,
|
|
2135
2168
|
"type": "option"
|
|
2136
2169
|
},
|
|
2137
|
-
"
|
|
2138
|
-
"aliases": [
|
|
2139
|
-
"rootdir"
|
|
2140
|
-
],
|
|
2141
|
-
"char": "r",
|
|
2142
|
-
"deprecateAliases": true,
|
|
2143
|
-
"name": "root-dir",
|
|
2144
|
-
"summary": "Source directory other than the default package to convert.",
|
|
2145
|
-
"hasDynamicHelp": false,
|
|
2146
|
-
"multiple": false,
|
|
2147
|
-
"type": "option"
|
|
2148
|
-
},
|
|
2149
|
-
"output-dir": {
|
|
2170
|
+
"target-org": {
|
|
2150
2171
|
"aliases": [
|
|
2151
|
-
"
|
|
2172
|
+
"targetusername",
|
|
2173
|
+
"u"
|
|
2152
2174
|
],
|
|
2153
|
-
"char": "
|
|
2175
|
+
"char": "o",
|
|
2154
2176
|
"deprecateAliases": true,
|
|
2155
|
-
"name": "
|
|
2156
|
-
"
|
|
2157
|
-
"
|
|
2177
|
+
"name": "target-org",
|
|
2178
|
+
"noCacheDefault": true,
|
|
2179
|
+
"required": true,
|
|
2180
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2158
2181
|
"hasDynamicHelp": true,
|
|
2159
2182
|
"multiple": false,
|
|
2160
2183
|
"type": "option"
|
|
2161
2184
|
},
|
|
2162
|
-
"
|
|
2163
|
-
"aliases": [
|
|
2164
|
-
"packagename"
|
|
2165
|
-
],
|
|
2166
|
-
"char": "n",
|
|
2167
|
-
"deprecateAliases": true,
|
|
2168
|
-
"name": "package-name",
|
|
2169
|
-
"summary": "Name of the package to associate with the metadata-formatted files.",
|
|
2170
|
-
"hasDynamicHelp": false,
|
|
2171
|
-
"multiple": false,
|
|
2172
|
-
"type": "option"
|
|
2173
|
-
},
|
|
2174
|
-
"manifest": {
|
|
2175
|
-
"char": "x",
|
|
2176
|
-
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
2177
|
-
"name": "manifest",
|
|
2178
|
-
"summary": "Path to the manifest (package.xml) file that specifies the metadata types to convert.",
|
|
2179
|
-
"hasDynamicHelp": false,
|
|
2180
|
-
"multiple": false,
|
|
2181
|
-
"type": "option"
|
|
2182
|
-
},
|
|
2183
|
-
"source-dir": {
|
|
2185
|
+
"no-prompt": {
|
|
2184
2186
|
"aliases": [
|
|
2185
|
-
"
|
|
2187
|
+
"noprompt"
|
|
2186
2188
|
],
|
|
2187
2189
|
"char": "p",
|
|
2188
2190
|
"deprecateAliases": true,
|
|
2189
|
-
"
|
|
2190
|
-
"
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
],
|
|
2194
|
-
"name": "source-dir",
|
|
2195
|
-
"summary": "Paths to the local source files to convert.",
|
|
2196
|
-
"delimiter": ",",
|
|
2197
|
-
"hasDynamicHelp": false,
|
|
2198
|
-
"multiple": true,
|
|
2199
|
-
"type": "option"
|
|
2200
|
-
},
|
|
2201
|
-
"metadata": {
|
|
2202
|
-
"char": "m",
|
|
2203
|
-
"exclusive": [
|
|
2204
|
-
"manifest",
|
|
2205
|
-
"sourcepath"
|
|
2206
|
-
],
|
|
2207
|
-
"name": "metadata",
|
|
2208
|
-
"summary": "Metadata component names to convert.",
|
|
2209
|
-
"delimiter": ",",
|
|
2210
|
-
"hasDynamicHelp": false,
|
|
2211
|
-
"multiple": true,
|
|
2212
|
-
"type": "option"
|
|
2191
|
+
"name": "no-prompt",
|
|
2192
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2193
|
+
"allowNo": false,
|
|
2194
|
+
"type": "boolean"
|
|
2213
2195
|
}
|
|
2214
2196
|
},
|
|
2215
2197
|
"hasDynamicHelp": true,
|
|
2216
2198
|
"hiddenAliases": [],
|
|
2217
|
-
"id": "project:
|
|
2199
|
+
"id": "project:delete:tracking",
|
|
2218
2200
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2219
2201
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2220
2202
|
"pluginType": "core",
|
|
2221
2203
|
"strict": true,
|
|
2222
|
-
"summary": "
|
|
2204
|
+
"summary": "Delete all local source tracking information.",
|
|
2223
2205
|
"enableJsonFlag": true,
|
|
2224
2206
|
"requiresProject": true,
|
|
2225
2207
|
"isESM": true,
|
|
@@ -2227,24 +2209,42 @@
|
|
|
2227
2209
|
"lib",
|
|
2228
2210
|
"commands",
|
|
2229
2211
|
"project",
|
|
2230
|
-
"
|
|
2231
|
-
"
|
|
2212
|
+
"delete",
|
|
2213
|
+
"tracking.js"
|
|
2232
2214
|
],
|
|
2233
2215
|
"aliasPermutations": [
|
|
2234
|
-
"force:source:
|
|
2235
|
-
"source:force:
|
|
2236
|
-
"source:
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2216
|
+
"force:source:tracking:clear",
|
|
2217
|
+
"source:force:tracking:clear",
|
|
2218
|
+
"source:tracking:force:clear",
|
|
2219
|
+
"source:tracking:clear:force",
|
|
2220
|
+
"force:tracking:source:clear",
|
|
2221
|
+
"tracking:force:source:clear",
|
|
2222
|
+
"tracking:source:force:clear",
|
|
2223
|
+
"tracking:source:clear:force",
|
|
2224
|
+
"force:tracking:clear:source",
|
|
2225
|
+
"tracking:force:clear:source",
|
|
2226
|
+
"tracking:clear:force:source",
|
|
2227
|
+
"tracking:clear:source:force",
|
|
2228
|
+
"force:source:clear:tracking",
|
|
2229
|
+
"source:force:clear:tracking",
|
|
2230
|
+
"source:clear:force:tracking",
|
|
2231
|
+
"source:clear:tracking:force",
|
|
2232
|
+
"force:clear:source:tracking",
|
|
2233
|
+
"clear:force:source:tracking",
|
|
2234
|
+
"clear:source:force:tracking",
|
|
2235
|
+
"clear:source:tracking:force",
|
|
2236
|
+
"force:clear:tracking:source",
|
|
2237
|
+
"clear:force:tracking:source",
|
|
2238
|
+
"clear:tracking:force:source",
|
|
2239
|
+
"clear:tracking:source:force"
|
|
2240
2240
|
],
|
|
2241
2241
|
"permutations": [
|
|
2242
|
-
"project:
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2242
|
+
"project:delete:tracking",
|
|
2243
|
+
"delete:project:tracking",
|
|
2244
|
+
"delete:tracking:project",
|
|
2245
|
+
"project:tracking:delete",
|
|
2246
|
+
"tracking:project:delete",
|
|
2247
|
+
"tracking:delete:project"
|
|
2248
2248
|
]
|
|
2249
2249
|
},
|
|
2250
2250
|
"project:generate:manifest": {
|
|
@@ -3051,5 +3051,5 @@
|
|
|
3051
3051
|
]
|
|
3052
3052
|
}
|
|
3053
3053
|
},
|
|
3054
|
-
"version": "3.22.
|
|
3054
|
+
"version": "3.22.16"
|
|
3055
3055
|
}
|