@salesforce/plugin-deploy-retrieve 3.22.12 → 3.22.14
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/lib/formatters/testResultsFormatter.js +2 -4
- package/lib/formatters/testResultsFormatter.js.map +1 -1
- package/oclif.manifest.json +431 -431
- package/package.json +5 -5
package/oclif.manifest.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"project:
|
|
3
|
+
"project:delete:source": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"force:
|
|
5
|
+
"force:source:delete"
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "
|
|
9
|
+
"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.",
|
|
10
10
|
"examples": [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"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",
|
|
12
|
+
"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",
|
|
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"
|
|
13
15
|
],
|
|
14
16
|
"flags": {
|
|
15
17
|
"json": {
|
|
@@ -48,80 +50,149 @@
|
|
|
48
50
|
"multiple": false,
|
|
49
51
|
"type": "option"
|
|
50
52
|
},
|
|
51
|
-
"
|
|
53
|
+
"target-org": {
|
|
52
54
|
"aliases": [
|
|
53
|
-
"
|
|
55
|
+
"targetusername",
|
|
56
|
+
"u"
|
|
54
57
|
],
|
|
55
|
-
"char": "
|
|
58
|
+
"char": "o",
|
|
56
59
|
"deprecateAliases": true,
|
|
57
|
-
"name": "
|
|
60
|
+
"name": "target-org",
|
|
61
|
+
"noCacheDefault": true,
|
|
58
62
|
"required": true,
|
|
59
|
-
"summary": "
|
|
60
|
-
"hasDynamicHelp":
|
|
63
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
64
|
+
"hasDynamicHelp": true,
|
|
61
65
|
"multiple": false,
|
|
62
66
|
"type": "option"
|
|
63
67
|
},
|
|
64
|
-
"
|
|
68
|
+
"check-only": {
|
|
65
69
|
"aliases": [
|
|
66
|
-
"
|
|
70
|
+
"checkonly"
|
|
67
71
|
],
|
|
68
|
-
"char": "
|
|
72
|
+
"char": "c",
|
|
69
73
|
"deprecateAliases": true,
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
74
|
+
"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.",
|
|
75
|
+
"name": "check-only",
|
|
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,
|
|
73
86
|
"multiple": false,
|
|
74
87
|
"type": "option"
|
|
75
88
|
},
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"name": "
|
|
80
|
-
"summary": "
|
|
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.",
|
|
81
94
|
"hasDynamicHelp": false,
|
|
82
|
-
"multiple":
|
|
95
|
+
"multiple": true,
|
|
83
96
|
"type": "option"
|
|
84
97
|
},
|
|
85
|
-
"
|
|
98
|
+
"test-level": {
|
|
86
99
|
"aliases": [
|
|
87
|
-
"
|
|
100
|
+
"testlevel"
|
|
88
101
|
],
|
|
89
|
-
"char": "
|
|
102
|
+
"char": "l",
|
|
90
103
|
"deprecateAliases": true,
|
|
91
|
-
"description": "
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
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.",
|
|
108
|
+
"hasDynamicHelp": false,
|
|
109
|
+
"multiple": false,
|
|
110
|
+
"options": [
|
|
111
|
+
"NoTestRun",
|
|
112
|
+
"RunSpecifiedTests",
|
|
113
|
+
"RunLocalTests",
|
|
114
|
+
"RunAllTestsInOrg"
|
|
95
115
|
],
|
|
96
|
-
"
|
|
97
|
-
|
|
116
|
+
"type": "option"
|
|
117
|
+
},
|
|
118
|
+
"no-prompt": {
|
|
119
|
+
"aliases": [
|
|
120
|
+
"noprompt"
|
|
121
|
+
],
|
|
122
|
+
"char": "r",
|
|
123
|
+
"deprecateAliases": true,
|
|
124
|
+
"name": "no-prompt",
|
|
125
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
126
|
+
"allowNo": false,
|
|
127
|
+
"type": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"metadata": {
|
|
130
|
+
"char": "m",
|
|
131
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
132
|
+
"name": "metadata",
|
|
133
|
+
"summary": "Metadata components to delete.",
|
|
98
134
|
"delimiter": ",",
|
|
99
135
|
"hasDynamicHelp": false,
|
|
100
136
|
"multiple": true,
|
|
101
137
|
"type": "option"
|
|
102
138
|
},
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
"manifest",
|
|
107
|
-
"metadatapath"
|
|
139
|
+
"source-dir": {
|
|
140
|
+
"aliases": [
|
|
141
|
+
"sourcepath"
|
|
108
142
|
],
|
|
109
|
-
"
|
|
110
|
-
"
|
|
143
|
+
"char": "p",
|
|
144
|
+
"deprecateAliases": true,
|
|
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.",
|
|
111
148
|
"delimiter": ",",
|
|
112
149
|
"hasDynamicHelp": false,
|
|
113
150
|
"multiple": true,
|
|
114
151
|
"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"
|
|
115
186
|
}
|
|
116
187
|
},
|
|
117
|
-
"hasDynamicHelp":
|
|
188
|
+
"hasDynamicHelp": true,
|
|
118
189
|
"hiddenAliases": [],
|
|
119
|
-
"id": "project:
|
|
190
|
+
"id": "project:delete:source",
|
|
120
191
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
121
192
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
122
193
|
"pluginType": "core",
|
|
123
194
|
"strict": true,
|
|
124
|
-
"summary": "
|
|
195
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
125
196
|
"enableJsonFlag": true,
|
|
126
197
|
"requiresProject": true,
|
|
127
198
|
"isESM": true,
|
|
@@ -129,34 +200,35 @@
|
|
|
129
200
|
"lib",
|
|
130
201
|
"commands",
|
|
131
202
|
"project",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
203
|
+
"delete",
|
|
204
|
+
"source.js"
|
|
134
205
|
],
|
|
135
206
|
"aliasPermutations": [
|
|
136
|
-
"force:
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"force:
|
|
140
|
-
"
|
|
141
|
-
"
|
|
207
|
+
"force:source:delete",
|
|
208
|
+
"source:force:delete",
|
|
209
|
+
"source:delete:force",
|
|
210
|
+
"force:delete:source",
|
|
211
|
+
"delete:force:source",
|
|
212
|
+
"delete:source:force"
|
|
142
213
|
],
|
|
143
214
|
"permutations": [
|
|
144
|
-
"project:
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"project:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
215
|
+
"project:delete:source",
|
|
216
|
+
"delete:project:source",
|
|
217
|
+
"delete:source:project",
|
|
218
|
+
"project:source:delete",
|
|
219
|
+
"source:project:delete",
|
|
220
|
+
"source:delete:project"
|
|
150
221
|
]
|
|
151
222
|
},
|
|
152
|
-
"project:
|
|
153
|
-
"aliases": [
|
|
223
|
+
"project:delete:tracking": {
|
|
224
|
+
"aliases": [
|
|
225
|
+
"force:source:tracking:clear"
|
|
226
|
+
],
|
|
154
227
|
"args": {},
|
|
155
|
-
"
|
|
228
|
+
"deprecateAliases": true,
|
|
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.",
|
|
156
230
|
"examples": [
|
|
157
|
-
"
|
|
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"
|
|
231
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
160
232
|
],
|
|
161
233
|
"flags": {
|
|
162
234
|
"json": {
|
|
@@ -174,210 +246,62 @@
|
|
|
174
246
|
"multiple": false,
|
|
175
247
|
"type": "option"
|
|
176
248
|
},
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"
|
|
249
|
+
"api-version": {
|
|
250
|
+
"aliases": [
|
|
251
|
+
"apiversion"
|
|
252
|
+
],
|
|
253
|
+
"deprecateAliases": true,
|
|
254
|
+
"description": "Override the api version used for api requests made by this command",
|
|
255
|
+
"name": "api-version",
|
|
182
256
|
"hasDynamicHelp": false,
|
|
183
257
|
"multiple": false,
|
|
184
|
-
"options": [
|
|
185
|
-
"decomposeCustomLabelsBeta2",
|
|
186
|
-
"decomposeCustomLabelsBeta",
|
|
187
|
-
"decomposePermissionSetBeta",
|
|
188
|
-
"decomposePermissionSetBeta2",
|
|
189
|
-
"decomposeSharingRulesBeta",
|
|
190
|
-
"decomposeWorkflowBeta",
|
|
191
|
-
"decomposeExternalServiceRegistrationBeta"
|
|
192
|
-
],
|
|
193
258
|
"type": "option"
|
|
194
259
|
},
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
"
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
"allowNo": false,
|
|
205
|
-
"type": "boolean"
|
|
260
|
+
"loglevel": {
|
|
261
|
+
"deprecated": {
|
|
262
|
+
"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."
|
|
263
|
+
},
|
|
264
|
+
"hidden": true,
|
|
265
|
+
"name": "loglevel",
|
|
266
|
+
"hasDynamicHelp": false,
|
|
267
|
+
"multiple": false,
|
|
268
|
+
"type": "option"
|
|
206
269
|
},
|
|
207
270
|
"target-org": {
|
|
271
|
+
"aliases": [
|
|
272
|
+
"targetusername",
|
|
273
|
+
"u"
|
|
274
|
+
],
|
|
208
275
|
"char": "o",
|
|
276
|
+
"deprecateAliases": true,
|
|
209
277
|
"name": "target-org",
|
|
210
278
|
"noCacheDefault": true,
|
|
211
|
-
"
|
|
279
|
+
"required": true,
|
|
280
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
212
281
|
"hasDynamicHelp": true,
|
|
213
282
|
"multiple": false,
|
|
214
283
|
"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"
|
|
215
295
|
}
|
|
216
296
|
},
|
|
217
297
|
"hasDynamicHelp": true,
|
|
218
298
|
"hiddenAliases": [],
|
|
219
|
-
"id": "project:
|
|
220
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
221
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
222
|
-
"pluginType": "core",
|
|
223
|
-
"state": "beta",
|
|
224
|
-
"strict": true,
|
|
225
|
-
"summary": "Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.",
|
|
226
|
-
"enableJsonFlag": true,
|
|
227
|
-
"requiresProject": true,
|
|
228
|
-
"isESM": true,
|
|
229
|
-
"relativePath": [
|
|
230
|
-
"lib",
|
|
231
|
-
"commands",
|
|
232
|
-
"project",
|
|
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",
|
|
299
|
+
"id": "project:delete:tracking",
|
|
376
300
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
377
301
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
378
302
|
"pluginType": "core",
|
|
379
303
|
"strict": true,
|
|
380
|
-
"summary": "
|
|
304
|
+
"summary": "Delete all local source tracking information.",
|
|
381
305
|
"enableJsonFlag": true,
|
|
382
306
|
"requiresProject": true,
|
|
383
307
|
"isESM": true,
|
|
@@ -385,24 +309,42 @@
|
|
|
385
309
|
"lib",
|
|
386
310
|
"commands",
|
|
387
311
|
"project",
|
|
388
|
-
"
|
|
389
|
-
"
|
|
312
|
+
"delete",
|
|
313
|
+
"tracking.js"
|
|
390
314
|
],
|
|
391
315
|
"aliasPermutations": [
|
|
392
|
-
"force:source:
|
|
393
|
-
"source:force:
|
|
394
|
-
"source:
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
"
|
|
316
|
+
"force:source:tracking:clear",
|
|
317
|
+
"source:force:tracking:clear",
|
|
318
|
+
"source:tracking:force:clear",
|
|
319
|
+
"source:tracking:clear:force",
|
|
320
|
+
"force:tracking:source:clear",
|
|
321
|
+
"tracking:force:source:clear",
|
|
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"
|
|
398
340
|
],
|
|
399
341
|
"permutations": [
|
|
400
|
-
"project:
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
"project:
|
|
404
|
-
"
|
|
405
|
-
"
|
|
342
|
+
"project:delete:tracking",
|
|
343
|
+
"delete:project:tracking",
|
|
344
|
+
"delete:tracking:project",
|
|
345
|
+
"project:tracking:delete",
|
|
346
|
+
"tracking:project:delete",
|
|
347
|
+
"tracking:delete:project"
|
|
406
348
|
]
|
|
407
349
|
},
|
|
408
350
|
"project:deploy:cancel": {
|
|
@@ -1900,18 +1842,16 @@
|
|
|
1900
1842
|
"validate:deploy:project"
|
|
1901
1843
|
]
|
|
1902
1844
|
},
|
|
1903
|
-
"project:
|
|
1845
|
+
"project:convert:mdapi": {
|
|
1904
1846
|
"aliases": [
|
|
1905
|
-
"force:
|
|
1847
|
+
"force:mdapi:convert"
|
|
1906
1848
|
],
|
|
1907
1849
|
"args": {},
|
|
1908
1850
|
"deprecateAliases": true,
|
|
1909
|
-
"description": "
|
|
1851
|
+
"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.",
|
|
1910
1852
|
"examples": [
|
|
1911
|
-
"
|
|
1912
|
-
"
|
|
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"
|
|
1853
|
+
"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",
|
|
1854
|
+
"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"
|
|
1915
1855
|
],
|
|
1916
1856
|
"flags": {
|
|
1917
1857
|
"json": {
|
|
@@ -1950,149 +1890,181 @@
|
|
|
1950
1890
|
"multiple": false,
|
|
1951
1891
|
"type": "option"
|
|
1952
1892
|
},
|
|
1953
|
-
"
|
|
1893
|
+
"root-dir": {
|
|
1954
1894
|
"aliases": [
|
|
1955
|
-
"
|
|
1956
|
-
"u"
|
|
1895
|
+
"rootdir"
|
|
1957
1896
|
],
|
|
1958
|
-
"char": "
|
|
1897
|
+
"char": "r",
|
|
1959
1898
|
"deprecateAliases": true,
|
|
1960
|
-
"name": "
|
|
1961
|
-
"noCacheDefault": true,
|
|
1899
|
+
"name": "root-dir",
|
|
1962
1900
|
"required": true,
|
|
1963
|
-
"summary": "
|
|
1964
|
-
"hasDynamicHelp":
|
|
1901
|
+
"summary": "Root directory that contains the Metadata API–formatted metadata.",
|
|
1902
|
+
"hasDynamicHelp": false,
|
|
1965
1903
|
"multiple": false,
|
|
1966
1904
|
"type": "option"
|
|
1967
1905
|
},
|
|
1968
|
-
"
|
|
1906
|
+
"output-dir": {
|
|
1969
1907
|
"aliases": [
|
|
1970
|
-
"
|
|
1908
|
+
"outputdir"
|
|
1971
1909
|
],
|
|
1972
|
-
"char": "
|
|
1910
|
+
"char": "d",
|
|
1973
1911
|
"deprecateAliases": true,
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
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,
|
|
1912
|
+
"name": "output-dir",
|
|
1913
|
+
"summary": "Directory to store your files in after they’re converted to source format; can be an absolute or relative path.",
|
|
1914
|
+
"hasDynamicHelp": false,
|
|
1986
1915
|
"multiple": false,
|
|
1987
1916
|
"type": "option"
|
|
1988
1917
|
},
|
|
1989
|
-
"
|
|
1990
|
-
"
|
|
1991
|
-
"
|
|
1992
|
-
"name": "
|
|
1993
|
-
"summary": "
|
|
1918
|
+
"manifest": {
|
|
1919
|
+
"char": "x",
|
|
1920
|
+
"description": "If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
1921
|
+
"name": "manifest",
|
|
1922
|
+
"summary": "File path to manifest (package.xml) of metadata types to convert.",
|
|
1994
1923
|
"hasDynamicHelp": false,
|
|
1995
|
-
"multiple":
|
|
1924
|
+
"multiple": false,
|
|
1996
1925
|
"type": "option"
|
|
1997
1926
|
},
|
|
1998
|
-
"
|
|
1927
|
+
"metadata-dir": {
|
|
1999
1928
|
"aliases": [
|
|
2000
|
-
"
|
|
1929
|
+
"metadatapath"
|
|
2001
1930
|
],
|
|
2002
|
-
"char": "
|
|
1931
|
+
"char": "p",
|
|
2003
1932
|
"deprecateAliases": true,
|
|
2004
|
-
"description": "
|
|
2005
|
-
"
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
"hasDynamicHelp": false,
|
|
2009
|
-
"multiple": false,
|
|
2010
|
-
"options": [
|
|
2011
|
-
"NoTestRun",
|
|
2012
|
-
"RunSpecifiedTests",
|
|
2013
|
-
"RunLocalTests",
|
|
2014
|
-
"RunAllTestsInOrg"
|
|
1933
|
+
"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.",
|
|
1934
|
+
"exclusive": [
|
|
1935
|
+
"manifest",
|
|
1936
|
+
"metadata"
|
|
2015
1937
|
],
|
|
1938
|
+
"name": "metadata-dir",
|
|
1939
|
+
"summary": "Root of directory or zip file of metadata formatted files to convert.",
|
|
1940
|
+
"delimiter": ",",
|
|
1941
|
+
"hasDynamicHelp": false,
|
|
1942
|
+
"multiple": true,
|
|
2016
1943
|
"type": "option"
|
|
2017
1944
|
},
|
|
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
|
-
},
|
|
2029
1945
|
"metadata": {
|
|
2030
1946
|
"char": "m",
|
|
2031
|
-
"
|
|
1947
|
+
"exclusive": [
|
|
1948
|
+
"manifest",
|
|
1949
|
+
"metadatapath"
|
|
1950
|
+
],
|
|
2032
1951
|
"name": "metadata",
|
|
2033
|
-
"summary": "Metadata
|
|
1952
|
+
"summary": "Metadata component names to convert.",
|
|
2034
1953
|
"delimiter": ",",
|
|
2035
1954
|
"hasDynamicHelp": false,
|
|
2036
1955
|
"multiple": true,
|
|
2037
1956
|
"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"
|
|
2038
2010
|
},
|
|
2039
|
-
"
|
|
2040
|
-
"
|
|
2041
|
-
|
|
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": ",",
|
|
2011
|
+
"flags-dir": {
|
|
2012
|
+
"helpGroup": "GLOBAL",
|
|
2013
|
+
"name": "flags-dir",
|
|
2014
|
+
"summary": "Import flag values from a directory.",
|
|
2049
2015
|
"hasDynamicHelp": false,
|
|
2050
|
-
"multiple":
|
|
2016
|
+
"multiple": false,
|
|
2051
2017
|
"type": "option"
|
|
2052
2018
|
},
|
|
2053
|
-
"
|
|
2054
|
-
"
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
"
|
|
2058
|
-
"
|
|
2059
|
-
"
|
|
2060
|
-
|
|
2019
|
+
"behavior": {
|
|
2020
|
+
"char": "b",
|
|
2021
|
+
"name": "behavior",
|
|
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"
|
|
2061
2034
|
],
|
|
2062
|
-
"
|
|
2063
|
-
"summary": "If the delete succeeds, update the source tracking information.",
|
|
2064
|
-
"allowNo": false,
|
|
2065
|
-
"type": "boolean"
|
|
2035
|
+
"type": "option"
|
|
2066
2036
|
},
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
2069
|
-
|
|
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.",
|
|
2037
|
+
"dry-run": {
|
|
2038
|
+
"name": "dry-run",
|
|
2039
|
+
"summary": "Display what the command would do, but don't make any actual changes.",
|
|
2078
2040
|
"allowNo": false,
|
|
2079
2041
|
"type": "boolean"
|
|
2080
2042
|
},
|
|
2081
|
-
"
|
|
2082
|
-
"name": "
|
|
2083
|
-
"summary": "
|
|
2043
|
+
"preserve-temp-dir": {
|
|
2044
|
+
"name": "preserve-temp-dir",
|
|
2045
|
+
"summary": "Don't delete the metadata API format temporary directory that this command creates. Useful for debugging.",
|
|
2084
2046
|
"allowNo": false,
|
|
2085
2047
|
"type": "boolean"
|
|
2048
|
+
},
|
|
2049
|
+
"target-org": {
|
|
2050
|
+
"char": "o",
|
|
2051
|
+
"name": "target-org",
|
|
2052
|
+
"noCacheDefault": true,
|
|
2053
|
+
"summary": "Username or alias of the target org.",
|
|
2054
|
+
"hasDynamicHelp": true,
|
|
2055
|
+
"multiple": false,
|
|
2056
|
+
"type": "option"
|
|
2086
2057
|
}
|
|
2087
2058
|
},
|
|
2088
2059
|
"hasDynamicHelp": true,
|
|
2089
2060
|
"hiddenAliases": [],
|
|
2090
|
-
"id": "project:
|
|
2061
|
+
"id": "project:convert:source-behavior",
|
|
2091
2062
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2092
2063
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2093
2064
|
"pluginType": "core",
|
|
2065
|
+
"state": "beta",
|
|
2094
2066
|
"strict": true,
|
|
2095
|
-
"summary": "
|
|
2067
|
+
"summary": "Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.",
|
|
2096
2068
|
"enableJsonFlag": true,
|
|
2097
2069
|
"requiresProject": true,
|
|
2098
2070
|
"isESM": true,
|
|
@@ -2100,35 +2072,29 @@
|
|
|
2100
2072
|
"lib",
|
|
2101
2073
|
"commands",
|
|
2102
2074
|
"project",
|
|
2103
|
-
"
|
|
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"
|
|
2075
|
+
"convert",
|
|
2076
|
+
"source-behavior.js"
|
|
2113
2077
|
],
|
|
2078
|
+
"aliasPermutations": [],
|
|
2114
2079
|
"permutations": [
|
|
2115
|
-
"project:
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
2118
|
-
"project:source:
|
|
2119
|
-
"source:project:
|
|
2120
|
-
"source:
|
|
2080
|
+
"project:convert:source-behavior",
|
|
2081
|
+
"convert:project:source-behavior",
|
|
2082
|
+
"convert:source-behavior:project",
|
|
2083
|
+
"project:source-behavior:convert",
|
|
2084
|
+
"source-behavior:project:convert",
|
|
2085
|
+
"source-behavior:convert:project"
|
|
2121
2086
|
]
|
|
2122
2087
|
},
|
|
2123
|
-
"project:
|
|
2088
|
+
"project:convert:source": {
|
|
2124
2089
|
"aliases": [
|
|
2125
|
-
"force:source:
|
|
2090
|
+
"force:source:convert"
|
|
2126
2091
|
],
|
|
2127
2092
|
"args": {},
|
|
2128
2093
|
"deprecateAliases": true,
|
|
2129
|
-
"description": "
|
|
2094
|
+
"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.",
|
|
2130
2095
|
"examples": [
|
|
2131
|
-
"
|
|
2096
|
+
"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",
|
|
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'"
|
|
2132
2098
|
],
|
|
2133
2099
|
"flags": {
|
|
2134
2100
|
"json": {
|
|
@@ -2153,6 +2119,7 @@
|
|
|
2153
2119
|
"deprecateAliases": true,
|
|
2154
2120
|
"description": "Override the api version used for api requests made by this command",
|
|
2155
2121
|
"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",
|
|
2156
2123
|
"hasDynamicHelp": false,
|
|
2157
2124
|
"multiple": false,
|
|
2158
2125
|
"type": "option"
|
|
@@ -2167,41 +2134,92 @@
|
|
|
2167
2134
|
"multiple": false,
|
|
2168
2135
|
"type": "option"
|
|
2169
2136
|
},
|
|
2170
|
-
"
|
|
2137
|
+
"root-dir": {
|
|
2171
2138
|
"aliases": [
|
|
2172
|
-
"
|
|
2173
|
-
"u"
|
|
2139
|
+
"rootdir"
|
|
2174
2140
|
],
|
|
2175
|
-
"char": "
|
|
2141
|
+
"char": "r",
|
|
2176
2142
|
"deprecateAliases": true,
|
|
2177
|
-
"name": "
|
|
2178
|
-
"
|
|
2179
|
-
"
|
|
2180
|
-
"
|
|
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": {
|
|
2150
|
+
"aliases": [
|
|
2151
|
+
"outputdir"
|
|
2152
|
+
],
|
|
2153
|
+
"char": "d",
|
|
2154
|
+
"deprecateAliases": true,
|
|
2155
|
+
"name": "output-dir",
|
|
2156
|
+
"summary": "Output directory to store the Metadata API–formatted files in.",
|
|
2157
|
+
"default": "metadataPackage_>timestamp<",
|
|
2181
2158
|
"hasDynamicHelp": true,
|
|
2182
2159
|
"multiple": false,
|
|
2183
2160
|
"type": "option"
|
|
2184
2161
|
},
|
|
2185
|
-
"
|
|
2162
|
+
"package-name": {
|
|
2186
2163
|
"aliases": [
|
|
2187
|
-
"
|
|
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": {
|
|
2184
|
+
"aliases": [
|
|
2185
|
+
"sourcepath"
|
|
2188
2186
|
],
|
|
2189
2187
|
"char": "p",
|
|
2190
2188
|
"deprecateAliases": true,
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2193
|
-
|
|
2194
|
-
|
|
2189
|
+
"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.",
|
|
2190
|
+
"exclusive": [
|
|
2191
|
+
"manifest",
|
|
2192
|
+
"metadata"
|
|
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"
|
|
2195
2213
|
}
|
|
2196
2214
|
},
|
|
2197
2215
|
"hasDynamicHelp": true,
|
|
2198
2216
|
"hiddenAliases": [],
|
|
2199
|
-
"id": "project:
|
|
2217
|
+
"id": "project:convert:source",
|
|
2200
2218
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2201
2219
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2202
2220
|
"pluginType": "core",
|
|
2203
2221
|
"strict": true,
|
|
2204
|
-
"summary": "
|
|
2222
|
+
"summary": "Convert source-formatted files into metadata that you can deploy using Metadata API.",
|
|
2205
2223
|
"enableJsonFlag": true,
|
|
2206
2224
|
"requiresProject": true,
|
|
2207
2225
|
"isESM": true,
|
|
@@ -2209,42 +2227,24 @@
|
|
|
2209
2227
|
"lib",
|
|
2210
2228
|
"commands",
|
|
2211
2229
|
"project",
|
|
2212
|
-
"
|
|
2213
|
-
"
|
|
2230
|
+
"convert",
|
|
2231
|
+
"source.js"
|
|
2214
2232
|
],
|
|
2215
2233
|
"aliasPermutations": [
|
|
2216
|
-
"force:source:
|
|
2217
|
-
"source:force:
|
|
2218
|
-
"source:
|
|
2219
|
-
"
|
|
2220
|
-
"force:
|
|
2221
|
-
"
|
|
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"
|
|
2234
|
+
"force:source:convert",
|
|
2235
|
+
"source:force:convert",
|
|
2236
|
+
"source:convert:force",
|
|
2237
|
+
"force:convert:source",
|
|
2238
|
+
"convert:force:source",
|
|
2239
|
+
"convert:source:force"
|
|
2240
2240
|
],
|
|
2241
2241
|
"permutations": [
|
|
2242
|
-
"project:
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2242
|
+
"project:convert:source",
|
|
2243
|
+
"convert:project:source",
|
|
2244
|
+
"convert:source:project",
|
|
2245
|
+
"project:source:convert",
|
|
2246
|
+
"source:project:convert",
|
|
2247
|
+
"source:convert: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.14"
|
|
3055
3055
|
}
|