@salesforce/plugin-deploy-retrieve 3.22.0 → 3.22.2
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 +1522 -1522
- package/package.json +5 -5
package/oclif.manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"project:
|
|
3
|
+
"project:deploy:cancel": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"
|
|
5
|
+
"deploy:metadata:cancel"
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
|
|
10
10
|
"examples": [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
12
|
+
"Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
13
13
|
],
|
|
14
14
|
"flags": {
|
|
15
15
|
"json": {
|
|
@@ -27,136 +27,103 @@
|
|
|
27
27
|
"multiple": false,
|
|
28
28
|
"type": "option"
|
|
29
29
|
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"name": "api-version",
|
|
37
|
-
"hasDynamicHelp": false,
|
|
38
|
-
"multiple": false,
|
|
39
|
-
"type": "option"
|
|
40
|
-
},
|
|
41
|
-
"loglevel": {
|
|
42
|
-
"deprecated": {
|
|
43
|
-
"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."
|
|
44
|
-
},
|
|
45
|
-
"hidden": true,
|
|
46
|
-
"name": "loglevel",
|
|
47
|
-
"hasDynamicHelp": false,
|
|
48
|
-
"multiple": false,
|
|
49
|
-
"type": "option"
|
|
50
|
-
},
|
|
51
|
-
"root-dir": {
|
|
52
|
-
"aliases": [
|
|
53
|
-
"rootdir"
|
|
54
|
-
],
|
|
55
|
-
"char": "r",
|
|
56
|
-
"deprecateAliases": true,
|
|
57
|
-
"name": "root-dir",
|
|
58
|
-
"required": true,
|
|
59
|
-
"summary": "Root directory that contains the Metadata API–formatted metadata.",
|
|
60
|
-
"hasDynamicHelp": false,
|
|
30
|
+
"target-org": {
|
|
31
|
+
"char": "o",
|
|
32
|
+
"name": "target-org",
|
|
33
|
+
"noCacheDefault": true,
|
|
34
|
+
"summary": "Username or alias of the target org.",
|
|
35
|
+
"hasDynamicHelp": true,
|
|
61
36
|
"multiple": false,
|
|
62
37
|
"type": "option"
|
|
63
38
|
},
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
39
|
+
"async": {
|
|
40
|
+
"description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
41
|
+
"exclusive": [
|
|
42
|
+
"wait"
|
|
67
43
|
],
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"hasDynamicHelp": false,
|
|
73
|
-
"multiple": false,
|
|
74
|
-
"type": "option"
|
|
44
|
+
"name": "async",
|
|
45
|
+
"summary": "Run the command asynchronously.",
|
|
46
|
+
"allowNo": false,
|
|
47
|
+
"type": "boolean"
|
|
75
48
|
},
|
|
76
|
-
"
|
|
77
|
-
"char": "
|
|
78
|
-
"description": "
|
|
79
|
-
"name": "
|
|
80
|
-
"summary": "
|
|
49
|
+
"job-id": {
|
|
50
|
+
"char": "i",
|
|
51
|
+
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
52
|
+
"name": "job-id",
|
|
53
|
+
"summary": "Job ID of the deploy operation you want to cancel.",
|
|
81
54
|
"hasDynamicHelp": false,
|
|
82
55
|
"multiple": false,
|
|
83
56
|
"type": "option"
|
|
84
57
|
},
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
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.",
|
|
98
|
-
"delimiter": ",",
|
|
99
|
-
"hasDynamicHelp": false,
|
|
100
|
-
"multiple": true,
|
|
101
|
-
"type": "option"
|
|
58
|
+
"use-most-recent": {
|
|
59
|
+
"char": "r",
|
|
60
|
+
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
|
|
61
|
+
"name": "use-most-recent",
|
|
62
|
+
"summary": "Use the job ID of the most recent deploy operation.",
|
|
63
|
+
"allowNo": false,
|
|
64
|
+
"type": "boolean"
|
|
102
65
|
},
|
|
103
|
-
"
|
|
104
|
-
"char": "
|
|
66
|
+
"wait": {
|
|
67
|
+
"char": "w",
|
|
68
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
105
69
|
"exclusive": [
|
|
106
|
-
"
|
|
107
|
-
"metadatapath"
|
|
70
|
+
"async"
|
|
108
71
|
],
|
|
109
|
-
"name": "
|
|
110
|
-
"summary": "
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"multiple":
|
|
72
|
+
"name": "wait",
|
|
73
|
+
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
74
|
+
"hasDynamicHelp": true,
|
|
75
|
+
"helpValue": "<minutes>",
|
|
76
|
+
"multiple": false,
|
|
114
77
|
"type": "option"
|
|
115
78
|
}
|
|
116
79
|
},
|
|
117
|
-
"hasDynamicHelp":
|
|
80
|
+
"hasDynamicHelp": true,
|
|
118
81
|
"hiddenAliases": [],
|
|
119
|
-
"id": "project:
|
|
82
|
+
"id": "project:deploy:cancel",
|
|
120
83
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
121
84
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
122
85
|
"pluginType": "core",
|
|
123
86
|
"strict": true,
|
|
124
|
-
"summary": "
|
|
87
|
+
"summary": "Cancel a deploy operation.",
|
|
125
88
|
"enableJsonFlag": true,
|
|
126
|
-
"requiresProject": true,
|
|
127
89
|
"isESM": true,
|
|
128
90
|
"relativePath": [
|
|
129
91
|
"lib",
|
|
130
92
|
"commands",
|
|
131
93
|
"project",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
94
|
+
"deploy",
|
|
95
|
+
"cancel.js"
|
|
134
96
|
],
|
|
135
97
|
"aliasPermutations": [
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
98
|
+
"deploy:metadata:cancel",
|
|
99
|
+
"metadata:deploy:cancel",
|
|
100
|
+
"metadata:cancel:deploy",
|
|
101
|
+
"deploy:cancel:metadata",
|
|
102
|
+
"cancel:deploy:metadata",
|
|
103
|
+
"cancel:metadata:deploy"
|
|
142
104
|
],
|
|
143
105
|
"permutations": [
|
|
144
|
-
"project:
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"project:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
106
|
+
"project:deploy:cancel",
|
|
107
|
+
"deploy:project:cancel",
|
|
108
|
+
"deploy:cancel:project",
|
|
109
|
+
"project:cancel:deploy",
|
|
110
|
+
"cancel:project:deploy",
|
|
111
|
+
"cancel:deploy:project"
|
|
150
112
|
]
|
|
151
113
|
},
|
|
152
|
-
"project:
|
|
153
|
-
"aliases": [
|
|
114
|
+
"project:deploy:preview": {
|
|
115
|
+
"aliases": [
|
|
116
|
+
"deploy:metadata:preview"
|
|
117
|
+
],
|
|
154
118
|
"args": {},
|
|
155
|
-
"
|
|
119
|
+
"deprecateAliases": true,
|
|
120
|
+
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of 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.",
|
|
156
121
|
"examples": [
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
122
|
+
"NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
|
|
123
|
+
"Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
124
|
+
"Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
125
|
+
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
126
|
+
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
160
127
|
],
|
|
161
128
|
"flags": {
|
|
162
129
|
"json": {
|
|
@@ -174,55 +141,77 @@
|
|
|
174
141
|
"multiple": false,
|
|
175
142
|
"type": "option"
|
|
176
143
|
},
|
|
177
|
-
"
|
|
178
|
-
"char": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"summary": "
|
|
144
|
+
"ignore-conflicts": {
|
|
145
|
+
"char": "c",
|
|
146
|
+
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
147
|
+
"name": "ignore-conflicts",
|
|
148
|
+
"summary": "Don't display conflicts in preview of the deployment.",
|
|
149
|
+
"allowNo": false,
|
|
150
|
+
"type": "boolean"
|
|
151
|
+
},
|
|
152
|
+
"manifest": {
|
|
153
|
+
"char": "x",
|
|
154
|
+
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
155
|
+
"exclusive": [
|
|
156
|
+
"source-dir",
|
|
157
|
+
"metadata"
|
|
158
|
+
],
|
|
159
|
+
"name": "manifest",
|
|
160
|
+
"summary": "Full file path for manifest (package.xml) of components to preview.",
|
|
182
161
|
"hasDynamicHelp": false,
|
|
183
162
|
"multiple": false,
|
|
184
|
-
"options": [
|
|
185
|
-
"decomposeCustomLabelsBeta2",
|
|
186
|
-
"decomposeCustomLabelsBeta",
|
|
187
|
-
"decomposePermissionSetBeta",
|
|
188
|
-
"decomposePermissionSetBeta2",
|
|
189
|
-
"decomposeSharingRulesBeta",
|
|
190
|
-
"decomposeWorkflowBeta",
|
|
191
|
-
"decomposeExternalServiceRegistrationBeta"
|
|
192
|
-
],
|
|
193
163
|
"type": "option"
|
|
194
164
|
},
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
|
|
199
|
-
|
|
165
|
+
"metadata": {
|
|
166
|
+
"char": "m",
|
|
167
|
+
"exclusive": [
|
|
168
|
+
"manifest",
|
|
169
|
+
"source-dir"
|
|
170
|
+
],
|
|
171
|
+
"name": "metadata",
|
|
172
|
+
"summary": "Metadata component names to preview.",
|
|
173
|
+
"hasDynamicHelp": false,
|
|
174
|
+
"multiple": true,
|
|
175
|
+
"type": "option"
|
|
200
176
|
},
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
|
|
177
|
+
"source-dir": {
|
|
178
|
+
"char": "d",
|
|
179
|
+
"description": "The supplied path 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 subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
|
|
180
|
+
"exclusive": [
|
|
181
|
+
"manifest",
|
|
182
|
+
"metadata"
|
|
183
|
+
],
|
|
184
|
+
"name": "source-dir",
|
|
185
|
+
"summary": "Path to the local source files to preview.",
|
|
186
|
+
"hasDynamicHelp": false,
|
|
187
|
+
"multiple": true,
|
|
188
|
+
"type": "option"
|
|
206
189
|
},
|
|
207
190
|
"target-org": {
|
|
208
191
|
"char": "o",
|
|
209
192
|
"name": "target-org",
|
|
210
193
|
"noCacheDefault": true,
|
|
211
|
-
"
|
|
194
|
+
"required": true,
|
|
195
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
212
196
|
"hasDynamicHelp": true,
|
|
213
197
|
"multiple": false,
|
|
214
198
|
"type": "option"
|
|
199
|
+
},
|
|
200
|
+
"concise": {
|
|
201
|
+
"name": "concise",
|
|
202
|
+
"summary": "Show only the changes that will be deployed; omits files that are forceignored.",
|
|
203
|
+
"allowNo": false,
|
|
204
|
+
"type": "boolean"
|
|
215
205
|
}
|
|
216
206
|
},
|
|
217
207
|
"hasDynamicHelp": true,
|
|
218
208
|
"hiddenAliases": [],
|
|
219
|
-
"id": "project:
|
|
209
|
+
"id": "project:deploy:preview",
|
|
220
210
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
221
211
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
222
212
|
"pluginType": "core",
|
|
223
|
-
"state": "beta",
|
|
224
213
|
"strict": true,
|
|
225
|
-
"summary": "
|
|
214
|
+
"summary": "Preview a deployment to see what will deploy to the org, the potential conflicts, and the ignored files.",
|
|
226
215
|
"enableJsonFlag": true,
|
|
227
216
|
"requiresProject": true,
|
|
228
217
|
"isESM": true,
|
|
@@ -230,29 +219,36 @@
|
|
|
230
219
|
"lib",
|
|
231
220
|
"commands",
|
|
232
221
|
"project",
|
|
233
|
-
"
|
|
234
|
-
"
|
|
222
|
+
"deploy",
|
|
223
|
+
"preview.js"
|
|
235
224
|
],
|
|
236
|
-
"aliasPermutations": [
|
|
237
|
-
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
225
|
+
"aliasPermutations": [
|
|
226
|
+
"deploy:metadata:preview",
|
|
227
|
+
"metadata:deploy:preview",
|
|
228
|
+
"metadata:preview:deploy",
|
|
229
|
+
"deploy:preview:metadata",
|
|
230
|
+
"preview:deploy:metadata",
|
|
231
|
+
"preview:metadata:deploy"
|
|
232
|
+
],
|
|
233
|
+
"permutations": [
|
|
234
|
+
"project:deploy:preview",
|
|
235
|
+
"deploy:project:preview",
|
|
236
|
+
"deploy:preview:project",
|
|
237
|
+
"project:preview:deploy",
|
|
238
|
+
"preview:project:deploy",
|
|
239
|
+
"preview:deploy:project"
|
|
244
240
|
]
|
|
245
241
|
},
|
|
246
|
-
"project:
|
|
242
|
+
"project:deploy:quick": {
|
|
247
243
|
"aliases": [
|
|
248
|
-
"
|
|
244
|
+
"deploy:metadata:quick"
|
|
249
245
|
],
|
|
250
246
|
"args": {},
|
|
251
247
|
"deprecateAliases": true,
|
|
252
|
-
"description": "
|
|
248
|
+
"description": "Before you run this command, first create a validated deployment with the \"<%= config.bin %> project deploy validate\" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.\n\nExecuting this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nThis command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.\n\nNote: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. Use \"<%= config.bin %> project deploy start\" instead.",
|
|
253
249
|
"examples": [
|
|
254
|
-
"
|
|
255
|
-
"
|
|
250
|
+
"Run a quick deploy to your default org using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
251
|
+
"Asynchronously run a quick deploy of the most recently validated deployment to an org with alias \"my-prod-org\":\n<%= config.bin %> <%= command.id %> --async --use-most-recent --target-org my-prod-org"
|
|
256
252
|
],
|
|
257
253
|
"flags": {
|
|
258
254
|
"json": {
|
|
@@ -270,153 +266,162 @@
|
|
|
270
266
|
"multiple": false,
|
|
271
267
|
"type": "option"
|
|
272
268
|
},
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
|
|
269
|
+
"async": {
|
|
270
|
+
"description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the deploy, run \"<%= config.bin %> project deploy resume\". To check the status of the deploy, run \"<%= config.bin %> project deploy report\".",
|
|
271
|
+
"exclusive": [
|
|
272
|
+
"wait"
|
|
276
273
|
],
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
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"
|
|
274
|
+
"name": "async",
|
|
275
|
+
"summary": "Run the command asynchronously.",
|
|
276
|
+
"allowNo": false,
|
|
277
|
+
"type": "boolean"
|
|
294
278
|
},
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
279
|
+
"concise": {
|
|
280
|
+
"exclusive": [
|
|
281
|
+
"verbose"
|
|
298
282
|
],
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
283
|
+
"name": "concise",
|
|
284
|
+
"summary": "Show concise output of the deploy result.",
|
|
285
|
+
"allowNo": false,
|
|
286
|
+
"type": "boolean"
|
|
287
|
+
},
|
|
288
|
+
"job-id": {
|
|
289
|
+
"char": "i",
|
|
290
|
+
"description": "The job ID is valid for 10 days from when you started the validation.",
|
|
291
|
+
"name": "job-id",
|
|
292
|
+
"summary": "Job ID of the deployment you want to quick deploy.",
|
|
303
293
|
"hasDynamicHelp": false,
|
|
304
294
|
"multiple": false,
|
|
305
295
|
"type": "option"
|
|
306
296
|
},
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
"
|
|
312
|
-
"deprecateAliases": true,
|
|
313
|
-
"name": "output-dir",
|
|
314
|
-
"summary": "Output directory to store the Metadata API–formatted files in.",
|
|
315
|
-
"default": "metadataPackage_>timestamp<",
|
|
297
|
+
"target-org": {
|
|
298
|
+
"char": "o",
|
|
299
|
+
"name": "target-org",
|
|
300
|
+
"noCacheDefault": true,
|
|
301
|
+
"summary": "Username or alias of the target org.",
|
|
316
302
|
"hasDynamicHelp": true,
|
|
317
303
|
"multiple": false,
|
|
318
304
|
"type": "option"
|
|
319
305
|
},
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
"
|
|
325
|
-
"
|
|
326
|
-
"
|
|
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"
|
|
306
|
+
"use-most-recent": {
|
|
307
|
+
"char": "r",
|
|
308
|
+
"description": "For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won't find a job ID.",
|
|
309
|
+
"name": "use-most-recent",
|
|
310
|
+
"summary": "Use the job ID of the most recently validated deployment.",
|
|
311
|
+
"allowNo": false,
|
|
312
|
+
"type": "boolean"
|
|
340
313
|
},
|
|
341
|
-
"
|
|
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.",
|
|
314
|
+
"verbose": {
|
|
348
315
|
"exclusive": [
|
|
349
|
-
"
|
|
350
|
-
"metadata"
|
|
316
|
+
"concise"
|
|
351
317
|
],
|
|
352
|
-
"name": "
|
|
353
|
-
"summary": "
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"multiple": true,
|
|
357
|
-
"type": "option"
|
|
318
|
+
"name": "verbose",
|
|
319
|
+
"summary": "Show verbose output of the deploy result.",
|
|
320
|
+
"allowNo": false,
|
|
321
|
+
"type": "boolean"
|
|
358
322
|
},
|
|
359
|
-
"
|
|
360
|
-
"char": "
|
|
323
|
+
"wait": {
|
|
324
|
+
"char": "w",
|
|
325
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy, run \"<%= config.bin %> project deploy resume\". To check the status of the deploy, run \"<%= config.bin %> project deploy report\".",
|
|
361
326
|
"exclusive": [
|
|
362
|
-
"
|
|
363
|
-
"sourcepath"
|
|
327
|
+
"async"
|
|
364
328
|
],
|
|
365
|
-
"name": "
|
|
366
|
-
"summary": "
|
|
367
|
-
"
|
|
329
|
+
"name": "wait",
|
|
330
|
+
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
331
|
+
"default": "33 minutes",
|
|
332
|
+
"hasDynamicHelp": true,
|
|
333
|
+
"helpValue": "<minutes>",
|
|
334
|
+
"multiple": false,
|
|
335
|
+
"type": "option"
|
|
336
|
+
},
|
|
337
|
+
"api-version": {
|
|
338
|
+
"char": "a",
|
|
339
|
+
"description": "Use this flag to override the default API version with the API version of your package.xml file. The default API version is the latest version supported by the CLI.",
|
|
340
|
+
"name": "api-version",
|
|
341
|
+
"summary": "Target API version for the deploy.",
|
|
368
342
|
"hasDynamicHelp": false,
|
|
369
|
-
"multiple":
|
|
343
|
+
"multiple": false,
|
|
370
344
|
"type": "option"
|
|
371
345
|
}
|
|
372
346
|
},
|
|
373
347
|
"hasDynamicHelp": true,
|
|
374
348
|
"hiddenAliases": [],
|
|
375
|
-
"id": "project:
|
|
349
|
+
"id": "project:deploy:quick",
|
|
376
350
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
377
351
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
378
352
|
"pluginType": "core",
|
|
379
353
|
"strict": true,
|
|
380
|
-
"summary": "
|
|
354
|
+
"summary": "Quickly deploy a validated deployment to an org.",
|
|
381
355
|
"enableJsonFlag": true,
|
|
382
|
-
"
|
|
356
|
+
"errorCodes": {
|
|
357
|
+
"header": "ERROR CODES",
|
|
358
|
+
"body": [
|
|
359
|
+
{
|
|
360
|
+
"name": "Succeeded (0)",
|
|
361
|
+
"description": "The deploy succeeded."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "Canceled (1)",
|
|
365
|
+
"description": "The deploy was canceled."
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "Failed (1)",
|
|
369
|
+
"description": "The deploy failed."
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "SucceededPartial (68)",
|
|
373
|
+
"description": "The deploy partially succeeded."
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "InProgress (69)",
|
|
377
|
+
"description": "The deploy is in progress."
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "Pending (69)",
|
|
381
|
+
"description": "The deploy is pending."
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "Canceling (69)",
|
|
385
|
+
"description": "The deploy is being canceled."
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
383
389
|
"isESM": true,
|
|
384
390
|
"relativePath": [
|
|
385
391
|
"lib",
|
|
386
392
|
"commands",
|
|
387
393
|
"project",
|
|
388
|
-
"
|
|
389
|
-
"
|
|
394
|
+
"deploy",
|
|
395
|
+
"quick.js"
|
|
390
396
|
],
|
|
391
397
|
"aliasPermutations": [
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
+
"deploy:metadata:quick",
|
|
399
|
+
"metadata:deploy:quick",
|
|
400
|
+
"metadata:quick:deploy",
|
|
401
|
+
"deploy:quick:metadata",
|
|
402
|
+
"quick:deploy:metadata",
|
|
403
|
+
"quick:metadata:deploy"
|
|
398
404
|
],
|
|
399
405
|
"permutations": [
|
|
400
|
-
"project:
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
"project:
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
+
"project:deploy:quick",
|
|
407
|
+
"deploy:project:quick",
|
|
408
|
+
"deploy:quick:project",
|
|
409
|
+
"project:quick:deploy",
|
|
410
|
+
"quick:project:deploy",
|
|
411
|
+
"quick:deploy:project"
|
|
406
412
|
]
|
|
407
413
|
},
|
|
408
|
-
"project:
|
|
414
|
+
"project:deploy:report": {
|
|
409
415
|
"aliases": [
|
|
410
|
-
"
|
|
416
|
+
"deploy:metadata:report"
|
|
411
417
|
],
|
|
412
418
|
"args": {},
|
|
413
419
|
"deprecateAliases": true,
|
|
414
|
-
"description": "
|
|
420
|
+
"description": "Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation. If you specify the --wait flag, the command polls for the status every second until the timeout of --wait minutes. If you don't specify the --wait flag, the command simply checks and displays the status of the deploy; the command doesn't poll for the status.\n\nYou typically don't specify the --target-org flag because the cached job already references the org to which you deployed. But if you run this command on a computer different than the one from which you deployed, then you must specify the --target-org and it must point to the same org.\n\nThis command doesn't update source tracking information.",
|
|
415
421
|
"examples": [
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"
|
|
419
|
-
"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"
|
|
422
|
+
"Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
423
|
+
"Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent",
|
|
424
|
+
"Poll for the status using a job ID and target org:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2 --target-org me@my.org --wait 30"
|
|
420
425
|
],
|
|
421
426
|
"flags": {
|
|
422
427
|
"json": {
|
|
@@ -434,206 +439,133 @@
|
|
|
434
439
|
"multiple": false,
|
|
435
440
|
"type": "option"
|
|
436
441
|
},
|
|
437
|
-
"api-version": {
|
|
438
|
-
"aliases": [
|
|
439
|
-
"apiversion"
|
|
440
|
-
],
|
|
441
|
-
"deprecateAliases": true,
|
|
442
|
-
"description": "Override the api version used for api requests made by this command",
|
|
443
|
-
"name": "api-version",
|
|
444
|
-
"hasDynamicHelp": false,
|
|
445
|
-
"multiple": false,
|
|
446
|
-
"type": "option"
|
|
447
|
-
},
|
|
448
|
-
"loglevel": {
|
|
449
|
-
"deprecated": {
|
|
450
|
-
"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."
|
|
451
|
-
},
|
|
452
|
-
"hidden": true,
|
|
453
|
-
"name": "loglevel",
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"multiple": false,
|
|
456
|
-
"type": "option"
|
|
457
|
-
},
|
|
458
442
|
"target-org": {
|
|
459
|
-
"aliases": [
|
|
460
|
-
"targetusername",
|
|
461
|
-
"u"
|
|
462
|
-
],
|
|
463
443
|
"char": "o",
|
|
464
|
-
"deprecateAliases": true,
|
|
465
444
|
"name": "target-org",
|
|
466
445
|
"noCacheDefault": true,
|
|
467
|
-
"
|
|
468
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
469
|
-
"hasDynamicHelp": true,
|
|
470
|
-
"multiple": false,
|
|
471
|
-
"type": "option"
|
|
472
|
-
},
|
|
473
|
-
"check-only": {
|
|
474
|
-
"aliases": [
|
|
475
|
-
"checkonly"
|
|
476
|
-
],
|
|
477
|
-
"char": "c",
|
|
478
|
-
"deprecateAliases": true,
|
|
479
|
-
"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.",
|
|
480
|
-
"name": "check-only",
|
|
481
|
-
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
482
|
-
"allowNo": false,
|
|
483
|
-
"type": "boolean"
|
|
484
|
-
},
|
|
485
|
-
"wait": {
|
|
486
|
-
"char": "w",
|
|
487
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
488
|
-
"name": "wait",
|
|
489
|
-
"summary": "Number of minutes to wait for the command to finish.",
|
|
446
|
+
"summary": "Username or alias of the target org.",
|
|
490
447
|
"hasDynamicHelp": true,
|
|
491
448
|
"multiple": false,
|
|
492
449
|
"type": "option"
|
|
493
450
|
},
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
"name": "
|
|
498
|
-
"summary": "
|
|
499
|
-
"hasDynamicHelp": false,
|
|
500
|
-
"multiple": true,
|
|
501
|
-
"type": "option"
|
|
502
|
-
},
|
|
503
|
-
"test-level": {
|
|
504
|
-
"aliases": [
|
|
505
|
-
"testlevel"
|
|
506
|
-
],
|
|
507
|
-
"char": "l",
|
|
508
|
-
"deprecateAliases": true,
|
|
509
|
-
"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.",
|
|
510
|
-
"helpGroup": "Test",
|
|
511
|
-
"name": "test-level",
|
|
512
|
-
"summary": "Deployment Apex testing level.",
|
|
451
|
+
"job-id": {
|
|
452
|
+
"char": "i",
|
|
453
|
+
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
454
|
+
"name": "job-id",
|
|
455
|
+
"summary": "Job ID of the deploy operation you want to check the status of.",
|
|
513
456
|
"hasDynamicHelp": false,
|
|
514
457
|
"multiple": false,
|
|
515
|
-
"options": [
|
|
516
|
-
"NoTestRun",
|
|
517
|
-
"RunSpecifiedTests",
|
|
518
|
-
"RunLocalTests",
|
|
519
|
-
"RunAllTestsInOrg"
|
|
520
|
-
],
|
|
521
458
|
"type": "option"
|
|
522
459
|
},
|
|
523
|
-
"
|
|
524
|
-
"aliases": [
|
|
525
|
-
"noprompt"
|
|
526
|
-
],
|
|
460
|
+
"use-most-recent": {
|
|
527
461
|
"char": "r",
|
|
528
|
-
"
|
|
529
|
-
"name": "
|
|
530
|
-
"summary": "
|
|
462
|
+
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent operation was more than 3 days ago, this flag won't find a job ID.",
|
|
463
|
+
"name": "use-most-recent",
|
|
464
|
+
"summary": "Use the job ID of the most recent deploy operation.",
|
|
531
465
|
"allowNo": false,
|
|
532
466
|
"type": "boolean"
|
|
533
467
|
},
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"name": "
|
|
538
|
-
"summary": "
|
|
539
|
-
"delimiter": ",",
|
|
468
|
+
"coverage-formatters": {
|
|
469
|
+
"description": "For multiple formatters, repeat the flag for each formatter.\n--coverage-formatters lcov --coverage-formatters clover",
|
|
470
|
+
"helpGroup": "Test",
|
|
471
|
+
"name": "coverage-formatters",
|
|
472
|
+
"summary": "Format of the code coverage results.",
|
|
540
473
|
"hasDynamicHelp": false,
|
|
541
474
|
"multiple": true,
|
|
542
|
-
"
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
"
|
|
475
|
+
"options": [
|
|
476
|
+
"clover",
|
|
477
|
+
"cobertura",
|
|
478
|
+
"html-spa",
|
|
479
|
+
"html",
|
|
480
|
+
"json",
|
|
481
|
+
"json-summary",
|
|
482
|
+
"lcovonly",
|
|
483
|
+
"none",
|
|
484
|
+
"teamcity",
|
|
485
|
+
"text",
|
|
486
|
+
"text-summary"
|
|
547
487
|
],
|
|
548
|
-
"char": "p",
|
|
549
|
-
"deprecateAliases": true,
|
|
550
|
-
"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.",
|
|
551
|
-
"name": "source-dir",
|
|
552
|
-
"summary": "Source file paths to delete.",
|
|
553
|
-
"delimiter": ",",
|
|
554
|
-
"hasDynamicHelp": false,
|
|
555
|
-
"multiple": true,
|
|
556
488
|
"type": "option"
|
|
557
489
|
},
|
|
558
|
-
"
|
|
559
|
-
"
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
"char": "t",
|
|
563
|
-
"deprecateAliases": true,
|
|
564
|
-
"exclusive": [
|
|
565
|
-
"check-only"
|
|
566
|
-
],
|
|
567
|
-
"name": "track-source",
|
|
568
|
-
"summary": "If the delete succeeds, update the source tracking information.",
|
|
490
|
+
"junit": {
|
|
491
|
+
"helpGroup": "Test",
|
|
492
|
+
"name": "junit",
|
|
493
|
+
"summary": "Output JUnit test results.",
|
|
569
494
|
"allowNo": false,
|
|
570
495
|
"type": "boolean"
|
|
571
496
|
},
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
497
|
+
"results-dir": {
|
|
498
|
+
"helpGroup": "Test",
|
|
499
|
+
"name": "results-dir",
|
|
500
|
+
"relationships": [
|
|
501
|
+
{
|
|
502
|
+
"type": "some",
|
|
503
|
+
"flags": [
|
|
504
|
+
"coverage-formatters",
|
|
505
|
+
"junit"
|
|
506
|
+
]
|
|
507
|
+
}
|
|
579
508
|
],
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
"type": "boolean"
|
|
509
|
+
"summary": "Output directory for code coverage and JUnit results; defaults to the deploy ID.",
|
|
510
|
+
"hasDynamicHelp": false,
|
|
511
|
+
"multiple": false,
|
|
512
|
+
"type": "option"
|
|
585
513
|
},
|
|
586
|
-
"
|
|
587
|
-
"
|
|
588
|
-
"
|
|
589
|
-
"
|
|
590
|
-
"
|
|
514
|
+
"wait": {
|
|
515
|
+
"char": "w",
|
|
516
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume the deployment, run \"<%= config.bin %> project deploy resume\". To check the status of the deployment, run \"<%= config.bin %> project deploy report\".",
|
|
517
|
+
"name": "wait",
|
|
518
|
+
"summary": "Number of minutes to wait for command to complete and display results.",
|
|
519
|
+
"hasDynamicHelp": true,
|
|
520
|
+
"helpValue": "<minutes>",
|
|
521
|
+
"multiple": false,
|
|
522
|
+
"type": "option"
|
|
591
523
|
}
|
|
592
524
|
},
|
|
593
525
|
"hasDynamicHelp": true,
|
|
594
526
|
"hiddenAliases": [],
|
|
595
|
-
"id": "project:
|
|
527
|
+
"id": "project:deploy:report",
|
|
596
528
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
597
529
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
598
530
|
"pluginType": "core",
|
|
599
531
|
"strict": true,
|
|
600
|
-
"summary": "
|
|
532
|
+
"summary": "Check or poll for the status of a deploy operation.",
|
|
601
533
|
"enableJsonFlag": true,
|
|
602
|
-
"requiresProject": true,
|
|
603
534
|
"isESM": true,
|
|
604
535
|
"relativePath": [
|
|
605
536
|
"lib",
|
|
606
537
|
"commands",
|
|
607
538
|
"project",
|
|
608
|
-
"
|
|
609
|
-
"
|
|
539
|
+
"deploy",
|
|
540
|
+
"report.js"
|
|
610
541
|
],
|
|
611
542
|
"aliasPermutations": [
|
|
612
|
-
"
|
|
613
|
-
"
|
|
614
|
-
"
|
|
615
|
-
"
|
|
616
|
-
"
|
|
617
|
-
"
|
|
543
|
+
"deploy:metadata:report",
|
|
544
|
+
"metadata:deploy:report",
|
|
545
|
+
"metadata:report:deploy",
|
|
546
|
+
"deploy:report:metadata",
|
|
547
|
+
"report:deploy:metadata",
|
|
548
|
+
"report:metadata:deploy"
|
|
618
549
|
],
|
|
619
550
|
"permutations": [
|
|
620
|
-
"project:
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
"project:
|
|
624
|
-
"
|
|
625
|
-
"
|
|
551
|
+
"project:deploy:report",
|
|
552
|
+
"deploy:project:report",
|
|
553
|
+
"deploy:report:project",
|
|
554
|
+
"project:report:deploy",
|
|
555
|
+
"report:project:deploy",
|
|
556
|
+
"report:deploy:project"
|
|
626
557
|
]
|
|
627
558
|
},
|
|
628
|
-
"project:
|
|
559
|
+
"project:deploy:resume": {
|
|
629
560
|
"aliases": [
|
|
630
|
-
"
|
|
561
|
+
"deploy:metadata:resume"
|
|
631
562
|
],
|
|
632
563
|
"args": {},
|
|
633
564
|
"deprecateAliases": true,
|
|
634
|
-
"description": "
|
|
565
|
+
"description": "Use this command to resume watching a deploy operation if the original command times out or you specified the --async flag. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations. This command doesn't resume the original operation itself, because the operation always continues after you've started it, regardless of whether you're watching it or not. When the deploy completes, source tracking information is updated as needed.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
|
|
635
566
|
"examples": [
|
|
636
|
-
"
|
|
567
|
+
"Resume watching a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
568
|
+
"Resume watching the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
637
569
|
],
|
|
638
570
|
"flags": {
|
|
639
571
|
"json": {
|
|
@@ -651,117 +583,196 @@
|
|
|
651
583
|
"multiple": false,
|
|
652
584
|
"type": "option"
|
|
653
585
|
},
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"
|
|
586
|
+
"concise": {
|
|
587
|
+
"exclusive": [
|
|
588
|
+
"verbose"
|
|
657
589
|
],
|
|
658
|
-
"
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"multiple": false,
|
|
663
|
-
"type": "option"
|
|
590
|
+
"name": "concise",
|
|
591
|
+
"summary": "Show concise output of the deploy operation result.",
|
|
592
|
+
"allowNo": false,
|
|
593
|
+
"type": "boolean"
|
|
664
594
|
},
|
|
665
|
-
"
|
|
666
|
-
"
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
"
|
|
670
|
-
"name": "loglevel",
|
|
595
|
+
"job-id": {
|
|
596
|
+
"char": "i",
|
|
597
|
+
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
598
|
+
"name": "job-id",
|
|
599
|
+
"summary": "Job ID of the deploy operation you want to resume.",
|
|
671
600
|
"hasDynamicHelp": false,
|
|
672
601
|
"multiple": false,
|
|
673
602
|
"type": "option"
|
|
674
603
|
},
|
|
675
|
-
"
|
|
676
|
-
"
|
|
677
|
-
|
|
678
|
-
|
|
604
|
+
"use-most-recent": {
|
|
605
|
+
"char": "r",
|
|
606
|
+
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent operation was more than 3 days ago, this flag won't find a job ID.",
|
|
607
|
+
"name": "use-most-recent",
|
|
608
|
+
"summary": "Use the job ID of the most recent deploy operation.",
|
|
609
|
+
"allowNo": false,
|
|
610
|
+
"type": "boolean"
|
|
611
|
+
},
|
|
612
|
+
"verbose": {
|
|
613
|
+
"exclusive": [
|
|
614
|
+
"concise"
|
|
679
615
|
],
|
|
680
|
-
"
|
|
681
|
-
"
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
|
|
685
|
-
|
|
616
|
+
"name": "verbose",
|
|
617
|
+
"summary": "Show verbose output of the deploy operation result.",
|
|
618
|
+
"allowNo": false,
|
|
619
|
+
"type": "boolean"
|
|
620
|
+
},
|
|
621
|
+
"wait": {
|
|
622
|
+
"char": "w",
|
|
623
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy operation, run this command again. To check the status of the deploy operation, run \"<%= config.bin %> project deploy report\".",
|
|
624
|
+
"name": "wait",
|
|
625
|
+
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
686
626
|
"hasDynamicHelp": true,
|
|
627
|
+
"helpValue": "<minutes>",
|
|
687
628
|
"multiple": false,
|
|
688
629
|
"type": "option"
|
|
689
630
|
},
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
|
|
631
|
+
"coverage-formatters": {
|
|
632
|
+
"description": "For multiple formatters, repeat the flag for each formatter.\n--coverage-formatters lcov --coverage-formatters clover",
|
|
633
|
+
"helpGroup": "Test",
|
|
634
|
+
"name": "coverage-formatters",
|
|
635
|
+
"summary": "Format of the code coverage results.",
|
|
636
|
+
"hasDynamicHelp": false,
|
|
637
|
+
"multiple": true,
|
|
638
|
+
"options": [
|
|
639
|
+
"clover",
|
|
640
|
+
"cobertura",
|
|
641
|
+
"html-spa",
|
|
642
|
+
"html",
|
|
643
|
+
"json",
|
|
644
|
+
"json-summary",
|
|
645
|
+
"lcovonly",
|
|
646
|
+
"none",
|
|
647
|
+
"teamcity",
|
|
648
|
+
"text",
|
|
649
|
+
"text-summary"
|
|
693
650
|
],
|
|
694
|
-
"
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"
|
|
651
|
+
"type": "option"
|
|
652
|
+
},
|
|
653
|
+
"junit": {
|
|
654
|
+
"helpGroup": "Test",
|
|
655
|
+
"name": "junit",
|
|
656
|
+
"summary": "Output JUnit test results.",
|
|
698
657
|
"allowNo": false,
|
|
699
658
|
"type": "boolean"
|
|
659
|
+
},
|
|
660
|
+
"results-dir": {
|
|
661
|
+
"helpGroup": "Test",
|
|
662
|
+
"name": "results-dir",
|
|
663
|
+
"relationships": [
|
|
664
|
+
{
|
|
665
|
+
"type": "some",
|
|
666
|
+
"flags": [
|
|
667
|
+
"coverage-formatters",
|
|
668
|
+
"junit"
|
|
669
|
+
]
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"summary": "Output directory for code coverage and JUnit results; defaults to the deploy ID.",
|
|
673
|
+
"hasDynamicHelp": false,
|
|
674
|
+
"multiple": false,
|
|
675
|
+
"type": "option"
|
|
700
676
|
}
|
|
701
677
|
},
|
|
702
678
|
"hasDynamicHelp": true,
|
|
703
679
|
"hiddenAliases": [],
|
|
704
|
-
"id": "project:
|
|
680
|
+
"id": "project:deploy:resume",
|
|
705
681
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
706
682
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
707
683
|
"pluginType": "core",
|
|
708
684
|
"strict": true,
|
|
709
|
-
"summary": "
|
|
685
|
+
"summary": "Resume watching a deploy operation and update source tracking when the deploy completes.",
|
|
710
686
|
"enableJsonFlag": true,
|
|
711
|
-
"
|
|
687
|
+
"envVariablesSection": {
|
|
688
|
+
"header": "ENVIRONMENT VARIABLES",
|
|
689
|
+
"body": [
|
|
690
|
+
{
|
|
691
|
+
"name": "SF_USE_PROGRESS_BAR",
|
|
692
|
+
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
693
|
+
}
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"errorCodes": {
|
|
697
|
+
"header": "ERROR CODES",
|
|
698
|
+
"body": [
|
|
699
|
+
{
|
|
700
|
+
"name": "Succeeded (0)",
|
|
701
|
+
"description": "The deploy succeeded."
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "Canceled (1)",
|
|
705
|
+
"description": "The deploy was canceled."
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "Failed (1)",
|
|
709
|
+
"description": "The deploy failed."
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "SucceededPartial (68)",
|
|
713
|
+
"description": "The deploy partially succeeded."
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "InProgress (69)",
|
|
717
|
+
"description": "The deploy is in progress."
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "Pending (69)",
|
|
721
|
+
"description": "The deploy is pending."
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "Canceling (69)",
|
|
725
|
+
"description": "The deploy is being canceled."
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
},
|
|
712
729
|
"isESM": true,
|
|
713
730
|
"relativePath": [
|
|
714
731
|
"lib",
|
|
715
732
|
"commands",
|
|
716
733
|
"project",
|
|
717
|
-
"
|
|
718
|
-
"
|
|
734
|
+
"deploy",
|
|
735
|
+
"resume.js"
|
|
719
736
|
],
|
|
720
737
|
"aliasPermutations": [
|
|
721
|
-
"
|
|
722
|
-
"
|
|
723
|
-
"
|
|
724
|
-
"
|
|
725
|
-
"
|
|
726
|
-
"
|
|
727
|
-
"tracking:source:force:clear",
|
|
728
|
-
"tracking:source:clear:force",
|
|
729
|
-
"force:tracking:clear:source",
|
|
730
|
-
"tracking:force:clear:source",
|
|
731
|
-
"tracking:clear:force:source",
|
|
732
|
-
"tracking:clear:source:force",
|
|
733
|
-
"force:source:clear:tracking",
|
|
734
|
-
"source:force:clear:tracking",
|
|
735
|
-
"source:clear:force:tracking",
|
|
736
|
-
"source:clear:tracking:force",
|
|
737
|
-
"force:clear:source:tracking",
|
|
738
|
-
"clear:force:source:tracking",
|
|
739
|
-
"clear:source:force:tracking",
|
|
740
|
-
"clear:source:tracking:force",
|
|
741
|
-
"force:clear:tracking:source",
|
|
742
|
-
"clear:force:tracking:source",
|
|
743
|
-
"clear:tracking:force:source",
|
|
744
|
-
"clear:tracking:source:force"
|
|
738
|
+
"deploy:metadata:resume",
|
|
739
|
+
"metadata:deploy:resume",
|
|
740
|
+
"metadata:resume:deploy",
|
|
741
|
+
"deploy:resume:metadata",
|
|
742
|
+
"resume:deploy:metadata",
|
|
743
|
+
"resume:metadata:deploy"
|
|
745
744
|
],
|
|
746
745
|
"permutations": [
|
|
747
|
-
"project:
|
|
748
|
-
"
|
|
749
|
-
"
|
|
750
|
-
"project:
|
|
751
|
-
"
|
|
752
|
-
"
|
|
746
|
+
"project:deploy:resume",
|
|
747
|
+
"deploy:project:resume",
|
|
748
|
+
"deploy:resume:project",
|
|
749
|
+
"project:resume:deploy",
|
|
750
|
+
"resume:project:deploy",
|
|
751
|
+
"resume:deploy:project"
|
|
753
752
|
]
|
|
754
753
|
},
|
|
755
|
-
"project:deploy:
|
|
754
|
+
"project:deploy:start": {
|
|
756
755
|
"aliases": [
|
|
757
|
-
"deploy:metadata
|
|
756
|
+
"deploy:metadata"
|
|
758
757
|
],
|
|
759
758
|
"args": {},
|
|
760
759
|
"deprecateAliases": true,
|
|
761
|
-
"description": "
|
|
760
|
+
"description": "You must run this command from within a project.\n\nMetadata components are deployed in source format by default. Deploy them in metadata format by specifying the --metadata-dir flag, which specifies the root directory or ZIP file that contains the metadata formatted files you want to deploy.\n\nIf your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production orgs, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo deploy 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.",
|
|
762
761
|
"examples": [
|
|
763
|
-
"
|
|
764
|
-
"
|
|
762
|
+
"Deploy local changes not in the org; uses your default org:\n<%= config.bin %> <%= command.id %>",
|
|
763
|
+
"Deploy all source files in the \"force-app\" directory to an org with alias \"my-scratch\"; show only concise output, in other words don't print a list of all the source that was deployed:\n<%= config.bin %> <%= command.id %> --source-dir force-app --target-org my-scratch --concise",
|
|
764
|
+
"Deploy all the Apex classes and custom objects that are in the \"force-app\" directory. The list views, layouts, etc, that are associated with the custom objects are also deployed. Both examples are equivalent:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes force-app/main/default/objects\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/main/default/objects",
|
|
765
|
+
"Deploy all Apex classes that are in all package directories defined in the \"sfdx-project.json\" file:\n<%= config.bin %> <%= command.id %> --metadata ApexClass",
|
|
766
|
+
"Deploy a specific Apex class; ignore any conflicts between the local project and org (be careful with this flag, because it will overwrite the Apex class in the org if there are conflicts!):\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --ignore-conflicts",
|
|
767
|
+
"Deploy specific Apex classes that match a pattern; in this example, deploy Apex classes whose names contain the string \"MyApex\". Also ignore any deployment warnings (again, be careful with this flag! You typically want to see the warnings):\n<%= config.bin %> <%= command.id %> --metadata 'ApexClass:MyApex*' --ignore-warnings",
|
|
768
|
+
"Deploy a custom object called ExcitingObject that's in the SBQQ namespace:\nsf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject",
|
|
769
|
+
"Deploy all custom objects in the SBQQ namespace by using a wildcard and quotes:\nsf <%= command.id %> --metadata 'CustomObject:SBQQ__*'",
|
|
770
|
+
"Deploy all custom objects and Apex classes found in all defined package directories (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --metadata CustomObject ApexClass\n<%= config.bin %> <%= command.id %> --metadata CustomObject --metadata ApexClass",
|
|
771
|
+
"Deploy all Apex classes and a profile that has a space in its name:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --metadata \"Profile:My Profile\"",
|
|
772
|
+
"Deploy all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml",
|
|
773
|
+
"Run the tests that aren’t in any managed packages as part of a deployment:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests",
|
|
774
|
+
"Deploy all metadata formatted files in the \"MDAPI\" directory:\n<%= config.bin %> <%= command.id %> --metadata-dir MDAPI",
|
|
775
|
+
"Deploy all metadata formatted files in the \"MDAPI\" directory; items listed in the MDAPI/destructiveChangesPre.xml and MDAPI/destructiveChangesPost.xml manifests are immediately eligible for deletion rather than stored in the Recycle Bin:\n<%= config.bin %> <%= command.id %> --metadata-dir MDAPI --purge-on-delete"
|
|
765
776
|
],
|
|
766
777
|
"flags": {
|
|
767
778
|
"json": {
|
|
@@ -779,17 +790,17 @@
|
|
|
779
790
|
"multiple": false,
|
|
780
791
|
"type": "option"
|
|
781
792
|
},
|
|
782
|
-
"
|
|
783
|
-
"char": "
|
|
784
|
-
"
|
|
785
|
-
"
|
|
786
|
-
"summary": "
|
|
787
|
-
"hasDynamicHelp":
|
|
793
|
+
"api-version": {
|
|
794
|
+
"char": "a",
|
|
795
|
+
"description": "Use this flag to override the default API version with the API version of your package.xml file. The default API version is the latest version supported by the CLI.",
|
|
796
|
+
"name": "api-version",
|
|
797
|
+
"summary": "Target API version for the deploy.",
|
|
798
|
+
"hasDynamicHelp": false,
|
|
788
799
|
"multiple": false,
|
|
789
800
|
"type": "option"
|
|
790
801
|
},
|
|
791
802
|
"async": {
|
|
792
|
-
"description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume
|
|
803
|
+
"description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"<%= config.bin %> project deploy resume\". To check the status of the deployment, run \"<%= config.bin %> project deploy report\".",
|
|
793
804
|
"exclusive": [
|
|
794
805
|
"wait"
|
|
795
806
|
],
|
|
@@ -798,143 +809,108 @@
|
|
|
798
809
|
"allowNo": false,
|
|
799
810
|
"type": "boolean"
|
|
800
811
|
},
|
|
801
|
-
"
|
|
802
|
-
"
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"type": "
|
|
812
|
+
"concise": {
|
|
813
|
+
"exclusive": [
|
|
814
|
+
"verbose"
|
|
815
|
+
],
|
|
816
|
+
"name": "concise",
|
|
817
|
+
"summary": "Show concise output of the deploy result.",
|
|
818
|
+
"allowNo": false,
|
|
819
|
+
"type": "boolean"
|
|
809
820
|
},
|
|
810
|
-
"
|
|
821
|
+
"dry-run": {
|
|
822
|
+
"name": "dry-run",
|
|
823
|
+
"summary": "Validate deploy and run Apex tests but don’t save to the org.",
|
|
824
|
+
"allowNo": false,
|
|
825
|
+
"type": "boolean"
|
|
826
|
+
},
|
|
827
|
+
"ignore-conflicts": {
|
|
828
|
+
"char": "c",
|
|
829
|
+
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
830
|
+
"name": "ignore-conflicts",
|
|
831
|
+
"summary": "Ignore conflicts and deploy local files, even if they overwrite changes in the org.",
|
|
832
|
+
"allowNo": false,
|
|
833
|
+
"type": "boolean"
|
|
834
|
+
},
|
|
835
|
+
"ignore-errors": {
|
|
811
836
|
"char": "r",
|
|
812
|
-
"description": "
|
|
813
|
-
"name": "
|
|
814
|
-
"summary": "
|
|
837
|
+
"description": "Never use this flag when deploying to a production org. If you specify it, components without errors are deployed and components with errors are skipped, and could result in an inconsistent production org.",
|
|
838
|
+
"name": "ignore-errors",
|
|
839
|
+
"summary": "Ignore any errors and don’t roll back deployment.",
|
|
815
840
|
"allowNo": false,
|
|
816
841
|
"type": "boolean"
|
|
817
842
|
},
|
|
818
|
-
"
|
|
819
|
-
"char": "
|
|
820
|
-
"description": "If
|
|
843
|
+
"ignore-warnings": {
|
|
844
|
+
"char": "g",
|
|
845
|
+
"description": "If you specify this flag, and a warning occurs, the success status of the deployment is set to true. If you don't specify this flag, and a warning occurs, then the success status is set to false, and the warning is treated like an error.\n\nThis flag is useful in a CI environment and your deployment includes destructive changes; if you try to delete a component that doesn't exist in the org, you get a warning. In this case, to ensure that the command returns a success value of true, specify this flag.",
|
|
846
|
+
"name": "ignore-warnings",
|
|
847
|
+
"summary": "Ignore warnings and allow a deployment to complete successfully.",
|
|
848
|
+
"allowNo": false,
|
|
849
|
+
"type": "boolean"
|
|
850
|
+
},
|
|
851
|
+
"manifest": {
|
|
852
|
+
"char": "x",
|
|
853
|
+
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
821
854
|
"exclusive": [
|
|
822
|
-
"
|
|
855
|
+
"source-dir",
|
|
856
|
+
"metadata",
|
|
857
|
+
"metadata-dir"
|
|
823
858
|
],
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
"helpValue": "<minutes>",
|
|
828
|
-
"multiple": false,
|
|
829
|
-
"type": "option"
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
"hasDynamicHelp": true,
|
|
833
|
-
"hiddenAliases": [],
|
|
834
|
-
"id": "project:deploy:cancel",
|
|
835
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
836
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
837
|
-
"pluginType": "core",
|
|
838
|
-
"strict": true,
|
|
839
|
-
"summary": "Cancel a deploy operation.",
|
|
840
|
-
"enableJsonFlag": true,
|
|
841
|
-
"isESM": true,
|
|
842
|
-
"relativePath": [
|
|
843
|
-
"lib",
|
|
844
|
-
"commands",
|
|
845
|
-
"project",
|
|
846
|
-
"deploy",
|
|
847
|
-
"cancel.js"
|
|
848
|
-
],
|
|
849
|
-
"aliasPermutations": [
|
|
850
|
-
"deploy:metadata:cancel",
|
|
851
|
-
"metadata:deploy:cancel",
|
|
852
|
-
"metadata:cancel:deploy",
|
|
853
|
-
"deploy:cancel:metadata",
|
|
854
|
-
"cancel:deploy:metadata",
|
|
855
|
-
"cancel:metadata:deploy"
|
|
856
|
-
],
|
|
857
|
-
"permutations": [
|
|
858
|
-
"project:deploy:cancel",
|
|
859
|
-
"deploy:project:cancel",
|
|
860
|
-
"deploy:cancel:project",
|
|
861
|
-
"project:cancel:deploy",
|
|
862
|
-
"cancel:project:deploy",
|
|
863
|
-
"cancel:deploy:project"
|
|
864
|
-
]
|
|
865
|
-
},
|
|
866
|
-
"project:deploy:preview": {
|
|
867
|
-
"aliases": [
|
|
868
|
-
"deploy:metadata:preview"
|
|
869
|
-
],
|
|
870
|
-
"args": {},
|
|
871
|
-
"deprecateAliases": true,
|
|
872
|
-
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of 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.",
|
|
873
|
-
"examples": [
|
|
874
|
-
"NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
|
|
875
|
-
"Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
876
|
-
"Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
877
|
-
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
878
|
-
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
879
|
-
],
|
|
880
|
-
"flags": {
|
|
881
|
-
"json": {
|
|
882
|
-
"description": "Format output as json.",
|
|
883
|
-
"helpGroup": "GLOBAL",
|
|
884
|
-
"name": "json",
|
|
885
|
-
"allowNo": false,
|
|
886
|
-
"type": "boolean"
|
|
887
|
-
},
|
|
888
|
-
"flags-dir": {
|
|
889
|
-
"helpGroup": "GLOBAL",
|
|
890
|
-
"name": "flags-dir",
|
|
891
|
-
"summary": "Import flag values from a directory.",
|
|
859
|
+
"helpGroup": "Source Format",
|
|
860
|
+
"name": "manifest",
|
|
861
|
+
"summary": "Full file path for manifest (package.xml) of components to deploy.",
|
|
892
862
|
"hasDynamicHelp": false,
|
|
893
863
|
"multiple": false,
|
|
894
864
|
"type": "option"
|
|
895
865
|
},
|
|
896
|
-
"
|
|
897
|
-
"char": "
|
|
898
|
-
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
899
|
-
"name": "ignore-conflicts",
|
|
900
|
-
"summary": "Don't display conflicts in preview of the deployment.",
|
|
901
|
-
"allowNo": false,
|
|
902
|
-
"type": "boolean"
|
|
903
|
-
},
|
|
904
|
-
"manifest": {
|
|
905
|
-
"char": "x",
|
|
906
|
-
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
866
|
+
"metadata": {
|
|
867
|
+
"char": "m",
|
|
907
868
|
"exclusive": [
|
|
869
|
+
"manifest",
|
|
908
870
|
"source-dir",
|
|
909
|
-
"metadata"
|
|
871
|
+
"metadata-dir"
|
|
910
872
|
],
|
|
911
|
-
"
|
|
912
|
-
"
|
|
873
|
+
"helpGroup": "Source Format",
|
|
874
|
+
"name": "metadata",
|
|
875
|
+
"summary": "Metadata component names to deploy. Wildcards (`*` ) supported as long as you use quotes, such as `ApexClass:MyClass*`.",
|
|
913
876
|
"hasDynamicHelp": false,
|
|
914
|
-
"multiple":
|
|
877
|
+
"multiple": true,
|
|
915
878
|
"type": "option"
|
|
916
879
|
},
|
|
917
|
-
"metadata": {
|
|
918
|
-
"char": "m",
|
|
880
|
+
"metadata-dir": {
|
|
919
881
|
"exclusive": [
|
|
920
882
|
"manifest",
|
|
921
|
-
"source-dir"
|
|
883
|
+
"source-dir",
|
|
884
|
+
"metadata"
|
|
922
885
|
],
|
|
923
|
-
"
|
|
924
|
-
"
|
|
886
|
+
"helpGroup": "Metadata API Format",
|
|
887
|
+
"name": "metadata-dir",
|
|
888
|
+
"summary": "Root of directory or zip file of metadata formatted files to deploy.",
|
|
925
889
|
"hasDynamicHelp": false,
|
|
926
|
-
"multiple":
|
|
890
|
+
"multiple": false,
|
|
927
891
|
"type": "option"
|
|
928
892
|
},
|
|
893
|
+
"single-package": {
|
|
894
|
+
"dependsOn": [
|
|
895
|
+
"metadata-dir"
|
|
896
|
+
],
|
|
897
|
+
"helpGroup": "Metadata API Format",
|
|
898
|
+
"name": "single-package",
|
|
899
|
+
"summary": "Indicates that the metadata zip file points to a directory structure for a single package.",
|
|
900
|
+
"allowNo": false,
|
|
901
|
+
"type": "boolean"
|
|
902
|
+
},
|
|
929
903
|
"source-dir": {
|
|
930
904
|
"char": "d",
|
|
931
905
|
"description": "The supplied path 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 subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
|
|
932
906
|
"exclusive": [
|
|
933
907
|
"manifest",
|
|
934
|
-
"metadata"
|
|
908
|
+
"metadata",
|
|
909
|
+
"metadata-dir"
|
|
935
910
|
],
|
|
911
|
+
"helpGroup": "Source Format",
|
|
936
912
|
"name": "source-dir",
|
|
937
|
-
"summary": "Path to the local source files to
|
|
913
|
+
"summary": "Path to the local source files to deploy.",
|
|
938
914
|
"hasDynamicHelp": false,
|
|
939
915
|
"multiple": true,
|
|
940
916
|
"type": "option"
|
|
@@ -949,120 +925,32 @@
|
|
|
949
925
|
"multiple": false,
|
|
950
926
|
"type": "option"
|
|
951
927
|
},
|
|
952
|
-
"
|
|
953
|
-
"
|
|
954
|
-
"
|
|
955
|
-
"
|
|
956
|
-
"
|
|
957
|
-
|
|
958
|
-
},
|
|
959
|
-
"hasDynamicHelp": true,
|
|
960
|
-
"hiddenAliases": [],
|
|
961
|
-
"id": "project:deploy:preview",
|
|
962
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
963
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
964
|
-
"pluginType": "core",
|
|
965
|
-
"strict": true,
|
|
966
|
-
"summary": "Preview a deployment to see what will deploy to the org, the potential conflicts, and the ignored files.",
|
|
967
|
-
"enableJsonFlag": true,
|
|
968
|
-
"requiresProject": true,
|
|
969
|
-
"isESM": true,
|
|
970
|
-
"relativePath": [
|
|
971
|
-
"lib",
|
|
972
|
-
"commands",
|
|
973
|
-
"project",
|
|
974
|
-
"deploy",
|
|
975
|
-
"preview.js"
|
|
976
|
-
],
|
|
977
|
-
"aliasPermutations": [
|
|
978
|
-
"deploy:metadata:preview",
|
|
979
|
-
"metadata:deploy:preview",
|
|
980
|
-
"metadata:preview:deploy",
|
|
981
|
-
"deploy:preview:metadata",
|
|
982
|
-
"preview:deploy:metadata",
|
|
983
|
-
"preview:metadata:deploy"
|
|
984
|
-
],
|
|
985
|
-
"permutations": [
|
|
986
|
-
"project:deploy:preview",
|
|
987
|
-
"deploy:project:preview",
|
|
988
|
-
"deploy:preview:project",
|
|
989
|
-
"project:preview:deploy",
|
|
990
|
-
"preview:project:deploy",
|
|
991
|
-
"preview:deploy:project"
|
|
992
|
-
]
|
|
993
|
-
},
|
|
994
|
-
"project:deploy:quick": {
|
|
995
|
-
"aliases": [
|
|
996
|
-
"deploy:metadata:quick"
|
|
997
|
-
],
|
|
998
|
-
"args": {},
|
|
999
|
-
"deprecateAliases": true,
|
|
1000
|
-
"description": "Before you run this command, first create a validated deployment with the \"<%= config.bin %> project deploy validate\" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.\n\nExecuting this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nThis command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.\n\nNote: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. Use \"<%= config.bin %> project deploy start\" instead.",
|
|
1001
|
-
"examples": [
|
|
1002
|
-
"Run a quick deploy to your default org using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
1003
|
-
"Asynchronously run a quick deploy of the most recently validated deployment to an org with alias \"my-prod-org\":\n<%= config.bin %> <%= command.id %> --async --use-most-recent --target-org my-prod-org"
|
|
1004
|
-
],
|
|
1005
|
-
"flags": {
|
|
1006
|
-
"json": {
|
|
1007
|
-
"description": "Format output as json.",
|
|
1008
|
-
"helpGroup": "GLOBAL",
|
|
1009
|
-
"name": "json",
|
|
1010
|
-
"allowNo": false,
|
|
1011
|
-
"type": "boolean"
|
|
1012
|
-
},
|
|
1013
|
-
"flags-dir": {
|
|
1014
|
-
"helpGroup": "GLOBAL",
|
|
1015
|
-
"name": "flags-dir",
|
|
1016
|
-
"summary": "Import flag values from a directory.",
|
|
928
|
+
"tests": {
|
|
929
|
+
"char": "t",
|
|
930
|
+
"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\"",
|
|
931
|
+
"helpGroup": "Test",
|
|
932
|
+
"name": "tests",
|
|
933
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
1017
934
|
"hasDynamicHelp": false,
|
|
1018
|
-
"multiple":
|
|
935
|
+
"multiple": true,
|
|
1019
936
|
"type": "option"
|
|
1020
937
|
},
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
"
|
|
1027
|
-
"summary": "Run the command asynchronously.",
|
|
1028
|
-
"allowNo": false,
|
|
1029
|
-
"type": "boolean"
|
|
1030
|
-
},
|
|
1031
|
-
"concise": {
|
|
1032
|
-
"exclusive": [
|
|
1033
|
-
"verbose"
|
|
1034
|
-
],
|
|
1035
|
-
"name": "concise",
|
|
1036
|
-
"summary": "Show concise output of the deploy result.",
|
|
1037
|
-
"allowNo": false,
|
|
1038
|
-
"type": "boolean"
|
|
1039
|
-
},
|
|
1040
|
-
"job-id": {
|
|
1041
|
-
"char": "i",
|
|
1042
|
-
"description": "The job ID is valid for 10 days from when you started the validation.",
|
|
1043
|
-
"name": "job-id",
|
|
1044
|
-
"summary": "Job ID of the deployment you want to quick deploy.",
|
|
938
|
+
"test-level": {
|
|
939
|
+
"char": "l",
|
|
940
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\n If you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
|
|
941
|
+
"helpGroup": "Test",
|
|
942
|
+
"name": "test-level",
|
|
943
|
+
"summary": "Deployment Apex testing level.",
|
|
1045
944
|
"hasDynamicHelp": false,
|
|
1046
945
|
"multiple": false,
|
|
946
|
+
"options": [
|
|
947
|
+
"NoTestRun",
|
|
948
|
+
"RunSpecifiedTests",
|
|
949
|
+
"RunLocalTests",
|
|
950
|
+
"RunAllTestsInOrg"
|
|
951
|
+
],
|
|
1047
952
|
"type": "option"
|
|
1048
953
|
},
|
|
1049
|
-
"target-org": {
|
|
1050
|
-
"char": "o",
|
|
1051
|
-
"name": "target-org",
|
|
1052
|
-
"noCacheDefault": true,
|
|
1053
|
-
"summary": "Username or alias of the target org.",
|
|
1054
|
-
"hasDynamicHelp": true,
|
|
1055
|
-
"multiple": false,
|
|
1056
|
-
"type": "option"
|
|
1057
|
-
},
|
|
1058
|
-
"use-most-recent": {
|
|
1059
|
-
"char": "r",
|
|
1060
|
-
"description": "For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won't find a job ID.",
|
|
1061
|
-
"name": "use-most-recent",
|
|
1062
|
-
"summary": "Use the job ID of the most recently validated deployment.",
|
|
1063
|
-
"allowNo": false,
|
|
1064
|
-
"type": "boolean"
|
|
1065
|
-
},
|
|
1066
954
|
"verbose": {
|
|
1067
955
|
"exclusive": [
|
|
1068
956
|
"concise"
|
|
@@ -1074,149 +962,57 @@
|
|
|
1074
962
|
},
|
|
1075
963
|
"wait": {
|
|
1076
964
|
"char": "w",
|
|
1077
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume
|
|
965
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume the deployment, run \"<%= config.bin %> project deploy resume\". To check the status of the deployment, run \"<%= config.bin %> project deploy report\".",
|
|
1078
966
|
"exclusive": [
|
|
1079
967
|
"async"
|
|
1080
968
|
],
|
|
1081
969
|
"name": "wait",
|
|
1082
|
-
"summary": "Number of minutes to wait for
|
|
1083
|
-
"default": "33 minutes",
|
|
970
|
+
"summary": "Number of minutes to wait for command to complete and display results.",
|
|
1084
971
|
"hasDynamicHelp": true,
|
|
1085
972
|
"helpValue": "<minutes>",
|
|
1086
973
|
"multiple": false,
|
|
1087
974
|
"type": "option"
|
|
1088
975
|
},
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
"pluginType": "core",
|
|
1105
|
-
"strict": true,
|
|
1106
|
-
"summary": "Quickly deploy a validated deployment to an org.",
|
|
1107
|
-
"enableJsonFlag": true,
|
|
1108
|
-
"errorCodes": {
|
|
1109
|
-
"header": "ERROR CODES",
|
|
1110
|
-
"body": [
|
|
1111
|
-
{
|
|
1112
|
-
"name": "Succeeded (0)",
|
|
1113
|
-
"description": "The deploy succeeded."
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"name": "Canceled (1)",
|
|
1117
|
-
"description": "The deploy was canceled."
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"name": "Failed (1)",
|
|
1121
|
-
"description": "The deploy failed."
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
"name": "SucceededPartial (68)",
|
|
1125
|
-
"description": "The deploy partially succeeded."
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"name": "InProgress (69)",
|
|
1129
|
-
"description": "The deploy is in progress."
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"name": "Pending (69)",
|
|
1133
|
-
"description": "The deploy is pending."
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "Canceling (69)",
|
|
1137
|
-
"description": "The deploy is being canceled."
|
|
1138
|
-
}
|
|
1139
|
-
]
|
|
1140
|
-
},
|
|
1141
|
-
"isESM": true,
|
|
1142
|
-
"relativePath": [
|
|
1143
|
-
"lib",
|
|
1144
|
-
"commands",
|
|
1145
|
-
"project",
|
|
1146
|
-
"deploy",
|
|
1147
|
-
"quick.js"
|
|
1148
|
-
],
|
|
1149
|
-
"aliasPermutations": [
|
|
1150
|
-
"deploy:metadata:quick",
|
|
1151
|
-
"metadata:deploy:quick",
|
|
1152
|
-
"metadata:quick:deploy",
|
|
1153
|
-
"deploy:quick:metadata",
|
|
1154
|
-
"quick:deploy:metadata",
|
|
1155
|
-
"quick:metadata:deploy"
|
|
1156
|
-
],
|
|
1157
|
-
"permutations": [
|
|
1158
|
-
"project:deploy:quick",
|
|
1159
|
-
"deploy:project:quick",
|
|
1160
|
-
"deploy:quick:project",
|
|
1161
|
-
"project:quick:deploy",
|
|
1162
|
-
"quick:project:deploy",
|
|
1163
|
-
"quick:deploy:project"
|
|
1164
|
-
]
|
|
1165
|
-
},
|
|
1166
|
-
"project:deploy:report": {
|
|
1167
|
-
"aliases": [
|
|
1168
|
-
"deploy:metadata:report"
|
|
1169
|
-
],
|
|
1170
|
-
"args": {},
|
|
1171
|
-
"deprecateAliases": true,
|
|
1172
|
-
"description": "Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation. If you specify the --wait flag, the command polls for the status every second until the timeout of --wait minutes. If you don't specify the --wait flag, the command simply checks and displays the status of the deploy; the command doesn't poll for the status.\n\nYou typically don't specify the --target-org flag because the cached job already references the org to which you deployed. But if you run this command on a computer different than the one from which you deployed, then you must specify the --target-org and it must point to the same org.\n\nThis command doesn't update source tracking information.",
|
|
1173
|
-
"examples": [
|
|
1174
|
-
"Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
1175
|
-
"Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent",
|
|
1176
|
-
"Poll for the status using a job ID and target org:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2 --target-org me@my.org --wait 30"
|
|
1177
|
-
],
|
|
1178
|
-
"flags": {
|
|
1179
|
-
"json": {
|
|
1180
|
-
"description": "Format output as json.",
|
|
1181
|
-
"helpGroup": "GLOBAL",
|
|
1182
|
-
"name": "json",
|
|
976
|
+
"purge-on-delete": {
|
|
977
|
+
"helpGroup": "Delete",
|
|
978
|
+
"name": "purge-on-delete",
|
|
979
|
+
"relationships": [
|
|
980
|
+
{
|
|
981
|
+
"type": "some",
|
|
982
|
+
"flags": [
|
|
983
|
+
"pre-destructive-changes",
|
|
984
|
+
"manifest",
|
|
985
|
+
"metadata-dir",
|
|
986
|
+
"post-destructive-changes"
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"summary": "Specify that deleted components in the destructive changes manifest file are immediately eligible for deletion rather than being stored in the Recycle Bin.",
|
|
1183
991
|
"allowNo": false,
|
|
1184
992
|
"type": "boolean"
|
|
1185
993
|
},
|
|
1186
|
-
"
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
994
|
+
"pre-destructive-changes": {
|
|
995
|
+
"dependsOn": [
|
|
996
|
+
"manifest"
|
|
997
|
+
],
|
|
998
|
+
"helpGroup": "Delete",
|
|
999
|
+
"name": "pre-destructive-changes",
|
|
1000
|
+
"summary": "File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy.",
|
|
1190
1001
|
"hasDynamicHelp": false,
|
|
1191
1002
|
"multiple": false,
|
|
1192
1003
|
"type": "option"
|
|
1193
1004
|
},
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
"
|
|
1199
|
-
"
|
|
1200
|
-
"
|
|
1201
|
-
"type": "option"
|
|
1202
|
-
},
|
|
1203
|
-
"job-id": {
|
|
1204
|
-
"char": "i",
|
|
1205
|
-
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
1206
|
-
"name": "job-id",
|
|
1207
|
-
"summary": "Job ID of the deploy operation you want to check the status of.",
|
|
1005
|
+
"post-destructive-changes": {
|
|
1006
|
+
"dependsOn": [
|
|
1007
|
+
"manifest"
|
|
1008
|
+
],
|
|
1009
|
+
"helpGroup": "Delete",
|
|
1010
|
+
"name": "post-destructive-changes",
|
|
1011
|
+
"summary": "File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.",
|
|
1208
1012
|
"hasDynamicHelp": false,
|
|
1209
1013
|
"multiple": false,
|
|
1210
1014
|
"type": "option"
|
|
1211
1015
|
},
|
|
1212
|
-
"use-most-recent": {
|
|
1213
|
-
"char": "r",
|
|
1214
|
-
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent operation was more than 3 days ago, this flag won't find a job ID.",
|
|
1215
|
-
"name": "use-most-recent",
|
|
1216
|
-
"summary": "Use the job ID of the most recent deploy operation.",
|
|
1217
|
-
"allowNo": false,
|
|
1218
|
-
"type": "boolean"
|
|
1219
|
-
},
|
|
1220
1016
|
"coverage-formatters": {
|
|
1221
1017
|
"description": "For multiple formatters, repeat the flag for each formatter.\n--coverage-formatters lcov --coverage-formatters clover",
|
|
1222
1018
|
"helpGroup": "Test",
|
|
@@ -1262,62 +1058,110 @@
|
|
|
1262
1058
|
"hasDynamicHelp": false,
|
|
1263
1059
|
"multiple": false,
|
|
1264
1060
|
"type": "option"
|
|
1265
|
-
},
|
|
1266
|
-
"wait": {
|
|
1267
|
-
"char": "w",
|
|
1268
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume the deployment, run \"<%= config.bin %> project deploy resume\". To check the status of the deployment, run \"<%= config.bin %> project deploy report\".",
|
|
1269
|
-
"name": "wait",
|
|
1270
|
-
"summary": "Number of minutes to wait for command to complete and display results.",
|
|
1271
|
-
"hasDynamicHelp": true,
|
|
1272
|
-
"helpValue": "<minutes>",
|
|
1273
|
-
"multiple": false,
|
|
1274
|
-
"type": "option"
|
|
1275
1061
|
}
|
|
1276
1062
|
},
|
|
1277
1063
|
"hasDynamicHelp": true,
|
|
1278
1064
|
"hiddenAliases": [],
|
|
1279
|
-
"id": "project:deploy:
|
|
1065
|
+
"id": "project:deploy:start",
|
|
1280
1066
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1281
1067
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1282
1068
|
"pluginType": "core",
|
|
1283
1069
|
"strict": true,
|
|
1284
|
-
"summary": "
|
|
1070
|
+
"summary": "Deploy metadata to an org from your local project.",
|
|
1285
1071
|
"enableJsonFlag": true,
|
|
1072
|
+
"configurationVariablesSection": {
|
|
1073
|
+
"header": "CONFIGURATION VARIABLES",
|
|
1074
|
+
"body": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "target-org",
|
|
1077
|
+
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"name": "org-api-version",
|
|
1081
|
+
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
"envVariablesSection": {
|
|
1086
|
+
"header": "ENVIRONMENT VARIABLES",
|
|
1087
|
+
"body": [
|
|
1088
|
+
{
|
|
1089
|
+
"name": "SF_TARGET_ORG",
|
|
1090
|
+
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "SF_USE_PROGRESS_BAR",
|
|
1094
|
+
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
"errorCodes": {
|
|
1099
|
+
"header": "ERROR CODES",
|
|
1100
|
+
"body": [
|
|
1101
|
+
{
|
|
1102
|
+
"name": "Succeeded (0)",
|
|
1103
|
+
"description": "The deploy succeeded."
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "Canceled (1)",
|
|
1107
|
+
"description": "The deploy was canceled."
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "Failed (1)",
|
|
1111
|
+
"description": "The deploy failed."
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "SucceededPartial (68)",
|
|
1115
|
+
"description": "The deploy partially succeeded."
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "InProgress (69)",
|
|
1119
|
+
"description": "The deploy is in progress."
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "Pending (69)",
|
|
1123
|
+
"description": "The deploy is pending."
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "Canceling (69)",
|
|
1127
|
+
"description": "The deploy is being canceled."
|
|
1128
|
+
}
|
|
1129
|
+
]
|
|
1130
|
+
},
|
|
1286
1131
|
"isESM": true,
|
|
1287
1132
|
"relativePath": [
|
|
1288
1133
|
"lib",
|
|
1289
1134
|
"commands",
|
|
1290
1135
|
"project",
|
|
1291
1136
|
"deploy",
|
|
1292
|
-
"
|
|
1137
|
+
"start.js"
|
|
1293
1138
|
],
|
|
1294
1139
|
"aliasPermutations": [
|
|
1295
|
-
"deploy:metadata
|
|
1296
|
-
"metadata:deploy
|
|
1297
|
-
"metadata:report:deploy",
|
|
1298
|
-
"deploy:report:metadata",
|
|
1299
|
-
"report:deploy:metadata",
|
|
1300
|
-
"report:metadata:deploy"
|
|
1140
|
+
"deploy:metadata",
|
|
1141
|
+
"metadata:deploy"
|
|
1301
1142
|
],
|
|
1302
1143
|
"permutations": [
|
|
1303
|
-
"project:deploy:
|
|
1304
|
-
"deploy:project:
|
|
1305
|
-
"deploy:
|
|
1306
|
-
"project:
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1144
|
+
"project:deploy:start",
|
|
1145
|
+
"deploy:project:start",
|
|
1146
|
+
"deploy:start:project",
|
|
1147
|
+
"project:start:deploy",
|
|
1148
|
+
"start:project:deploy",
|
|
1149
|
+
"start:deploy:project"
|
|
1309
1150
|
]
|
|
1310
1151
|
},
|
|
1311
|
-
"project:deploy:
|
|
1152
|
+
"project:deploy:validate": {
|
|
1312
1153
|
"aliases": [
|
|
1313
|
-
"deploy:metadata:
|
|
1154
|
+
"deploy:metadata:validate"
|
|
1314
1155
|
],
|
|
1315
1156
|
"args": {},
|
|
1316
1157
|
"deprecateAliases": true,
|
|
1317
|
-
"description": "Use this command to
|
|
1158
|
+
"description": "Use this command to verify whether a deployment will succeed without actually deploying the metadata to your org. This command is similar to \"<%= config.bin %> project deploy start\", except you're required to run Apex tests, and the command returns a job ID rather than executing the deployment. If the validation succeeds, then you pass this job ID to the \"<%= config.bin %> project deploy quick\" command to actually deploy the metadata. This quick deploy takes less time because it skips running Apex tests. The job ID is valid for 10 days from when you started the validation. Validating first is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.\n\nYou must run this command from within a project.\n\nThis command doesn't support source-tracking. When you quick deploy with the resulting job ID, the source you deploy overwrites the corresponding metadata in your org.\n\nTo validate the deployment of 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.\n\nNote: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. If you want to validate a deployment with tests on a sandbox, use \"<%= config.bin %> project deploy start --dry-run --test-level RunLocalTests\" instead.",
|
|
1318
1159
|
"examples": [
|
|
1319
|
-
"
|
|
1320
|
-
"
|
|
1160
|
+
"NOTE: These examples focus on validating large deployments. See the help for \"<%= config.bin %> project deploy start\" for examples of deploying smaller sets of metadata which you can also use to validate.",
|
|
1161
|
+
"Validate the deployment of all source files in the \"force-app\" directory to the default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
1162
|
+
"Validate the deployment of all source files in two directories: \"force-app\" and \"force-app-utils\":\n<%= config.bin %> <%= command.id %> --source-dir force-app --source-dir force-app-utils",
|
|
1163
|
+
"Asynchronously validate the deployment and run all tests in the org with alias \"my-prod-org\"; command immediately returns the job ID:\n<%= config.bin %> <%= command.id %> --source-dir force-app --async --test-level RunAllTestsInOrg --target-org my-prod-org",
|
|
1164
|
+
"Validate the deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
1321
1165
|
],
|
|
1322
1166
|
"flags": {
|
|
1323
1167
|
"json": {
|
|
@@ -1335,44 +1179,126 @@
|
|
|
1335
1179
|
"multiple": false,
|
|
1336
1180
|
"type": "option"
|
|
1337
1181
|
},
|
|
1338
|
-
"
|
|
1339
|
-
"
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
"
|
|
1343
|
-
"
|
|
1344
|
-
"
|
|
1345
|
-
"type": "
|
|
1182
|
+
"api-version": {
|
|
1183
|
+
"char": "a",
|
|
1184
|
+
"description": "Use this flag to override the default API version with the API version of your package.xml file. The default API version is the latest version supported by the CLI.",
|
|
1185
|
+
"name": "api-version",
|
|
1186
|
+
"summary": "Target API version for the validation.",
|
|
1187
|
+
"hasDynamicHelp": false,
|
|
1188
|
+
"multiple": false,
|
|
1189
|
+
"type": "option"
|
|
1346
1190
|
},
|
|
1347
|
-
"
|
|
1348
|
-
"
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1191
|
+
"async": {
|
|
1192
|
+
"description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume watching the validation, run \"<%= config.bin %> project deploy resume\". To check the status of the validation, run \"<%= config.bin %> project deploy report\".",
|
|
1193
|
+
"name": "async",
|
|
1194
|
+
"summary": "Run the command asynchronously.",
|
|
1195
|
+
"allowNo": false,
|
|
1196
|
+
"type": "boolean"
|
|
1197
|
+
},
|
|
1198
|
+
"concise": {
|
|
1199
|
+
"exclusive": [
|
|
1200
|
+
"verbose"
|
|
1201
|
+
],
|
|
1202
|
+
"name": "concise",
|
|
1203
|
+
"summary": "Show concise output of the validation result.",
|
|
1204
|
+
"allowNo": false,
|
|
1205
|
+
"type": "boolean"
|
|
1206
|
+
},
|
|
1207
|
+
"manifest": {
|
|
1208
|
+
"char": "x",
|
|
1209
|
+
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
1210
|
+
"helpGroup": "Source Format",
|
|
1211
|
+
"name": "manifest",
|
|
1212
|
+
"summary": "Full file path for manifest (package.xml) of components to validate for deployment.",
|
|
1352
1213
|
"hasDynamicHelp": false,
|
|
1353
1214
|
"multiple": false,
|
|
1354
1215
|
"type": "option"
|
|
1355
1216
|
},
|
|
1356
|
-
"
|
|
1357
|
-
"char": "
|
|
1358
|
-
"
|
|
1359
|
-
"name": "
|
|
1360
|
-
"summary": "
|
|
1217
|
+
"metadata": {
|
|
1218
|
+
"char": "m",
|
|
1219
|
+
"helpGroup": "Source Format",
|
|
1220
|
+
"name": "metadata",
|
|
1221
|
+
"summary": "Metadata component names to validate for deployment.",
|
|
1222
|
+
"hasDynamicHelp": false,
|
|
1223
|
+
"multiple": true,
|
|
1224
|
+
"type": "option"
|
|
1225
|
+
},
|
|
1226
|
+
"source-dir": {
|
|
1227
|
+
"char": "d",
|
|
1228
|
+
"description": "The supplied path 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 subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
|
|
1229
|
+
"helpGroup": "Source Format",
|
|
1230
|
+
"name": "source-dir",
|
|
1231
|
+
"summary": "Path to the local source files to validate for deployment.",
|
|
1232
|
+
"hasDynamicHelp": false,
|
|
1233
|
+
"multiple": true,
|
|
1234
|
+
"type": "option"
|
|
1235
|
+
},
|
|
1236
|
+
"metadata-dir": {
|
|
1237
|
+
"helpGroup": "Metadata API Format",
|
|
1238
|
+
"name": "metadata-dir",
|
|
1239
|
+
"summary": "Root of directory or zip file of metadata formatted files to deploy.",
|
|
1240
|
+
"hasDynamicHelp": false,
|
|
1241
|
+
"multiple": false,
|
|
1242
|
+
"type": "option"
|
|
1243
|
+
},
|
|
1244
|
+
"single-package": {
|
|
1245
|
+
"dependsOn": [
|
|
1246
|
+
"metadata-dir"
|
|
1247
|
+
],
|
|
1248
|
+
"helpGroup": "Metadata API Format",
|
|
1249
|
+
"name": "single-package",
|
|
1250
|
+
"summary": "Indicates that the metadata zip file points to a directory structure for a single package.",
|
|
1361
1251
|
"allowNo": false,
|
|
1362
1252
|
"type": "boolean"
|
|
1363
1253
|
},
|
|
1254
|
+
"target-org": {
|
|
1255
|
+
"char": "o",
|
|
1256
|
+
"name": "target-org",
|
|
1257
|
+
"noCacheDefault": true,
|
|
1258
|
+
"required": true,
|
|
1259
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1260
|
+
"hasDynamicHelp": true,
|
|
1261
|
+
"multiple": false,
|
|
1262
|
+
"type": "option"
|
|
1263
|
+
},
|
|
1264
|
+
"tests": {
|
|
1265
|
+
"char": "t",
|
|
1266
|
+
"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\"",
|
|
1267
|
+
"helpGroup": "Test",
|
|
1268
|
+
"name": "tests",
|
|
1269
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
1270
|
+
"hasDynamicHelp": false,
|
|
1271
|
+
"multiple": true,
|
|
1272
|
+
"type": "option"
|
|
1273
|
+
},
|
|
1274
|
+
"test-level": {
|
|
1275
|
+
"char": "l",
|
|
1276
|
+
"description": "Valid values are:\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.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.",
|
|
1277
|
+
"helpGroup": "Test",
|
|
1278
|
+
"name": "test-level",
|
|
1279
|
+
"summary": "Deployment Apex testing level.",
|
|
1280
|
+
"default": "RunLocalTests",
|
|
1281
|
+
"hasDynamicHelp": false,
|
|
1282
|
+
"multiple": false,
|
|
1283
|
+
"options": [
|
|
1284
|
+
"RunAllTestsInOrg",
|
|
1285
|
+
"RunLocalTests",
|
|
1286
|
+
"RunSpecifiedTests"
|
|
1287
|
+
],
|
|
1288
|
+
"type": "option"
|
|
1289
|
+
},
|
|
1364
1290
|
"verbose": {
|
|
1365
1291
|
"exclusive": [
|
|
1366
1292
|
"concise"
|
|
1367
1293
|
],
|
|
1368
1294
|
"name": "verbose",
|
|
1369
|
-
"summary": "Show verbose output of the
|
|
1295
|
+
"summary": "Show verbose output of the validation result.",
|
|
1370
1296
|
"allowNo": false,
|
|
1371
1297
|
"type": "boolean"
|
|
1372
1298
|
},
|
|
1373
1299
|
"wait": {
|
|
1374
1300
|
"char": "w",
|
|
1375
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the
|
|
1301
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume watching the validation, run \"<%= config.bin %> project deploy resume\". To check the status of the validation, run \"<%= config.bin %> project deploy report\".",
|
|
1376
1302
|
"name": "wait",
|
|
1377
1303
|
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
1378
1304
|
"hasDynamicHelp": true,
|
|
@@ -1380,6 +1306,14 @@
|
|
|
1380
1306
|
"multiple": false,
|
|
1381
1307
|
"type": "option"
|
|
1382
1308
|
},
|
|
1309
|
+
"ignore-warnings": {
|
|
1310
|
+
"char": "g",
|
|
1311
|
+
"description": "If you specify this flag, and a warning occurs, the success status of the deployment is set to true. If you don't specify this flag, and a warning occurs, then the success status is set to false, and the warning is treated like an error.\n\nThis flag is useful in a CI environment and your deployment includes destructive changes; if you try to delete a component that doesn't exist in the org, you get a warning. In this case, to ensure that the command returns a success value of true, specify this flag.",
|
|
1312
|
+
"name": "ignore-warnings",
|
|
1313
|
+
"summary": "Ignore warnings and allow a deployment to complete successfully.",
|
|
1314
|
+
"allowNo": false,
|
|
1315
|
+
"type": "boolean"
|
|
1316
|
+
},
|
|
1383
1317
|
"coverage-formatters": {
|
|
1384
1318
|
"description": "For multiple formatters, repeat the flag for each formatter.\n--coverage-formatters lcov --coverage-formatters clover",
|
|
1385
1319
|
"helpGroup": "Test",
|
|
@@ -1425,20 +1359,78 @@
|
|
|
1425
1359
|
"hasDynamicHelp": false,
|
|
1426
1360
|
"multiple": false,
|
|
1427
1361
|
"type": "option"
|
|
1362
|
+
},
|
|
1363
|
+
"purge-on-delete": {
|
|
1364
|
+
"dependsOn": [
|
|
1365
|
+
"manifest"
|
|
1366
|
+
],
|
|
1367
|
+
"helpGroup": "Delete",
|
|
1368
|
+
"name": "purge-on-delete",
|
|
1369
|
+
"relationships": [
|
|
1370
|
+
{
|
|
1371
|
+
"type": "some",
|
|
1372
|
+
"flags": [
|
|
1373
|
+
"pre-destructive-changes",
|
|
1374
|
+
"post-destructive-changes"
|
|
1375
|
+
]
|
|
1376
|
+
}
|
|
1377
|
+
],
|
|
1378
|
+
"summary": "Specify that deleted components in the destructive changes manifest file are immediately eligible for deletion rather than being stored in the Recycle Bin.",
|
|
1379
|
+
"allowNo": false,
|
|
1380
|
+
"type": "boolean"
|
|
1381
|
+
},
|
|
1382
|
+
"pre-destructive-changes": {
|
|
1383
|
+
"dependsOn": [
|
|
1384
|
+
"manifest"
|
|
1385
|
+
],
|
|
1386
|
+
"helpGroup": "Delete",
|
|
1387
|
+
"name": "pre-destructive-changes",
|
|
1388
|
+
"summary": "File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy",
|
|
1389
|
+
"hasDynamicHelp": false,
|
|
1390
|
+
"multiple": false,
|
|
1391
|
+
"type": "option"
|
|
1392
|
+
},
|
|
1393
|
+
"post-destructive-changes": {
|
|
1394
|
+
"dependsOn": [
|
|
1395
|
+
"manifest"
|
|
1396
|
+
],
|
|
1397
|
+
"helpGroup": "Delete",
|
|
1398
|
+
"name": "post-destructive-changes",
|
|
1399
|
+
"summary": "File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.",
|
|
1400
|
+
"hasDynamicHelp": false,
|
|
1401
|
+
"multiple": false,
|
|
1402
|
+
"type": "option"
|
|
1428
1403
|
}
|
|
1429
1404
|
},
|
|
1430
1405
|
"hasDynamicHelp": true,
|
|
1431
1406
|
"hiddenAliases": [],
|
|
1432
|
-
"id": "project:deploy:
|
|
1407
|
+
"id": "project:deploy:validate",
|
|
1433
1408
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1434
1409
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1435
1410
|
"pluginType": "core",
|
|
1436
1411
|
"strict": true,
|
|
1437
|
-
"summary": "
|
|
1412
|
+
"summary": "Validate a metadata deployment without actually executing it.",
|
|
1438
1413
|
"enableJsonFlag": true,
|
|
1414
|
+
"configurationVariablesSection": {
|
|
1415
|
+
"header": "CONFIGURATION VARIABLES",
|
|
1416
|
+
"body": [
|
|
1417
|
+
{
|
|
1418
|
+
"name": "target-org",
|
|
1419
|
+
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "org-api-version",
|
|
1423
|
+
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
1424
|
+
}
|
|
1425
|
+
]
|
|
1426
|
+
},
|
|
1439
1427
|
"envVariablesSection": {
|
|
1440
1428
|
"header": "ENVIRONMENT VARIABLES",
|
|
1441
1429
|
"body": [
|
|
1430
|
+
{
|
|
1431
|
+
"name": "SF_TARGET_ORG",
|
|
1432
|
+
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
1433
|
+
},
|
|
1442
1434
|
{
|
|
1443
1435
|
"name": "SF_USE_PROGRESS_BAR",
|
|
1444
1436
|
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
@@ -1484,47 +1476,37 @@
|
|
|
1484
1476
|
"commands",
|
|
1485
1477
|
"project",
|
|
1486
1478
|
"deploy",
|
|
1487
|
-
"
|
|
1479
|
+
"validate.js"
|
|
1488
1480
|
],
|
|
1489
1481
|
"aliasPermutations": [
|
|
1490
|
-
"deploy:metadata:
|
|
1491
|
-
"metadata:deploy:
|
|
1492
|
-
"metadata:
|
|
1493
|
-
"deploy:
|
|
1494
|
-
"
|
|
1495
|
-
"
|
|
1482
|
+
"deploy:metadata:validate",
|
|
1483
|
+
"metadata:deploy:validate",
|
|
1484
|
+
"metadata:validate:deploy",
|
|
1485
|
+
"deploy:validate:metadata",
|
|
1486
|
+
"validate:deploy:metadata",
|
|
1487
|
+
"validate:metadata:deploy"
|
|
1496
1488
|
],
|
|
1497
1489
|
"permutations": [
|
|
1498
|
-
"project:deploy:
|
|
1499
|
-
"deploy:project:
|
|
1500
|
-
"deploy:
|
|
1501
|
-
"project:
|
|
1502
|
-
"
|
|
1503
|
-
"
|
|
1490
|
+
"project:deploy:validate",
|
|
1491
|
+
"deploy:project:validate",
|
|
1492
|
+
"deploy:validate:project",
|
|
1493
|
+
"project:validate:deploy",
|
|
1494
|
+
"validate:project:deploy",
|
|
1495
|
+
"validate:deploy:project"
|
|
1504
1496
|
]
|
|
1505
1497
|
},
|
|
1506
|
-
"project:
|
|
1498
|
+
"project:delete:source": {
|
|
1507
1499
|
"aliases": [
|
|
1508
|
-
"
|
|
1500
|
+
"force:source:delete"
|
|
1509
1501
|
],
|
|
1510
1502
|
"args": {},
|
|
1511
1503
|
"deprecateAliases": true,
|
|
1512
|
-
"description": "
|
|
1504
|
+
"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.",
|
|
1513
1505
|
"examples": [
|
|
1514
|
-
"
|
|
1515
|
-
"
|
|
1516
|
-
"
|
|
1517
|
-
"
|
|
1518
|
-
"Deploy a specific Apex class; ignore any conflicts between the local project and org (be careful with this flag, because it will overwrite the Apex class in the org if there are conflicts!):\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --ignore-conflicts",
|
|
1519
|
-
"Deploy specific Apex classes that match a pattern; in this example, deploy Apex classes whose names contain the string \"MyApex\". Also ignore any deployment warnings (again, be careful with this flag! You typically want to see the warnings):\n<%= config.bin %> <%= command.id %> --metadata 'ApexClass:MyApex*' --ignore-warnings",
|
|
1520
|
-
"Deploy a custom object called ExcitingObject that's in the SBQQ namespace:\nsf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject",
|
|
1521
|
-
"Deploy all custom objects in the SBQQ namespace by using a wildcard and quotes:\nsf <%= command.id %> --metadata 'CustomObject:SBQQ__*'",
|
|
1522
|
-
"Deploy all custom objects and Apex classes found in all defined package directories (both examples are equivalent):\n<%= config.bin %> <%= command.id %> --metadata CustomObject ApexClass\n<%= config.bin %> <%= command.id %> --metadata CustomObject --metadata ApexClass",
|
|
1523
|
-
"Deploy all Apex classes and a profile that has a space in its name:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --metadata \"Profile:My Profile\"",
|
|
1524
|
-
"Deploy all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml",
|
|
1525
|
-
"Run the tests that aren’t in any managed packages as part of a deployment:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests",
|
|
1526
|
-
"Deploy all metadata formatted files in the \"MDAPI\" directory:\n<%= config.bin %> <%= command.id %> --metadata-dir MDAPI",
|
|
1527
|
-
"Deploy all metadata formatted files in the \"MDAPI\" directory; items listed in the MDAPI/destructiveChangesPre.xml and MDAPI/destructiveChangesPost.xml manifests are immediately eligible for deletion rather than stored in the Recycle Bin:\n<%= config.bin %> <%= command.id %> --metadata-dir MDAPI --purge-on-delete"
|
|
1506
|
+
"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",
|
|
1507
|
+
"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",
|
|
1508
|
+
"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",
|
|
1509
|
+
"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"
|
|
1528
1510
|
],
|
|
1529
1511
|
"flags": {
|
|
1530
1512
|
"json": {
|
|
@@ -1543,142 +1525,63 @@
|
|
|
1543
1525
|
"type": "option"
|
|
1544
1526
|
},
|
|
1545
1527
|
"api-version": {
|
|
1546
|
-
"
|
|
1547
|
-
|
|
1528
|
+
"aliases": [
|
|
1529
|
+
"apiversion"
|
|
1530
|
+
],
|
|
1531
|
+
"deprecateAliases": true,
|
|
1532
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1548
1533
|
"name": "api-version",
|
|
1549
|
-
"summary": "Target API version for the deploy.",
|
|
1550
1534
|
"hasDynamicHelp": false,
|
|
1551
1535
|
"multiple": false,
|
|
1552
1536
|
"type": "option"
|
|
1553
1537
|
},
|
|
1554
|
-
"
|
|
1555
|
-
"
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
"name": "
|
|
1560
|
-
"summary": "Run the command asynchronously.",
|
|
1561
|
-
"allowNo": false,
|
|
1562
|
-
"type": "boolean"
|
|
1563
|
-
},
|
|
1564
|
-
"concise": {
|
|
1565
|
-
"exclusive": [
|
|
1566
|
-
"verbose"
|
|
1567
|
-
],
|
|
1568
|
-
"name": "concise",
|
|
1569
|
-
"summary": "Show concise output of the deploy result.",
|
|
1570
|
-
"allowNo": false,
|
|
1571
|
-
"type": "boolean"
|
|
1572
|
-
},
|
|
1573
|
-
"dry-run": {
|
|
1574
|
-
"name": "dry-run",
|
|
1575
|
-
"summary": "Validate deploy and run Apex tests but don’t save to the org.",
|
|
1576
|
-
"allowNo": false,
|
|
1577
|
-
"type": "boolean"
|
|
1578
|
-
},
|
|
1579
|
-
"ignore-conflicts": {
|
|
1580
|
-
"char": "c",
|
|
1581
|
-
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
1582
|
-
"name": "ignore-conflicts",
|
|
1583
|
-
"summary": "Ignore conflicts and deploy local files, even if they overwrite changes in the org.",
|
|
1584
|
-
"allowNo": false,
|
|
1585
|
-
"type": "boolean"
|
|
1586
|
-
},
|
|
1587
|
-
"ignore-errors": {
|
|
1588
|
-
"char": "r",
|
|
1589
|
-
"description": "Never use this flag when deploying to a production org. If you specify it, components without errors are deployed and components with errors are skipped, and could result in an inconsistent production org.",
|
|
1590
|
-
"name": "ignore-errors",
|
|
1591
|
-
"summary": "Ignore any errors and don’t roll back deployment.",
|
|
1592
|
-
"allowNo": false,
|
|
1593
|
-
"type": "boolean"
|
|
1594
|
-
},
|
|
1595
|
-
"ignore-warnings": {
|
|
1596
|
-
"char": "g",
|
|
1597
|
-
"description": "If you specify this flag, and a warning occurs, the success status of the deployment is set to true. If you don't specify this flag, and a warning occurs, then the success status is set to false, and the warning is treated like an error.\n\nThis flag is useful in a CI environment and your deployment includes destructive changes; if you try to delete a component that doesn't exist in the org, you get a warning. In this case, to ensure that the command returns a success value of true, specify this flag.",
|
|
1598
|
-
"name": "ignore-warnings",
|
|
1599
|
-
"summary": "Ignore warnings and allow a deployment to complete successfully.",
|
|
1600
|
-
"allowNo": false,
|
|
1601
|
-
"type": "boolean"
|
|
1602
|
-
},
|
|
1603
|
-
"manifest": {
|
|
1604
|
-
"char": "x",
|
|
1605
|
-
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
1606
|
-
"exclusive": [
|
|
1607
|
-
"source-dir",
|
|
1608
|
-
"metadata",
|
|
1609
|
-
"metadata-dir"
|
|
1610
|
-
],
|
|
1611
|
-
"helpGroup": "Source Format",
|
|
1612
|
-
"name": "manifest",
|
|
1613
|
-
"summary": "Full file path for manifest (package.xml) of components to deploy.",
|
|
1538
|
+
"loglevel": {
|
|
1539
|
+
"deprecated": {
|
|
1540
|
+
"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."
|
|
1541
|
+
},
|
|
1542
|
+
"hidden": true,
|
|
1543
|
+
"name": "loglevel",
|
|
1614
1544
|
"hasDynamicHelp": false,
|
|
1615
1545
|
"multiple": false,
|
|
1616
1546
|
"type": "option"
|
|
1617
1547
|
},
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1621
|
-
"
|
|
1622
|
-
"source-dir",
|
|
1623
|
-
"metadata-dir"
|
|
1624
|
-
],
|
|
1625
|
-
"helpGroup": "Source Format",
|
|
1626
|
-
"name": "metadata",
|
|
1627
|
-
"summary": "Metadata component names to deploy. Wildcards (`*` ) supported as long as you use quotes, such as `ApexClass:MyClass*`.",
|
|
1628
|
-
"hasDynamicHelp": false,
|
|
1629
|
-
"multiple": true,
|
|
1630
|
-
"type": "option"
|
|
1631
|
-
},
|
|
1632
|
-
"metadata-dir": {
|
|
1633
|
-
"exclusive": [
|
|
1634
|
-
"manifest",
|
|
1635
|
-
"source-dir",
|
|
1636
|
-
"metadata"
|
|
1548
|
+
"target-org": {
|
|
1549
|
+
"aliases": [
|
|
1550
|
+
"targetusername",
|
|
1551
|
+
"u"
|
|
1637
1552
|
],
|
|
1638
|
-
"
|
|
1639
|
-
"
|
|
1640
|
-
"
|
|
1641
|
-
"
|
|
1553
|
+
"char": "o",
|
|
1554
|
+
"deprecateAliases": true,
|
|
1555
|
+
"name": "target-org",
|
|
1556
|
+
"noCacheDefault": true,
|
|
1557
|
+
"required": true,
|
|
1558
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1559
|
+
"hasDynamicHelp": true,
|
|
1642
1560
|
"multiple": false,
|
|
1643
1561
|
"type": "option"
|
|
1644
1562
|
},
|
|
1645
|
-
"
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1563
|
+
"check-only": {
|
|
1564
|
+
"aliases": [
|
|
1565
|
+
"checkonly"
|
|
1648
1566
|
],
|
|
1649
|
-
"
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1567
|
+
"char": "c",
|
|
1568
|
+
"deprecateAliases": true,
|
|
1569
|
+
"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.",
|
|
1570
|
+
"name": "check-only",
|
|
1571
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
1652
1572
|
"allowNo": false,
|
|
1653
1573
|
"type": "boolean"
|
|
1654
1574
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"char": "
|
|
1657
|
-
"description": "
|
|
1658
|
-
"
|
|
1659
|
-
|
|
1660
|
-
"metadata",
|
|
1661
|
-
"metadata-dir"
|
|
1662
|
-
],
|
|
1663
|
-
"helpGroup": "Source Format",
|
|
1664
|
-
"name": "source-dir",
|
|
1665
|
-
"summary": "Path to the local source files to deploy.",
|
|
1666
|
-
"hasDynamicHelp": false,
|
|
1667
|
-
"multiple": true,
|
|
1668
|
-
"type": "option"
|
|
1669
|
-
},
|
|
1670
|
-
"target-org": {
|
|
1671
|
-
"char": "o",
|
|
1672
|
-
"name": "target-org",
|
|
1673
|
-
"noCacheDefault": true,
|
|
1674
|
-
"required": true,
|
|
1675
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1575
|
+
"wait": {
|
|
1576
|
+
"char": "w",
|
|
1577
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
1578
|
+
"name": "wait",
|
|
1579
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
1676
1580
|
"hasDynamicHelp": true,
|
|
1677
1581
|
"multiple": false,
|
|
1678
1582
|
"type": "option"
|
|
1679
1583
|
},
|
|
1680
1584
|
"tests": {
|
|
1681
|
-
"char": "t",
|
|
1682
1585
|
"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\"",
|
|
1683
1586
|
"helpGroup": "Test",
|
|
1684
1587
|
"name": "tests",
|
|
@@ -1688,8 +1591,12 @@
|
|
|
1688
1591
|
"type": "option"
|
|
1689
1592
|
},
|
|
1690
1593
|
"test-level": {
|
|
1594
|
+
"aliases": [
|
|
1595
|
+
"testlevel"
|
|
1596
|
+
],
|
|
1691
1597
|
"char": "l",
|
|
1692
|
-
"
|
|
1598
|
+
"deprecateAliases": true,
|
|
1599
|
+
"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.",
|
|
1693
1600
|
"helpGroup": "Test",
|
|
1694
1601
|
"name": "test-level",
|
|
1695
1602
|
"summary": "Deployment Apex testing level.",
|
|
@@ -1703,217 +1610,120 @@
|
|
|
1703
1610
|
],
|
|
1704
1611
|
"type": "option"
|
|
1705
1612
|
},
|
|
1706
|
-
"
|
|
1707
|
-
"
|
|
1708
|
-
"
|
|
1613
|
+
"no-prompt": {
|
|
1614
|
+
"aliases": [
|
|
1615
|
+
"noprompt"
|
|
1709
1616
|
],
|
|
1710
|
-
"
|
|
1711
|
-
"
|
|
1617
|
+
"char": "r",
|
|
1618
|
+
"deprecateAliases": true,
|
|
1619
|
+
"name": "no-prompt",
|
|
1620
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
1712
1621
|
"allowNo": false,
|
|
1713
1622
|
"type": "boolean"
|
|
1714
1623
|
},
|
|
1715
|
-
"
|
|
1716
|
-
"char": "
|
|
1717
|
-
"description": "If
|
|
1718
|
-
"
|
|
1719
|
-
|
|
1624
|
+
"metadata": {
|
|
1625
|
+
"char": "m",
|
|
1626
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
1627
|
+
"name": "metadata",
|
|
1628
|
+
"summary": "Metadata components to delete.",
|
|
1629
|
+
"delimiter": ",",
|
|
1630
|
+
"hasDynamicHelp": false,
|
|
1631
|
+
"multiple": true,
|
|
1632
|
+
"type": "option"
|
|
1633
|
+
},
|
|
1634
|
+
"source-dir": {
|
|
1635
|
+
"aliases": [
|
|
1636
|
+
"sourcepath"
|
|
1720
1637
|
],
|
|
1721
|
-
"
|
|
1722
|
-
"
|
|
1723
|
-
"
|
|
1724
|
-
"
|
|
1725
|
-
"
|
|
1638
|
+
"char": "p",
|
|
1639
|
+
"deprecateAliases": true,
|
|
1640
|
+
"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.",
|
|
1641
|
+
"name": "source-dir",
|
|
1642
|
+
"summary": "Source file paths to delete.",
|
|
1643
|
+
"delimiter": ",",
|
|
1644
|
+
"hasDynamicHelp": false,
|
|
1645
|
+
"multiple": true,
|
|
1726
1646
|
"type": "option"
|
|
1727
1647
|
},
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1730
|
-
|
|
1731
|
-
"relationships": [
|
|
1732
|
-
{
|
|
1733
|
-
"type": "some",
|
|
1734
|
-
"flags": [
|
|
1735
|
-
"pre-destructive-changes",
|
|
1736
|
-
"manifest",
|
|
1737
|
-
"metadata-dir",
|
|
1738
|
-
"post-destructive-changes"
|
|
1739
|
-
]
|
|
1740
|
-
}
|
|
1648
|
+
"track-source": {
|
|
1649
|
+
"aliases": [
|
|
1650
|
+
"tracksource"
|
|
1741
1651
|
],
|
|
1742
|
-
"
|
|
1652
|
+
"char": "t",
|
|
1653
|
+
"deprecateAliases": true,
|
|
1654
|
+
"exclusive": [
|
|
1655
|
+
"check-only"
|
|
1656
|
+
],
|
|
1657
|
+
"name": "track-source",
|
|
1658
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
1743
1659
|
"allowNo": false,
|
|
1744
1660
|
"type": "boolean"
|
|
1745
1661
|
},
|
|
1746
|
-
"
|
|
1747
|
-
"
|
|
1748
|
-
"
|
|
1662
|
+
"force-overwrite": {
|
|
1663
|
+
"aliases": [
|
|
1664
|
+
"forceoverwrite"
|
|
1749
1665
|
],
|
|
1750
|
-
"
|
|
1751
|
-
"name": "pre-destructive-changes",
|
|
1752
|
-
"summary": "File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy.",
|
|
1753
|
-
"hasDynamicHelp": false,
|
|
1754
|
-
"multiple": false,
|
|
1755
|
-
"type": "option"
|
|
1756
|
-
},
|
|
1757
|
-
"post-destructive-changes": {
|
|
1666
|
+
"char": "f",
|
|
1758
1667
|
"dependsOn": [
|
|
1759
|
-
"
|
|
1760
|
-
],
|
|
1761
|
-
"helpGroup": "Delete",
|
|
1762
|
-
"name": "post-destructive-changes",
|
|
1763
|
-
"summary": "File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.",
|
|
1764
|
-
"hasDynamicHelp": false,
|
|
1765
|
-
"multiple": false,
|
|
1766
|
-
"type": "option"
|
|
1767
|
-
},
|
|
1768
|
-
"coverage-formatters": {
|
|
1769
|
-
"description": "For multiple formatters, repeat the flag for each formatter.\n--coverage-formatters lcov --coverage-formatters clover",
|
|
1770
|
-
"helpGroup": "Test",
|
|
1771
|
-
"name": "coverage-formatters",
|
|
1772
|
-
"summary": "Format of the code coverage results.",
|
|
1773
|
-
"hasDynamicHelp": false,
|
|
1774
|
-
"multiple": true,
|
|
1775
|
-
"options": [
|
|
1776
|
-
"clover",
|
|
1777
|
-
"cobertura",
|
|
1778
|
-
"html-spa",
|
|
1779
|
-
"html",
|
|
1780
|
-
"json",
|
|
1781
|
-
"json-summary",
|
|
1782
|
-
"lcovonly",
|
|
1783
|
-
"none",
|
|
1784
|
-
"teamcity",
|
|
1785
|
-
"text",
|
|
1786
|
-
"text-summary"
|
|
1668
|
+
"track-source"
|
|
1787
1669
|
],
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
"helpGroup": "Test",
|
|
1792
|
-
"name": "junit",
|
|
1793
|
-
"summary": "Output JUnit test results.",
|
|
1670
|
+
"deprecateAliases": true,
|
|
1671
|
+
"name": "force-overwrite",
|
|
1672
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
1794
1673
|
"allowNo": false,
|
|
1795
1674
|
"type": "boolean"
|
|
1796
1675
|
},
|
|
1797
|
-
"
|
|
1798
|
-
"
|
|
1799
|
-
"
|
|
1800
|
-
"
|
|
1801
|
-
|
|
1802
|
-
"type": "some",
|
|
1803
|
-
"flags": [
|
|
1804
|
-
"coverage-formatters",
|
|
1805
|
-
"junit"
|
|
1806
|
-
]
|
|
1807
|
-
}
|
|
1808
|
-
],
|
|
1809
|
-
"summary": "Output directory for code coverage and JUnit results; defaults to the deploy ID.",
|
|
1810
|
-
"hasDynamicHelp": false,
|
|
1811
|
-
"multiple": false,
|
|
1812
|
-
"type": "option"
|
|
1676
|
+
"verbose": {
|
|
1677
|
+
"name": "verbose",
|
|
1678
|
+
"summary": "Verbose output of the delete result.",
|
|
1679
|
+
"allowNo": false,
|
|
1680
|
+
"type": "boolean"
|
|
1813
1681
|
}
|
|
1814
1682
|
},
|
|
1815
1683
|
"hasDynamicHelp": true,
|
|
1816
1684
|
"hiddenAliases": [],
|
|
1817
|
-
"id": "project:
|
|
1685
|
+
"id": "project:delete:source",
|
|
1818
1686
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1819
1687
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1820
1688
|
"pluginType": "core",
|
|
1821
1689
|
"strict": true,
|
|
1822
|
-
"summary": "
|
|
1690
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
1823
1691
|
"enableJsonFlag": true,
|
|
1824
|
-
"
|
|
1825
|
-
"header": "CONFIGURATION VARIABLES",
|
|
1826
|
-
"body": [
|
|
1827
|
-
{
|
|
1828
|
-
"name": "target-org",
|
|
1829
|
-
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
1830
|
-
},
|
|
1831
|
-
{
|
|
1832
|
-
"name": "org-api-version",
|
|
1833
|
-
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
1834
|
-
}
|
|
1835
|
-
]
|
|
1836
|
-
},
|
|
1837
|
-
"envVariablesSection": {
|
|
1838
|
-
"header": "ENVIRONMENT VARIABLES",
|
|
1839
|
-
"body": [
|
|
1840
|
-
{
|
|
1841
|
-
"name": "SF_TARGET_ORG",
|
|
1842
|
-
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
"name": "SF_USE_PROGRESS_BAR",
|
|
1846
|
-
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
1847
|
-
}
|
|
1848
|
-
]
|
|
1849
|
-
},
|
|
1850
|
-
"errorCodes": {
|
|
1851
|
-
"header": "ERROR CODES",
|
|
1852
|
-
"body": [
|
|
1853
|
-
{
|
|
1854
|
-
"name": "Succeeded (0)",
|
|
1855
|
-
"description": "The deploy succeeded."
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
"name": "Canceled (1)",
|
|
1859
|
-
"description": "The deploy was canceled."
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"name": "Failed (1)",
|
|
1863
|
-
"description": "The deploy failed."
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"name": "SucceededPartial (68)",
|
|
1867
|
-
"description": "The deploy partially succeeded."
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"name": "InProgress (69)",
|
|
1871
|
-
"description": "The deploy is in progress."
|
|
1872
|
-
},
|
|
1873
|
-
{
|
|
1874
|
-
"name": "Pending (69)",
|
|
1875
|
-
"description": "The deploy is pending."
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"name": "Canceling (69)",
|
|
1879
|
-
"description": "The deploy is being canceled."
|
|
1880
|
-
}
|
|
1881
|
-
]
|
|
1882
|
-
},
|
|
1692
|
+
"requiresProject": true,
|
|
1883
1693
|
"isESM": true,
|
|
1884
1694
|
"relativePath": [
|
|
1885
1695
|
"lib",
|
|
1886
1696
|
"commands",
|
|
1887
1697
|
"project",
|
|
1888
|
-
"
|
|
1889
|
-
"
|
|
1698
|
+
"delete",
|
|
1699
|
+
"source.js"
|
|
1890
1700
|
],
|
|
1891
1701
|
"aliasPermutations": [
|
|
1892
|
-
"
|
|
1893
|
-
"
|
|
1702
|
+
"force:source:delete",
|
|
1703
|
+
"source:force:delete",
|
|
1704
|
+
"source:delete:force",
|
|
1705
|
+
"force:delete:source",
|
|
1706
|
+
"delete:force:source",
|
|
1707
|
+
"delete:source:force"
|
|
1894
1708
|
],
|
|
1895
1709
|
"permutations": [
|
|
1896
|
-
"project:
|
|
1897
|
-
"
|
|
1898
|
-
"
|
|
1899
|
-
"project:
|
|
1900
|
-
"
|
|
1901
|
-
"
|
|
1710
|
+
"project:delete:source",
|
|
1711
|
+
"delete:project:source",
|
|
1712
|
+
"delete:source:project",
|
|
1713
|
+
"project:source:delete",
|
|
1714
|
+
"source:project:delete",
|
|
1715
|
+
"source:delete:project"
|
|
1902
1716
|
]
|
|
1903
1717
|
},
|
|
1904
|
-
"project:
|
|
1718
|
+
"project:delete:tracking": {
|
|
1905
1719
|
"aliases": [
|
|
1906
|
-
"
|
|
1720
|
+
"force:source:tracking:clear"
|
|
1907
1721
|
],
|
|
1908
1722
|
"args": {},
|
|
1909
1723
|
"deprecateAliases": true,
|
|
1910
|
-
"description": "
|
|
1724
|
+
"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.",
|
|
1911
1725
|
"examples": [
|
|
1912
|
-
"
|
|
1913
|
-
"Validate the deployment of all source files in the \"force-app\" directory to the default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
1914
|
-
"Validate the deployment of all source files in two directories: \"force-app\" and \"force-app-utils\":\n<%= config.bin %> <%= command.id %> --source-dir force-app --source-dir force-app-utils",
|
|
1915
|
-
"Asynchronously validate the deployment and run all tests in the org with alias \"my-prod-org\"; command immediately returns the job ID:\n<%= config.bin %> <%= command.id %> --source-dir force-app --async --test-level RunAllTestsInOrg --target-org my-prod-org",
|
|
1916
|
-
"Validate the deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
1726
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
1917
1727
|
],
|
|
1918
1728
|
"flags": {
|
|
1919
1729
|
"json": {
|
|
@@ -1932,79 +1742,33 @@
|
|
|
1932
1742
|
"type": "option"
|
|
1933
1743
|
},
|
|
1934
1744
|
"api-version": {
|
|
1935
|
-
"
|
|
1936
|
-
|
|
1937
|
-
"name": "api-version",
|
|
1938
|
-
"summary": "Target API version for the validation.",
|
|
1939
|
-
"hasDynamicHelp": false,
|
|
1940
|
-
"multiple": false,
|
|
1941
|
-
"type": "option"
|
|
1942
|
-
},
|
|
1943
|
-
"async": {
|
|
1944
|
-
"description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume watching the validation, run \"<%= config.bin %> project deploy resume\". To check the status of the validation, run \"<%= config.bin %> project deploy report\".",
|
|
1945
|
-
"name": "async",
|
|
1946
|
-
"summary": "Run the command asynchronously.",
|
|
1947
|
-
"allowNo": false,
|
|
1948
|
-
"type": "boolean"
|
|
1949
|
-
},
|
|
1950
|
-
"concise": {
|
|
1951
|
-
"exclusive": [
|
|
1952
|
-
"verbose"
|
|
1745
|
+
"aliases": [
|
|
1746
|
+
"apiversion"
|
|
1953
1747
|
],
|
|
1954
|
-
"
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1957
|
-
"type": "boolean"
|
|
1958
|
-
},
|
|
1959
|
-
"manifest": {
|
|
1960
|
-
"char": "x",
|
|
1961
|
-
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
1962
|
-
"helpGroup": "Source Format",
|
|
1963
|
-
"name": "manifest",
|
|
1964
|
-
"summary": "Full file path for manifest (package.xml) of components to validate for deployment.",
|
|
1748
|
+
"deprecateAliases": true,
|
|
1749
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1750
|
+
"name": "api-version",
|
|
1965
1751
|
"hasDynamicHelp": false,
|
|
1966
1752
|
"multiple": false,
|
|
1967
1753
|
"type": "option"
|
|
1968
1754
|
},
|
|
1969
|
-
"
|
|
1970
|
-
"
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
"
|
|
1974
|
-
"
|
|
1975
|
-
"multiple": true,
|
|
1976
|
-
"type": "option"
|
|
1977
|
-
},
|
|
1978
|
-
"source-dir": {
|
|
1979
|
-
"char": "d",
|
|
1980
|
-
"description": "The supplied path 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 subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
|
|
1981
|
-
"helpGroup": "Source Format",
|
|
1982
|
-
"name": "source-dir",
|
|
1983
|
-
"summary": "Path to the local source files to validate for deployment.",
|
|
1984
|
-
"hasDynamicHelp": false,
|
|
1985
|
-
"multiple": true,
|
|
1986
|
-
"type": "option"
|
|
1987
|
-
},
|
|
1988
|
-
"metadata-dir": {
|
|
1989
|
-
"helpGroup": "Metadata API Format",
|
|
1990
|
-
"name": "metadata-dir",
|
|
1991
|
-
"summary": "Root of directory or zip file of metadata formatted files to deploy.",
|
|
1755
|
+
"loglevel": {
|
|
1756
|
+
"deprecated": {
|
|
1757
|
+
"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."
|
|
1758
|
+
},
|
|
1759
|
+
"hidden": true,
|
|
1760
|
+
"name": "loglevel",
|
|
1992
1761
|
"hasDynamicHelp": false,
|
|
1993
1762
|
"multiple": false,
|
|
1994
1763
|
"type": "option"
|
|
1995
1764
|
},
|
|
1996
|
-
"single-package": {
|
|
1997
|
-
"dependsOn": [
|
|
1998
|
-
"metadata-dir"
|
|
1999
|
-
],
|
|
2000
|
-
"helpGroup": "Metadata API Format",
|
|
2001
|
-
"name": "single-package",
|
|
2002
|
-
"summary": "Indicates that the metadata zip file points to a directory structure for a single package.",
|
|
2003
|
-
"allowNo": false,
|
|
2004
|
-
"type": "boolean"
|
|
2005
|
-
},
|
|
2006
1765
|
"target-org": {
|
|
1766
|
+
"aliases": [
|
|
1767
|
+
"targetusername",
|
|
1768
|
+
"u"
|
|
1769
|
+
],
|
|
2007
1770
|
"char": "o",
|
|
1771
|
+
"deprecateAliases": true,
|
|
2008
1772
|
"name": "target-org",
|
|
2009
1773
|
"noCacheDefault": true,
|
|
2010
1774
|
"required": true,
|
|
@@ -2013,238 +1777,474 @@
|
|
|
2013
1777
|
"multiple": false,
|
|
2014
1778
|
"type": "option"
|
|
2015
1779
|
},
|
|
2016
|
-
"
|
|
2017
|
-
"
|
|
2018
|
-
|
|
2019
|
-
"helpGroup": "Test",
|
|
2020
|
-
"name": "tests",
|
|
2021
|
-
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
2022
|
-
"hasDynamicHelp": false,
|
|
2023
|
-
"multiple": true,
|
|
2024
|
-
"type": "option"
|
|
2025
|
-
},
|
|
2026
|
-
"test-level": {
|
|
2027
|
-
"char": "l",
|
|
2028
|
-
"description": "Valid values are:\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.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.",
|
|
2029
|
-
"helpGroup": "Test",
|
|
2030
|
-
"name": "test-level",
|
|
2031
|
-
"summary": "Deployment Apex testing level.",
|
|
2032
|
-
"default": "RunLocalTests",
|
|
2033
|
-
"hasDynamicHelp": false,
|
|
2034
|
-
"multiple": false,
|
|
2035
|
-
"options": [
|
|
2036
|
-
"RunAllTestsInOrg",
|
|
2037
|
-
"RunLocalTests",
|
|
2038
|
-
"RunSpecifiedTests"
|
|
2039
|
-
],
|
|
2040
|
-
"type": "option"
|
|
2041
|
-
},
|
|
2042
|
-
"verbose": {
|
|
2043
|
-
"exclusive": [
|
|
2044
|
-
"concise"
|
|
1780
|
+
"no-prompt": {
|
|
1781
|
+
"aliases": [
|
|
1782
|
+
"noprompt"
|
|
2045
1783
|
],
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2049
|
-
"
|
|
2050
|
-
},
|
|
2051
|
-
"wait": {
|
|
2052
|
-
"char": "w",
|
|
2053
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume watching the validation, run \"<%= config.bin %> project deploy resume\". To check the status of the validation, run \"<%= config.bin %> project deploy report\".",
|
|
2054
|
-
"name": "wait",
|
|
2055
|
-
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
2056
|
-
"hasDynamicHelp": true,
|
|
2057
|
-
"helpValue": "<minutes>",
|
|
2058
|
-
"multiple": false,
|
|
2059
|
-
"type": "option"
|
|
2060
|
-
},
|
|
2061
|
-
"ignore-warnings": {
|
|
2062
|
-
"char": "g",
|
|
2063
|
-
"description": "If you specify this flag, and a warning occurs, the success status of the deployment is set to true. If you don't specify this flag, and a warning occurs, then the success status is set to false, and the warning is treated like an error.\n\nThis flag is useful in a CI environment and your deployment includes destructive changes; if you try to delete a component that doesn't exist in the org, you get a warning. In this case, to ensure that the command returns a success value of true, specify this flag.",
|
|
2064
|
-
"name": "ignore-warnings",
|
|
2065
|
-
"summary": "Ignore warnings and allow a deployment to complete successfully.",
|
|
1784
|
+
"char": "p",
|
|
1785
|
+
"deprecateAliases": true,
|
|
1786
|
+
"name": "no-prompt",
|
|
1787
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2066
1788
|
"allowNo": false,
|
|
2067
1789
|
"type": "boolean"
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
"hasDynamicHelp": true,
|
|
1793
|
+
"hiddenAliases": [],
|
|
1794
|
+
"id": "project:delete:tracking",
|
|
1795
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1796
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1797
|
+
"pluginType": "core",
|
|
1798
|
+
"strict": true,
|
|
1799
|
+
"summary": "Delete all local source tracking information.",
|
|
1800
|
+
"enableJsonFlag": true,
|
|
1801
|
+
"requiresProject": true,
|
|
1802
|
+
"isESM": true,
|
|
1803
|
+
"relativePath": [
|
|
1804
|
+
"lib",
|
|
1805
|
+
"commands",
|
|
1806
|
+
"project",
|
|
1807
|
+
"delete",
|
|
1808
|
+
"tracking.js"
|
|
1809
|
+
],
|
|
1810
|
+
"aliasPermutations": [
|
|
1811
|
+
"force:source:tracking:clear",
|
|
1812
|
+
"source:force:tracking:clear",
|
|
1813
|
+
"source:tracking:force:clear",
|
|
1814
|
+
"source:tracking:clear:force",
|
|
1815
|
+
"force:tracking:source:clear",
|
|
1816
|
+
"tracking:force:source:clear",
|
|
1817
|
+
"tracking:source:force:clear",
|
|
1818
|
+
"tracking:source:clear:force",
|
|
1819
|
+
"force:tracking:clear:source",
|
|
1820
|
+
"tracking:force:clear:source",
|
|
1821
|
+
"tracking:clear:force:source",
|
|
1822
|
+
"tracking:clear:source:force",
|
|
1823
|
+
"force:source:clear:tracking",
|
|
1824
|
+
"source:force:clear:tracking",
|
|
1825
|
+
"source:clear:force:tracking",
|
|
1826
|
+
"source:clear:tracking:force",
|
|
1827
|
+
"force:clear:source:tracking",
|
|
1828
|
+
"clear:force:source:tracking",
|
|
1829
|
+
"clear:source:force:tracking",
|
|
1830
|
+
"clear:source:tracking:force",
|
|
1831
|
+
"force:clear:tracking:source",
|
|
1832
|
+
"clear:force:tracking:source",
|
|
1833
|
+
"clear:tracking:force:source",
|
|
1834
|
+
"clear:tracking:source:force"
|
|
1835
|
+
],
|
|
1836
|
+
"permutations": [
|
|
1837
|
+
"project:delete:tracking",
|
|
1838
|
+
"delete:project:tracking",
|
|
1839
|
+
"delete:tracking:project",
|
|
1840
|
+
"project:tracking:delete",
|
|
1841
|
+
"tracking:project:delete",
|
|
1842
|
+
"tracking:delete:project"
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1845
|
+
"project:convert:mdapi": {
|
|
1846
|
+
"aliases": [
|
|
1847
|
+
"force:mdapi:convert"
|
|
1848
|
+
],
|
|
1849
|
+
"args": {},
|
|
1850
|
+
"deprecateAliases": true,
|
|
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.",
|
|
1852
|
+
"examples": [
|
|
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"
|
|
1855
|
+
],
|
|
1856
|
+
"flags": {
|
|
1857
|
+
"json": {
|
|
1858
|
+
"description": "Format output as json.",
|
|
1859
|
+
"helpGroup": "GLOBAL",
|
|
1860
|
+
"name": "json",
|
|
1861
|
+
"allowNo": false,
|
|
1862
|
+
"type": "boolean"
|
|
1863
|
+
},
|
|
1864
|
+
"flags-dir": {
|
|
1865
|
+
"helpGroup": "GLOBAL",
|
|
1866
|
+
"name": "flags-dir",
|
|
1867
|
+
"summary": "Import flag values from a directory.",
|
|
2074
1868
|
"hasDynamicHelp": false,
|
|
2075
|
-
"multiple":
|
|
2076
|
-
"
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
"
|
|
2081
|
-
"json",
|
|
2082
|
-
"json-summary",
|
|
2083
|
-
"lcovonly",
|
|
2084
|
-
"none",
|
|
2085
|
-
"teamcity",
|
|
2086
|
-
"text",
|
|
2087
|
-
"text-summary"
|
|
1869
|
+
"multiple": false,
|
|
1870
|
+
"type": "option"
|
|
1871
|
+
},
|
|
1872
|
+
"api-version": {
|
|
1873
|
+
"aliases": [
|
|
1874
|
+
"apiversion"
|
|
2088
1875
|
],
|
|
1876
|
+
"deprecateAliases": true,
|
|
1877
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1878
|
+
"name": "api-version",
|
|
1879
|
+
"hasDynamicHelp": false,
|
|
1880
|
+
"multiple": false,
|
|
2089
1881
|
"type": "option"
|
|
2090
1882
|
},
|
|
2091
|
-
"
|
|
2092
|
-
"
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
1883
|
+
"loglevel": {
|
|
1884
|
+
"deprecated": {
|
|
1885
|
+
"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."
|
|
1886
|
+
},
|
|
1887
|
+
"hidden": true,
|
|
1888
|
+
"name": "loglevel",
|
|
1889
|
+
"hasDynamicHelp": false,
|
|
1890
|
+
"multiple": false,
|
|
1891
|
+
"type": "option"
|
|
2097
1892
|
},
|
|
2098
|
-
"
|
|
2099
|
-
"
|
|
2100
|
-
|
|
2101
|
-
"relationships": [
|
|
2102
|
-
{
|
|
2103
|
-
"type": "some",
|
|
2104
|
-
"flags": [
|
|
2105
|
-
"coverage-formatters",
|
|
2106
|
-
"junit"
|
|
2107
|
-
]
|
|
2108
|
-
}
|
|
1893
|
+
"root-dir": {
|
|
1894
|
+
"aliases": [
|
|
1895
|
+
"rootdir"
|
|
2109
1896
|
],
|
|
2110
|
-
"
|
|
1897
|
+
"char": "r",
|
|
1898
|
+
"deprecateAliases": true,
|
|
1899
|
+
"name": "root-dir",
|
|
1900
|
+
"required": true,
|
|
1901
|
+
"summary": "Root directory that contains the Metadata API–formatted metadata.",
|
|
2111
1902
|
"hasDynamicHelp": false,
|
|
2112
1903
|
"multiple": false,
|
|
2113
1904
|
"type": "option"
|
|
2114
1905
|
},
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
1906
|
+
"output-dir": {
|
|
1907
|
+
"aliases": [
|
|
1908
|
+
"outputdir"
|
|
2118
1909
|
],
|
|
2119
|
-
"
|
|
2120
|
-
"
|
|
2121
|
-
"
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
1910
|
+
"char": "d",
|
|
1911
|
+
"deprecateAliases": 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,
|
|
1915
|
+
"multiple": false,
|
|
1916
|
+
"type": "option"
|
|
1917
|
+
},
|
|
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.",
|
|
1923
|
+
"hasDynamicHelp": false,
|
|
1924
|
+
"multiple": false,
|
|
1925
|
+
"type": "option"
|
|
1926
|
+
},
|
|
1927
|
+
"metadata-dir": {
|
|
1928
|
+
"aliases": [
|
|
1929
|
+
"metadatapath"
|
|
2129
1930
|
],
|
|
2130
|
-
"
|
|
1931
|
+
"char": "p",
|
|
1932
|
+
"deprecateAliases": true,
|
|
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"
|
|
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,
|
|
1943
|
+
"type": "option"
|
|
1944
|
+
},
|
|
1945
|
+
"metadata": {
|
|
1946
|
+
"char": "m",
|
|
1947
|
+
"exclusive": [
|
|
1948
|
+
"manifest",
|
|
1949
|
+
"metadatapath"
|
|
1950
|
+
],
|
|
1951
|
+
"name": "metadata",
|
|
1952
|
+
"summary": "Metadata component names to convert.",
|
|
1953
|
+
"delimiter": ",",
|
|
1954
|
+
"hasDynamicHelp": false,
|
|
1955
|
+
"multiple": true,
|
|
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",
|
|
2131
2008
|
"allowNo": false,
|
|
2132
2009
|
"type": "boolean"
|
|
2133
2010
|
},
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
"helpGroup": "Delete",
|
|
2139
|
-
"name": "pre-destructive-changes",
|
|
2140
|
-
"summary": "File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy",
|
|
2011
|
+
"flags-dir": {
|
|
2012
|
+
"helpGroup": "GLOBAL",
|
|
2013
|
+
"name": "flags-dir",
|
|
2014
|
+
"summary": "Import flag values from a directory.",
|
|
2141
2015
|
"hasDynamicHelp": false,
|
|
2142
2016
|
"multiple": false,
|
|
2143
2017
|
"type": "option"
|
|
2144
2018
|
},
|
|
2145
|
-
"
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"
|
|
2150
|
-
"name": "post-destructive-changes",
|
|
2151
|
-
"summary": "File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.",
|
|
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.",
|
|
2152
2024
|
"hasDynamicHelp": false,
|
|
2153
2025
|
"multiple": false,
|
|
2026
|
+
"options": [
|
|
2027
|
+
"decomposeCustomLabelsBeta2",
|
|
2028
|
+
"decomposeCustomLabelsBeta",
|
|
2029
|
+
"decomposePermissionSetBeta",
|
|
2030
|
+
"decomposePermissionSetBeta2",
|
|
2031
|
+
"decomposeSharingRulesBeta",
|
|
2032
|
+
"decomposeWorkflowBeta",
|
|
2033
|
+
"decomposeExternalServiceRegistrationBeta"
|
|
2034
|
+
],
|
|
2035
|
+
"type": "option"
|
|
2036
|
+
},
|
|
2037
|
+
"dry-run": {
|
|
2038
|
+
"name": "dry-run",
|
|
2039
|
+
"summary": "Display what the command would do, but don't make any actual changes.",
|
|
2040
|
+
"allowNo": false,
|
|
2041
|
+
"type": "boolean"
|
|
2042
|
+
},
|
|
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.",
|
|
2046
|
+
"allowNo": false,
|
|
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,
|
|
2154
2056
|
"type": "option"
|
|
2155
2057
|
}
|
|
2156
2058
|
},
|
|
2157
2059
|
"hasDynamicHelp": true,
|
|
2158
2060
|
"hiddenAliases": [],
|
|
2159
|
-
"id": "project:
|
|
2061
|
+
"id": "project:convert:source-behavior",
|
|
2160
2062
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2161
2063
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2162
2064
|
"pluginType": "core",
|
|
2065
|
+
"state": "beta",
|
|
2163
2066
|
"strict": true,
|
|
2164
|
-
"summary": "
|
|
2067
|
+
"summary": "Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.",
|
|
2165
2068
|
"enableJsonFlag": true,
|
|
2166
|
-
"
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
"
|
|
2181
|
-
"
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
"
|
|
2193
|
-
"
|
|
2194
|
-
"
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2069
|
+
"requiresProject": true,
|
|
2070
|
+
"isESM": true,
|
|
2071
|
+
"relativePath": [
|
|
2072
|
+
"lib",
|
|
2073
|
+
"commands",
|
|
2074
|
+
"project",
|
|
2075
|
+
"convert",
|
|
2076
|
+
"source-behavior.js"
|
|
2077
|
+
],
|
|
2078
|
+
"aliasPermutations": [],
|
|
2079
|
+
"permutations": [
|
|
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"
|
|
2086
|
+
]
|
|
2087
|
+
},
|
|
2088
|
+
"project:convert:source": {
|
|
2089
|
+
"aliases": [
|
|
2090
|
+
"force:source:convert"
|
|
2091
|
+
],
|
|
2092
|
+
"args": {},
|
|
2093
|
+
"deprecateAliases": true,
|
|
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.",
|
|
2095
|
+
"examples": [
|
|
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'"
|
|
2098
|
+
],
|
|
2099
|
+
"flags": {
|
|
2100
|
+
"json": {
|
|
2101
|
+
"description": "Format output as json.",
|
|
2102
|
+
"helpGroup": "GLOBAL",
|
|
2103
|
+
"name": "json",
|
|
2104
|
+
"allowNo": false,
|
|
2105
|
+
"type": "boolean"
|
|
2106
|
+
},
|
|
2107
|
+
"flags-dir": {
|
|
2108
|
+
"helpGroup": "GLOBAL",
|
|
2109
|
+
"name": "flags-dir",
|
|
2110
|
+
"summary": "Import flag values from a directory.",
|
|
2111
|
+
"hasDynamicHelp": false,
|
|
2112
|
+
"multiple": false,
|
|
2113
|
+
"type": "option"
|
|
2114
|
+
},
|
|
2115
|
+
"api-version": {
|
|
2116
|
+
"aliases": [
|
|
2117
|
+
"apiversion"
|
|
2118
|
+
],
|
|
2119
|
+
"deprecateAliases": true,
|
|
2120
|
+
"description": "Override the api version used for api requests made by this command",
|
|
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",
|
|
2123
|
+
"hasDynamicHelp": false,
|
|
2124
|
+
"multiple": false,
|
|
2125
|
+
"type": "option"
|
|
2126
|
+
},
|
|
2127
|
+
"loglevel": {
|
|
2128
|
+
"deprecated": {
|
|
2129
|
+
"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."
|
|
2218
2130
|
},
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2131
|
+
"hidden": true,
|
|
2132
|
+
"name": "loglevel",
|
|
2133
|
+
"hasDynamicHelp": false,
|
|
2134
|
+
"multiple": false,
|
|
2135
|
+
"type": "option"
|
|
2136
|
+
},
|
|
2137
|
+
"root-dir": {
|
|
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": {
|
|
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<",
|
|
2158
|
+
"hasDynamicHelp": true,
|
|
2159
|
+
"multiple": false,
|
|
2160
|
+
"type": "option"
|
|
2161
|
+
},
|
|
2162
|
+
"package-name": {
|
|
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": {
|
|
2184
|
+
"aliases": [
|
|
2185
|
+
"sourcepath"
|
|
2186
|
+
],
|
|
2187
|
+
"char": "p",
|
|
2188
|
+
"deprecateAliases": true,
|
|
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"
|
|
2213
|
+
}
|
|
2224
2214
|
},
|
|
2215
|
+
"hasDynamicHelp": true,
|
|
2216
|
+
"hiddenAliases": [],
|
|
2217
|
+
"id": "project:convert:source",
|
|
2218
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2219
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2220
|
+
"pluginType": "core",
|
|
2221
|
+
"strict": true,
|
|
2222
|
+
"summary": "Convert source-formatted files into metadata that you can deploy using Metadata API.",
|
|
2223
|
+
"enableJsonFlag": true,
|
|
2224
|
+
"requiresProject": true,
|
|
2225
2225
|
"isESM": true,
|
|
2226
2226
|
"relativePath": [
|
|
2227
2227
|
"lib",
|
|
2228
2228
|
"commands",
|
|
2229
2229
|
"project",
|
|
2230
|
-
"
|
|
2231
|
-
"
|
|
2230
|
+
"convert",
|
|
2231
|
+
"source.js"
|
|
2232
2232
|
],
|
|
2233
2233
|
"aliasPermutations": [
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
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": {
|
|
@@ -2475,6 +2475,100 @@
|
|
|
2475
2475
|
"manifest:generate:project"
|
|
2476
2476
|
]
|
|
2477
2477
|
},
|
|
2478
|
+
"project:list:ignored": {
|
|
2479
|
+
"aliases": [
|
|
2480
|
+
"force:source:ignored:list"
|
|
2481
|
+
],
|
|
2482
|
+
"args": {},
|
|
2483
|
+
"deprecateAliases": true,
|
|
2484
|
+
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2485
|
+
"examples": [
|
|
2486
|
+
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2487
|
+
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2488
|
+
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2489
|
+
],
|
|
2490
|
+
"flags": {
|
|
2491
|
+
"json": {
|
|
2492
|
+
"description": "Format output as json.",
|
|
2493
|
+
"helpGroup": "GLOBAL",
|
|
2494
|
+
"name": "json",
|
|
2495
|
+
"allowNo": false,
|
|
2496
|
+
"type": "boolean"
|
|
2497
|
+
},
|
|
2498
|
+
"flags-dir": {
|
|
2499
|
+
"helpGroup": "GLOBAL",
|
|
2500
|
+
"name": "flags-dir",
|
|
2501
|
+
"summary": "Import flag values from a directory.",
|
|
2502
|
+
"hasDynamicHelp": false,
|
|
2503
|
+
"multiple": false,
|
|
2504
|
+
"type": "option"
|
|
2505
|
+
},
|
|
2506
|
+
"source-dir": {
|
|
2507
|
+
"aliases": [
|
|
2508
|
+
"sourcepath"
|
|
2509
|
+
],
|
|
2510
|
+
"char": "p",
|
|
2511
|
+
"deprecateAliases": true,
|
|
2512
|
+
"name": "source-dir",
|
|
2513
|
+
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2514
|
+
"hasDynamicHelp": false,
|
|
2515
|
+
"multiple": false,
|
|
2516
|
+
"type": "option"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"hasDynamicHelp": false,
|
|
2520
|
+
"hiddenAliases": [],
|
|
2521
|
+
"id": "project:list:ignored",
|
|
2522
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2523
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2524
|
+
"pluginType": "core",
|
|
2525
|
+
"strict": true,
|
|
2526
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2527
|
+
"enableJsonFlag": true,
|
|
2528
|
+
"requiresProject": true,
|
|
2529
|
+
"isESM": true,
|
|
2530
|
+
"relativePath": [
|
|
2531
|
+
"lib",
|
|
2532
|
+
"commands",
|
|
2533
|
+
"project",
|
|
2534
|
+
"list",
|
|
2535
|
+
"ignored.js"
|
|
2536
|
+
],
|
|
2537
|
+
"aliasPermutations": [
|
|
2538
|
+
"force:source:ignored:list",
|
|
2539
|
+
"source:force:ignored:list",
|
|
2540
|
+
"source:ignored:force:list",
|
|
2541
|
+
"source:ignored:list:force",
|
|
2542
|
+
"force:ignored:source:list",
|
|
2543
|
+
"ignored:force:source:list",
|
|
2544
|
+
"ignored:source:force:list",
|
|
2545
|
+
"ignored:source:list:force",
|
|
2546
|
+
"force:ignored:list:source",
|
|
2547
|
+
"ignored:force:list:source",
|
|
2548
|
+
"ignored:list:force:source",
|
|
2549
|
+
"ignored:list:source:force",
|
|
2550
|
+
"force:source:list:ignored",
|
|
2551
|
+
"source:force:list:ignored",
|
|
2552
|
+
"source:list:force:ignored",
|
|
2553
|
+
"source:list:ignored:force",
|
|
2554
|
+
"force:list:source:ignored",
|
|
2555
|
+
"list:force:source:ignored",
|
|
2556
|
+
"list:source:force:ignored",
|
|
2557
|
+
"list:source:ignored:force",
|
|
2558
|
+
"force:list:ignored:source",
|
|
2559
|
+
"list:force:ignored:source",
|
|
2560
|
+
"list:ignored:force:source",
|
|
2561
|
+
"list:ignored:source:force"
|
|
2562
|
+
],
|
|
2563
|
+
"permutations": [
|
|
2564
|
+
"project:list:ignored",
|
|
2565
|
+
"list:project:ignored",
|
|
2566
|
+
"list:ignored:project",
|
|
2567
|
+
"project:ignored:list",
|
|
2568
|
+
"ignored:project:list",
|
|
2569
|
+
"ignored:list:project"
|
|
2570
|
+
]
|
|
2571
|
+
},
|
|
2478
2572
|
"project:reset:tracking": {
|
|
2479
2573
|
"aliases": [
|
|
2480
2574
|
"force:source:tracking:reset"
|
|
@@ -2611,100 +2705,6 @@
|
|
|
2611
2705
|
"tracking:reset:project"
|
|
2612
2706
|
]
|
|
2613
2707
|
},
|
|
2614
|
-
"project:list:ignored": {
|
|
2615
|
-
"aliases": [
|
|
2616
|
-
"force:source:ignored:list"
|
|
2617
|
-
],
|
|
2618
|
-
"args": {},
|
|
2619
|
-
"deprecateAliases": true,
|
|
2620
|
-
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2621
|
-
"examples": [
|
|
2622
|
-
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2623
|
-
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2624
|
-
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2625
|
-
],
|
|
2626
|
-
"flags": {
|
|
2627
|
-
"json": {
|
|
2628
|
-
"description": "Format output as json.",
|
|
2629
|
-
"helpGroup": "GLOBAL",
|
|
2630
|
-
"name": "json",
|
|
2631
|
-
"allowNo": false,
|
|
2632
|
-
"type": "boolean"
|
|
2633
|
-
},
|
|
2634
|
-
"flags-dir": {
|
|
2635
|
-
"helpGroup": "GLOBAL",
|
|
2636
|
-
"name": "flags-dir",
|
|
2637
|
-
"summary": "Import flag values from a directory.",
|
|
2638
|
-
"hasDynamicHelp": false,
|
|
2639
|
-
"multiple": false,
|
|
2640
|
-
"type": "option"
|
|
2641
|
-
},
|
|
2642
|
-
"source-dir": {
|
|
2643
|
-
"aliases": [
|
|
2644
|
-
"sourcepath"
|
|
2645
|
-
],
|
|
2646
|
-
"char": "p",
|
|
2647
|
-
"deprecateAliases": true,
|
|
2648
|
-
"name": "source-dir",
|
|
2649
|
-
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2650
|
-
"hasDynamicHelp": false,
|
|
2651
|
-
"multiple": false,
|
|
2652
|
-
"type": "option"
|
|
2653
|
-
}
|
|
2654
|
-
},
|
|
2655
|
-
"hasDynamicHelp": false,
|
|
2656
|
-
"hiddenAliases": [],
|
|
2657
|
-
"id": "project:list:ignored",
|
|
2658
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2659
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2660
|
-
"pluginType": "core",
|
|
2661
|
-
"strict": true,
|
|
2662
|
-
"summary": "Check your local project package directories for forceignored files.",
|
|
2663
|
-
"enableJsonFlag": true,
|
|
2664
|
-
"requiresProject": true,
|
|
2665
|
-
"isESM": true,
|
|
2666
|
-
"relativePath": [
|
|
2667
|
-
"lib",
|
|
2668
|
-
"commands",
|
|
2669
|
-
"project",
|
|
2670
|
-
"list",
|
|
2671
|
-
"ignored.js"
|
|
2672
|
-
],
|
|
2673
|
-
"aliasPermutations": [
|
|
2674
|
-
"force:source:ignored:list",
|
|
2675
|
-
"source:force:ignored:list",
|
|
2676
|
-
"source:ignored:force:list",
|
|
2677
|
-
"source:ignored:list:force",
|
|
2678
|
-
"force:ignored:source:list",
|
|
2679
|
-
"ignored:force:source:list",
|
|
2680
|
-
"ignored:source:force:list",
|
|
2681
|
-
"ignored:source:list:force",
|
|
2682
|
-
"force:ignored:list:source",
|
|
2683
|
-
"ignored:force:list:source",
|
|
2684
|
-
"ignored:list:force:source",
|
|
2685
|
-
"ignored:list:source:force",
|
|
2686
|
-
"force:source:list:ignored",
|
|
2687
|
-
"source:force:list:ignored",
|
|
2688
|
-
"source:list:force:ignored",
|
|
2689
|
-
"source:list:ignored:force",
|
|
2690
|
-
"force:list:source:ignored",
|
|
2691
|
-
"list:force:source:ignored",
|
|
2692
|
-
"list:source:force:ignored",
|
|
2693
|
-
"list:source:ignored:force",
|
|
2694
|
-
"force:list:ignored:source",
|
|
2695
|
-
"list:force:ignored:source",
|
|
2696
|
-
"list:ignored:force:source",
|
|
2697
|
-
"list:ignored:source:force"
|
|
2698
|
-
],
|
|
2699
|
-
"permutations": [
|
|
2700
|
-
"project:list:ignored",
|
|
2701
|
-
"list:project:ignored",
|
|
2702
|
-
"list:ignored:project",
|
|
2703
|
-
"project:ignored:list",
|
|
2704
|
-
"ignored:project:list",
|
|
2705
|
-
"ignored:list:project"
|
|
2706
|
-
]
|
|
2707
|
-
},
|
|
2708
2708
|
"project:retrieve:preview": {
|
|
2709
2709
|
"aliases": [
|
|
2710
2710
|
"retrieve:metadata:preview"
|
|
@@ -3050,5 +3050,5 @@
|
|
|
3050
3050
|
]
|
|
3051
3051
|
}
|
|
3052
3052
|
},
|
|
3053
|
-
"version": "3.22.
|
|
3053
|
+
"version": "3.22.2"
|
|
3054
3054
|
}
|