@salesforce/plugin-packaging 1.27.4 → 1.27.6

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.
Files changed (4) hide show
  1. package/README.md +175 -109
  2. package/oclif.lock +171 -116
  3. package/oclif.manifest.json +1905 -1377
  4. package/package.json +5 -5
@@ -1,1441 +1,2063 @@
1
1
  {
2
- "version": "1.27.4",
3
2
  "commands": {
4
3
  "package:convert": {
5
- "id": "package:convert",
6
- "summary": "Create a second-generation package version from a first-generation package.",
7
- "description": "The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.\n\nIt then creates a new package version in the Dev Hub with contents based on the specified first-generation package.\n\nThe latest released non-patch package version from the specified first-generation package will be converted.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nWe recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-packaging",
10
- "pluginAlias": "@salesforce/plugin-packaging",
11
- "pluginType": "core",
12
- "hidden": true,
13
4
  "aliases": [
14
5
  "force:package:convert"
15
6
  ],
7
+ "args": {},
8
+ "deprecateAliases": true,
9
+ "description": "The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.\n\nIt then creates a new package version in the Dev Hub with contents based on the specified first-generation package.\n\nThe latest released non-patch package version from the specified first-generation package will be converted.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nWe recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
16
10
  "examples": [
17
11
  "Create a second-generation package version from the first-generation package with the specified ID and give it the installation key \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123",
18
12
  "Similar to previous example, but uses the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com"
19
13
  ],
20
- "deprecateAliases": true,
21
14
  "flags": {
15
+ "json": {
16
+ "description": "Format output as json.",
17
+ "helpGroup": "GLOBAL",
18
+ "name": "json",
19
+ "allowNo": false,
20
+ "type": "boolean"
21
+ },
22
22
  "loglevel": {
23
- "name": "loglevel",
24
- "type": "option",
25
- "hidden": true,
26
- "multiple": false,
27
23
  "deprecated": {
28
24
  "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."
29
25
  },
30
- "deprecateAliases": true
26
+ "hidden": true,
27
+ "name": "loglevel",
28
+ "hasDynamicHelp": false,
29
+ "multiple": false,
30
+ "type": "option"
31
31
  },
32
32
  "target-dev-hub": {
33
- "name": "target-dev-hub",
34
- "type": "option",
35
- "char": "v",
36
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
37
- "required": true,
38
- "multiple": false,
39
- "deprecateAliases": true,
40
33
  "aliases": [
41
34
  "targetdevhubusername",
42
35
  "target-hub-org"
43
- ]
36
+ ],
37
+ "char": "v",
38
+ "deprecateAliases": true,
39
+ "name": "target-dev-hub",
40
+ "noCacheDefault": true,
41
+ "required": true,
42
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
43
+ "hasDynamicHelp": true,
44
+ "multiple": false,
45
+ "type": "option"
44
46
  },
45
47
  "api-version": {
46
- "name": "api-version",
47
- "type": "option",
48
- "description": "Override the api version used for api requests made by this command",
49
- "multiple": false,
50
- "deprecateAliases": true,
51
48
  "aliases": [
52
49
  "apiversion"
53
- ]
50
+ ],
51
+ "deprecateAliases": true,
52
+ "description": "Override the api version used for api requests made by this command",
53
+ "name": "api-version",
54
+ "hasDynamicHelp": false,
55
+ "multiple": false,
56
+ "type": "option"
54
57
  },
55
58
  "package": {
56
- "name": "package",
57
- "type": "option",
58
59
  "char": "p",
59
- "summary": "ID (starts with 033) of the first-generation package to convert.",
60
+ "name": "package",
60
61
  "required": true,
62
+ "summary": "ID (starts with 033) of the first-generation package to convert.",
63
+ "hasDynamicHelp": false,
61
64
  "multiple": false,
62
- "deprecateAliases": true
65
+ "type": "option"
63
66
  },
64
67
  "installation-key": {
65
- "name": "installation-key",
66
- "type": "option",
68
+ "aliases": [
69
+ "installationkey"
70
+ ],
67
71
  "char": "k",
68
- "summary": "Installation key for key-protected package.",
72
+ "deprecateAliases": true,
69
73
  "description": "Either an --installation-key value or the --installation-key-bypass flag is required.",
74
+ "name": "installation-key",
75
+ "summary": "Installation key for key-protected package.",
76
+ "hasDynamicHelp": false,
70
77
  "multiple": false,
71
- "deprecateAliases": true,
72
- "aliases": [
73
- "installationkey"
74
- ]
78
+ "type": "option"
75
79
  },
76
80
  "definition-file": {
77
- "name": "definition-file",
78
- "type": "option",
81
+ "aliases": [
82
+ "definitionfile"
83
+ ],
79
84
  "char": "f",
80
- "summary": "Path to a definition file that contains features and org preferences that the metadata of the package version depends on.",
85
+ "deprecateAliases": true,
81
86
  "description": "This definition file is similar to the scratch org definition file.",
87
+ "name": "definition-file",
88
+ "summary": "Path to a definition file that contains features and org preferences that the metadata of the package version depends on.",
89
+ "hasDynamicHelp": false,
82
90
  "multiple": false,
83
- "deprecateAliases": true,
84
- "aliases": [
85
- "definitionfile"
86
- ]
91
+ "type": "option"
87
92
  },
88
93
  "installation-key-bypass": {
89
- "name": "installation-key-bypass",
90
- "type": "boolean",
94
+ "aliases": [
95
+ "installationkeybypass"
96
+ ],
91
97
  "char": "x",
92
- "summary": "Bypass the installation key requirement.",
98
+ "deprecateAliases": true,
93
99
  "description": "If you bypass this requirement, anyone can install your package. Either an --installation-key value or the --installation-key-bypass flag is required.",
100
+ "name": "installation-key-bypass",
101
+ "summary": "Bypass the installation key requirement.",
94
102
  "allowNo": false,
95
- "deprecateAliases": true,
96
- "aliases": [
97
- "installationkeybypass"
98
- ]
103
+ "type": "boolean"
99
104
  },
100
105
  "wait": {
101
- "name": "wait",
102
- "type": "option",
103
106
  "char": "w",
107
+ "name": "wait",
104
108
  "summary": "Minutes to wait for the package version to be created.",
105
- "multiple": false,
106
109
  "default": {
107
110
  "quantity": 0,
108
111
  "unit": 0
109
112
  },
110
- "deprecateAliases": true
113
+ "hasDynamicHelp": false,
114
+ "multiple": false,
115
+ "type": "option"
111
116
  },
112
117
  "build-instance": {
113
- "name": "build-instance",
114
- "type": "option",
118
+ "aliases": [
119
+ "buildinstance"
120
+ ],
115
121
  "char": "s",
116
- "summary": "Instance where the conversion package version will be created, such as NA50.",
122
+ "deprecateAliases": true,
117
123
  "hidden": true,
124
+ "name": "build-instance",
125
+ "summary": "Instance where the conversion package version will be created, such as NA50.",
126
+ "hasDynamicHelp": false,
118
127
  "multiple": false,
119
- "deprecateAliases": true,
120
- "aliases": [
121
- "buildinstance"
122
- ]
128
+ "type": "option"
123
129
  },
124
130
  "seed-metadata": {
125
- "name": "seed-metadata",
126
- "type": "option",
127
131
  "char": "m",
128
- "summary": "Directory containing metadata to be deployed prior to conversion.",
129
132
  "description": "The directory containing metadata that will be deployed on the build org prior to attempting conversion.",
133
+ "name": "seed-metadata",
134
+ "summary": "Directory containing metadata to be deployed prior to conversion.",
135
+ "hasDynamicHelp": false,
130
136
  "multiple": false,
131
- "deprecateAliases": true
137
+ "type": "option"
132
138
  },
133
139
  "verbose": {
134
140
  "name": "verbose",
135
- "type": "boolean",
136
141
  "summary": "Display verbose command output.",
137
142
  "allowNo": false,
138
- "deprecateAliases": true
143
+ "type": "boolean"
139
144
  }
140
145
  },
141
- "args": {},
142
- "hasDynamicHelp": true
143
- },
144
- "package:create": {
145
- "id": "package:create",
146
- "summary": "Create a package.",
147
- "description": "First, use this command to create a package. Then create a package version.\n\nIf you don’t have a namespace defined in your sfdx-project.json file, use --no-namespace.\n\nYour --name value must be unique within your namespace.\n\nRun '<%= config.bin %> package list to list all packages in the Dev Hub org.",
148
- "strict": true,
149
- "pluginName": "@salesforce/plugin-packaging",
146
+ "hasDynamicHelp": true,
147
+ "hidden": true,
148
+ "hiddenAliases": [],
149
+ "id": "package:convert",
150
150
  "pluginAlias": "@salesforce/plugin-packaging",
151
+ "pluginName": "@salesforce/plugin-packaging",
151
152
  "pluginType": "core",
153
+ "strict": true,
154
+ "summary": "Create a second-generation package version from a first-generation package.",
155
+ "enableJsonFlag": true,
156
+ "SF_ENV": "SF_ENV",
157
+ "isESM": false,
158
+ "relativePath": [
159
+ "lib",
160
+ "commands",
161
+ "package",
162
+ "convert.js"
163
+ ]
164
+ },
165
+ "package:create": {
152
166
  "aliases": [
153
167
  "force:package:create"
154
168
  ],
169
+ "args": {},
170
+ "deprecateAliases": true,
171
+ "description": "First, use this command to create a package. Then create a package version.\n\nIf you don’t have a namespace defined in your sfdx-project.json file, use --no-namespace.\n\nYour --name value must be unique within your namespace.\n\nRun '<%= config.bin %> package list to list all packages in the Dev Hub org.",
155
172
  "examples": [
156
173
  "Create an unlocked package from the files in the \"force-app\" directory; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --name MyUnlockedPackage --package-type Unlocked --path force-app",
157
174
  "Create a managed packaged from the \"force-app\" directory files, give the package a description, and use the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --name MyManagedPackage --description \"Your Package Descripton\" --package-type Managed --path force-app --target-dev-hub devhub@example.com"
158
175
  ],
159
- "deprecateAliases": true,
160
176
  "flags": {
177
+ "json": {
178
+ "description": "Format output as json.",
179
+ "helpGroup": "GLOBAL",
180
+ "name": "json",
181
+ "allowNo": false,
182
+ "type": "boolean"
183
+ },
161
184
  "loglevel": {
162
- "name": "loglevel",
163
- "type": "option",
164
- "hidden": true,
165
- "multiple": false,
166
185
  "deprecated": {
167
186
  "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."
168
187
  },
169
- "deprecateAliases": true
188
+ "hidden": true,
189
+ "name": "loglevel",
190
+ "hasDynamicHelp": false,
191
+ "multiple": false,
192
+ "type": "option"
170
193
  },
171
194
  "target-dev-hub": {
172
- "name": "target-dev-hub",
173
- "type": "option",
174
- "char": "v",
175
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
176
- "required": true,
177
- "multiple": false,
178
- "deprecateAliases": true,
179
195
  "aliases": [
180
196
  "targetdevhubusername",
181
197
  "target-hub-org"
182
- ]
198
+ ],
199
+ "char": "v",
200
+ "deprecateAliases": true,
201
+ "name": "target-dev-hub",
202
+ "noCacheDefault": true,
203
+ "required": true,
204
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
205
+ "hasDynamicHelp": true,
206
+ "multiple": false,
207
+ "type": "option"
183
208
  },
184
209
  "api-version": {
185
- "name": "api-version",
186
- "type": "option",
187
- "description": "Override the api version used for api requests made by this command",
188
- "multiple": false,
189
- "deprecateAliases": true,
190
210
  "aliases": [
191
211
  "apiversion"
192
- ]
212
+ ],
213
+ "deprecateAliases": true,
214
+ "description": "Override the api version used for api requests made by this command",
215
+ "name": "api-version",
216
+ "hasDynamicHelp": false,
217
+ "multiple": false,
218
+ "type": "option"
193
219
  },
194
220
  "name": {
195
- "name": "name",
196
- "type": "option",
197
221
  "char": "n",
198
- "summary": "Name of the package to create.",
222
+ "name": "name",
199
223
  "required": true,
224
+ "summary": "Name of the package to create.",
225
+ "hasDynamicHelp": false,
200
226
  "multiple": false,
201
- "deprecateAliases": true
227
+ "type": "option"
202
228
  },
203
229
  "package-type": {
204
- "name": "package-type",
205
- "type": "option",
230
+ "aliases": [
231
+ "packagetype"
232
+ ],
206
233
  "char": "t",
207
- "summary": "Type of package.",
234
+ "deprecateAliases": true,
208
235
  "description": "The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable). These options determine upgrade and editability rules.",
236
+ "name": "package-type",
209
237
  "required": true,
238
+ "summary": "Type of package.",
239
+ "hasDynamicHelp": false,
210
240
  "multiple": false,
211
241
  "options": [
212
242
  "Managed",
213
243
  "Unlocked"
214
244
  ],
215
- "deprecateAliases": true,
216
- "aliases": [
217
- "packagetype"
218
- ]
245
+ "type": "option"
219
246
  },
220
247
  "description": {
221
- "name": "description",
222
- "type": "option",
223
248
  "char": "d",
249
+ "name": "description",
224
250
  "summary": "Description of the package.",
251
+ "hasDynamicHelp": false,
225
252
  "multiple": false,
226
- "deprecateAliases": true
253
+ "type": "option"
227
254
  },
228
255
  "no-namespace": {
229
- "name": "no-namespace",
230
- "type": "boolean",
256
+ "aliases": [
257
+ "nonamespace"
258
+ ],
231
259
  "char": "e",
232
- "summary": "Create the package with no namespace; available only for unlocked packages.",
260
+ "deprecateAliases": true,
233
261
  "description": "This flag is useful when you’re migrating an existing org to packages. But use a namespaced package for new metadata.",
262
+ "name": "no-namespace",
263
+ "summary": "Create the package with no namespace; available only for unlocked packages.",
234
264
  "allowNo": false,
235
- "deprecateAliases": true,
236
- "aliases": [
237
- "nonamespace"
238
- ]
265
+ "type": "boolean"
239
266
  },
240
267
  "path": {
241
- "name": "path",
242
- "type": "option",
243
268
  "char": "r",
244
- "summary": "Path to directory that contains the contents of the package.",
269
+ "name": "path",
245
270
  "required": true,
271
+ "summary": "Path to directory that contains the contents of the package.",
272
+ "hasDynamicHelp": false,
246
273
  "multiple": false,
247
- "deprecateAliases": true
274
+ "type": "option"
248
275
  },
249
276
  "org-dependent": {
277
+ "aliases": [
278
+ "orgdependent"
279
+ ],
280
+ "deprecateAliases": true,
281
+ "description": "Use Source Tracking in Sandboxes to develop your org-dependent unlocked package. For more information, see \"Create Org-Dependent Unlocked Packages\" in the Salesforce DX Developer Guide.",
250
282
  "name": "org-dependent",
251
- "type": "boolean",
252
283
  "summary": "Depends on unpackaged metadata in the installation org; applies to unlocked packages only.",
253
- "description": "Use Source Tracking in Sandboxes to develop your org-dependent unlocked package. For more information, see \"Create Org-Dependent Unlocked Packages\" in the Salesforce DX Developer Guide.",
254
284
  "allowNo": false,
255
- "deprecateAliases": true,
256
- "aliases": [
257
- "orgdependent"
258
- ]
285
+ "type": "boolean"
259
286
  },
260
287
  "error-notification-username": {
261
- "name": "error-notification-username",
262
- "type": "option",
288
+ "aliases": [
289
+ "errornotificationusername"
290
+ ],
263
291
  "char": "o",
264
- "summary": "Active Dev Hub user designated to receive email notifications for package errors.",
292
+ "deprecateAliases": true,
265
293
  "description": "Email notifications include information about unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.",
294
+ "name": "error-notification-username",
295
+ "summary": "Active Dev Hub user designated to receive email notifications for package errors.",
296
+ "hasDynamicHelp": false,
266
297
  "multiple": false,
267
- "deprecateAliases": true,
268
- "aliases": [
269
- "errornotificationusername"
270
- ]
298
+ "type": "option"
271
299
  }
272
300
  },
273
- "args": {},
301
+ "hasDynamicHelp": true,
302
+ "hiddenAliases": [],
303
+ "id": "package:create",
304
+ "pluginAlias": "@salesforce/plugin-packaging",
305
+ "pluginName": "@salesforce/plugin-packaging",
306
+ "pluginType": "core",
307
+ "strict": true,
308
+ "summary": "Create a package.",
309
+ "enableJsonFlag": true,
310
+ "SF_ENV": "SF_ENV",
274
311
  "requiresProject": true,
275
- "hasDynamicHelp": true
312
+ "isESM": false,
313
+ "relativePath": [
314
+ "lib",
315
+ "commands",
316
+ "package",
317
+ "create.js"
318
+ ]
276
319
  },
277
320
  "package:delete": {
278
- "id": "package:delete",
279
- "summary": "Delete a package.",
280
- "description": "Specify the ID or alias of the package you want to delete.\n\nDelete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.",
281
- "strict": true,
282
- "pluginName": "@salesforce/plugin-packaging",
283
- "pluginAlias": "@salesforce/plugin-packaging",
284
- "pluginType": "core",
285
321
  "aliases": [
286
322
  "force:package:delete"
287
323
  ],
324
+ "args": {},
325
+ "deprecateAliases": true,
326
+ "description": "Specify the ID or alias of the package you want to delete.\n\nDelete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.",
288
327
  "examples": [
289
328
  "Delete a package using its alias from your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\"",
290
329
  "Delete a package using its ID from the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 0Ho... --target-dev-hub devhub@example.com"
291
330
  ],
292
- "deprecateAliases": true,
293
331
  "flags": {
332
+ "json": {
333
+ "description": "Format output as json.",
334
+ "helpGroup": "GLOBAL",
335
+ "name": "json",
336
+ "allowNo": false,
337
+ "type": "boolean"
338
+ },
294
339
  "loglevel": {
295
- "name": "loglevel",
296
- "type": "option",
297
- "hidden": true,
298
- "multiple": false,
299
340
  "deprecated": {
300
341
  "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."
301
342
  },
302
- "deprecateAliases": true
343
+ "hidden": true,
344
+ "name": "loglevel",
345
+ "hasDynamicHelp": false,
346
+ "multiple": false,
347
+ "type": "option"
303
348
  },
304
349
  "target-dev-hub": {
305
- "name": "target-dev-hub",
306
- "type": "option",
307
- "char": "v",
308
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
309
- "required": true,
310
- "multiple": false,
311
- "deprecateAliases": true,
312
350
  "aliases": [
313
351
  "targetdevhubusername",
314
352
  "target-hub-org"
315
- ]
353
+ ],
354
+ "char": "v",
355
+ "deprecateAliases": true,
356
+ "name": "target-dev-hub",
357
+ "noCacheDefault": true,
358
+ "required": true,
359
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
360
+ "hasDynamicHelp": true,
361
+ "multiple": false,
362
+ "type": "option"
316
363
  },
317
364
  "api-version": {
318
- "name": "api-version",
319
- "type": "option",
320
- "description": "Override the api version used for api requests made by this command",
321
- "multiple": false,
322
- "deprecateAliases": true,
323
365
  "aliases": [
324
366
  "apiversion"
325
- ]
367
+ ],
368
+ "deprecateAliases": true,
369
+ "description": "Override the api version used for api requests made by this command",
370
+ "name": "api-version",
371
+ "hasDynamicHelp": false,
372
+ "multiple": false,
373
+ "type": "option"
326
374
  },
327
375
  "no-prompt": {
328
- "name": "no-prompt",
329
- "type": "boolean",
376
+ "aliases": [
377
+ "noprompt"
378
+ ],
330
379
  "char": "n",
380
+ "deprecateAliases": true,
381
+ "name": "no-prompt",
331
382
  "summary": "Don’t prompt before deleting the package.",
332
383
  "allowNo": false,
333
- "deprecateAliases": true,
334
- "aliases": [
335
- "noprompt"
336
- ]
384
+ "type": "boolean"
337
385
  },
338
386
  "package": {
339
- "name": "package",
340
- "type": "option",
341
387
  "char": "p",
342
- "summary": "ID (starts with 0Ho) or alias of the package to delete.",
388
+ "name": "package",
343
389
  "required": true,
390
+ "summary": "ID (starts with 0Ho) or alias of the package to delete.",
391
+ "hasDynamicHelp": false,
344
392
  "multiple": false,
345
- "deprecateAliases": true
393
+ "type": "option"
346
394
  },
347
395
  "undelete": {
396
+ "hidden": true,
348
397
  "name": "undelete",
349
- "type": "boolean",
350
398
  "summary": "Undelete a deleted package.",
351
- "hidden": true,
352
399
  "allowNo": false,
353
- "deprecateAliases": true
400
+ "type": "boolean"
354
401
  }
355
402
  },
356
- "args": {},
403
+ "hasDynamicHelp": true,
404
+ "hiddenAliases": [],
405
+ "id": "package:delete",
406
+ "pluginAlias": "@salesforce/plugin-packaging",
407
+ "pluginName": "@salesforce/plugin-packaging",
408
+ "pluginType": "core",
409
+ "strict": true,
410
+ "summary": "Delete a package.",
411
+ "enableJsonFlag": true,
412
+ "SF_ENV": "SF_ENV",
357
413
  "requiresProject": true,
358
- "hasDynamicHelp": true
414
+ "isESM": false,
415
+ "relativePath": [
416
+ "lib",
417
+ "commands",
418
+ "package",
419
+ "delete.js"
420
+ ]
359
421
  },
360
422
  "package:install": {
361
- "id": "package:install",
362
- "summary": "Install a version of a package in the target org.",
363
- "description": "To install a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.\n\nFor package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgrade-type value. To delete components that can be safely deleted and deprecate the others, specify --upgrade-type Mixed (the default). To deprecate all removed components, specify --upgrade-type DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgrade-type Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.",
364
- "strict": true,
365
- "pluginName": "@salesforce/plugin-packaging",
366
- "pluginAlias": "@salesforce/plugin-packaging",
367
- "pluginType": "core",
368
423
  "aliases": [
369
424
  "force:package:install"
370
425
  ],
426
+ "args": {},
427
+ "deprecateAliases": true,
428
+ "description": "To install a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.\n\nFor package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgrade-type value. To delete components that can be safely deleted and deprecate the others, specify --upgrade-type Mixed (the default). To deprecate all removed components, specify --upgrade-type DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgrade-type Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.",
371
429
  "examples": [
372
430
  "Install a package version with the specified ID in the org with username \"me@example.com\":\n<%= config.bin %> <%= command.id %> --package 04t... --target-org me@example.com",
373
431
  "Install a package version with the specified alias into your default org:\n<%= config.bin %> <%= command.id %> --package awesome_package_alias",
374
432
  "Install a package version with an alias that includes spaces into your default org:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\"",
375
433
  "Install an unlocked package version with the specified ID and deprecate all removed components:\n<%= config.bin %> <%= command.id %> --package 04t... --upgrade-type DeprecateOnly"
376
434
  ],
377
- "deprecateAliases": true,
378
435
  "flags": {
436
+ "json": {
437
+ "description": "Format output as json.",
438
+ "helpGroup": "GLOBAL",
439
+ "name": "json",
440
+ "allowNo": false,
441
+ "type": "boolean"
442
+ },
379
443
  "loglevel": {
380
- "name": "loglevel",
381
- "type": "option",
382
- "hidden": true,
383
- "multiple": false,
384
444
  "deprecated": {
385
445
  "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."
386
446
  },
387
- "deprecateAliases": true
447
+ "hidden": true,
448
+ "name": "loglevel",
449
+ "hasDynamicHelp": false,
450
+ "multiple": false,
451
+ "type": "option"
388
452
  },
389
453
  "target-org": {
390
- "name": "target-org",
391
- "type": "option",
392
- "char": "o",
393
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
394
- "required": true,
395
- "multiple": false,
396
- "deprecateAliases": true,
397
454
  "aliases": [
398
455
  "targetusername",
399
456
  "u"
400
- ]
457
+ ],
458
+ "char": "o",
459
+ "deprecateAliases": true,
460
+ "name": "target-org",
461
+ "noCacheDefault": true,
462
+ "required": true,
463
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
464
+ "hasDynamicHelp": true,
465
+ "multiple": false,
466
+ "type": "option"
401
467
  },
402
468
  "api-version": {
403
- "name": "api-version",
404
- "type": "option",
405
- "description": "Override the api version used for api requests made by this command",
406
- "multiple": false,
407
- "deprecateAliases": true,
408
469
  "aliases": [
409
470
  "apiversion"
410
- ]
471
+ ],
472
+ "deprecateAliases": true,
473
+ "description": "Override the api version used for api requests made by this command",
474
+ "name": "api-version",
475
+ "hasDynamicHelp": false,
476
+ "multiple": false,
477
+ "type": "option"
411
478
  },
412
479
  "wait": {
413
- "name": "wait",
414
- "type": "option",
415
480
  "char": "w",
481
+ "name": "wait",
416
482
  "summary": "Number of minutes to wait for installation status.",
417
- "multiple": false,
418
483
  "default": {
419
484
  "quantity": 0,
420
485
  "unit": 0
421
486
  },
422
- "deprecateAliases": true
487
+ "hasDynamicHelp": false,
488
+ "multiple": false,
489
+ "type": "option"
423
490
  },
424
491
  "installation-key": {
425
- "name": "installation-key",
426
- "type": "option",
492
+ "aliases": [
493
+ "installationkey"
494
+ ],
427
495
  "char": "k",
496
+ "deprecateAliases": true,
497
+ "name": "installation-key",
428
498
  "summary": "Installation key for key-protected package (default: null).",
499
+ "hasDynamicHelp": false,
429
500
  "multiple": false,
430
- "deprecateAliases": true,
431
- "aliases": [
432
- "installationkey"
433
- ]
501
+ "type": "option"
434
502
  },
435
503
  "publish-wait": {
436
- "name": "publish-wait",
437
- "type": "option",
504
+ "aliases": [
505
+ "publishwait"
506
+ ],
438
507
  "char": "b",
508
+ "deprecateAliases": true,
509
+ "name": "publish-wait",
439
510
  "summary": "Maximum number of minutes to wait for the Subscriber Package Version ID to become available in the target org before canceling the install request.",
440
- "multiple": false,
441
511
  "default": {
442
512
  "quantity": 0,
443
513
  "unit": 0
444
514
  },
445
- "deprecateAliases": true,
446
- "aliases": [
447
- "publishwait"
448
- ]
515
+ "hasDynamicHelp": false,
516
+ "multiple": false,
517
+ "type": "option"
449
518
  },
450
519
  "no-prompt": {
451
- "name": "no-prompt",
452
- "type": "boolean",
520
+ "aliases": [
521
+ "noprompt"
522
+ ],
453
523
  "char": "r",
454
- "summary": "Don't prompt for confirmation.",
524
+ "deprecateAliases": true,
455
525
  "description": "Allows the following without an explicit confirmation response: 1) Remote Site Settings and Content Security Policy websites to send or receive data, and 2) --upgrade-type Delete to proceed.",
526
+ "name": "no-prompt",
527
+ "summary": "Don't prompt for confirmation.",
456
528
  "allowNo": false,
457
- "deprecateAliases": true,
458
- "aliases": [
459
- "noprompt"
460
- ]
529
+ "type": "boolean"
461
530
  },
462
531
  "package": {
463
- "name": "package",
464
- "type": "option",
465
532
  "char": "p",
466
- "summary": "ID (starts with 04t) or alias of the package version to install.",
533
+ "name": "package",
467
534
  "required": true,
535
+ "summary": "ID (starts with 04t) or alias of the package version to install.",
536
+ "hasDynamicHelp": false,
468
537
  "multiple": false,
469
- "deprecateAliases": true
538
+ "type": "option"
470
539
  },
471
540
  "apex-compile": {
472
- "name": "apex-compile",
473
- "type": "option",
541
+ "aliases": [
542
+ "apexcompile"
543
+ ],
474
544
  "char": "a",
475
- "summary": "Compile all Apex in the org and package, or only Apex in the package; unlocked packages only.",
545
+ "deprecateAliases": true,
476
546
  "description": "Applies to unlocked packages only. Specifies whether to compile all Apex in the org and package, or only the Apex in the package.\n\nFor package installs into production orgs, or any org that has Apex Compile on Deploy enabled, the platform compiles all Apex in the org after the package install or upgrade operation completes.\n\nThis approach assures that package installs and upgrades don’t impact the performance of an org, and is done even if --apex-compile package is specified.",
547
+ "name": "apex-compile",
548
+ "summary": "Compile all Apex in the org and package, or only Apex in the package; unlocked packages only.",
549
+ "default": "all",
550
+ "hasDynamicHelp": false,
477
551
  "multiple": false,
478
552
  "options": [
479
553
  "all",
480
554
  "package"
481
555
  ],
482
- "default": "all",
483
- "deprecateAliases": true,
484
- "aliases": [
485
- "apexcompile"
486
- ]
556
+ "type": "option"
487
557
  },
488
558
  "security-type": {
489
- "name": "security-type",
490
- "type": "option",
559
+ "aliases": [
560
+ "securitytype"
561
+ ],
491
562
  "char": "s",
563
+ "deprecateAliases": true,
564
+ "name": "security-type",
492
565
  "summary": "Security access type for the installed package. (deprecation notice: The default --security-type value will change from AllUsers to AdminsOnly in v47.0 or later.)",
566
+ "default": "AdminsOnly",
567
+ "hasDynamicHelp": false,
493
568
  "multiple": false,
494
569
  "options": [
495
570
  "AllUsers",
496
571
  "AdminsOnly"
497
572
  ],
498
- "default": "AdminsOnly",
499
- "deprecateAliases": true,
500
- "aliases": [
501
- "securitytype"
502
- ]
573
+ "type": "option"
503
574
  },
504
575
  "upgrade-type": {
505
- "name": "upgrade-type",
506
- "type": "option",
576
+ "aliases": [
577
+ "upgradetype"
578
+ ],
507
579
  "char": "t",
508
- "summary": "Upgrade type for the package installation; available only for unlocked packages.",
580
+ "deprecateAliases": true,
509
581
  "description": "For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. Can specify DeprecateOnly or Delete only for unlocked package upgrades.",
582
+ "name": "upgrade-type",
583
+ "summary": "Upgrade type for the package installation; available only for unlocked packages.",
584
+ "default": "Mixed",
585
+ "hasDynamicHelp": false,
510
586
  "multiple": false,
511
587
  "options": [
512
588
  "DeprecateOnly",
513
589
  "Mixed",
514
590
  "Delete"
515
591
  ],
516
- "default": "Mixed",
517
- "deprecateAliases": true,
518
- "aliases": [
519
- "upgradetype"
520
- ]
592
+ "type": "option"
521
593
  },
522
594
  "skip-handlers": {
523
- "name": "skip-handlers",
524
- "type": "option",
525
595
  "char": "l",
526
- "summary": "Skip install handlers (available handlers: FeatureEnforcement).",
527
596
  "description": "Allows the installer of a package to optionally skip install handlers in order to decrease overall installation time (available handlers: FeatureEnforcement).",
528
597
  "hidden": true,
598
+ "name": "skip-handlers",
599
+ "summary": "Skip install handlers (available handlers: FeatureEnforcement).",
600
+ "hasDynamicHelp": false,
529
601
  "multiple": true,
530
602
  "options": [
531
603
  "FeatureEnforcement"
532
604
  ],
533
- "deprecateAliases": true
605
+ "type": "option"
534
606
  }
535
607
  },
536
- "args": {},
537
- "hasDynamicHelp": true
538
- },
539
- "package:list": {
540
- "id": "package:list",
541
- "summary": "List all packages in the Dev Hub org.",
542
- "description": "Description",
543
- "strict": true,
544
- "pluginName": "@salesforce/plugin-packaging",
608
+ "hasDynamicHelp": true,
609
+ "hiddenAliases": [],
610
+ "id": "package:install",
545
611
  "pluginAlias": "@salesforce/plugin-packaging",
612
+ "pluginName": "@salesforce/plugin-packaging",
546
613
  "pluginType": "core",
614
+ "strict": true,
615
+ "summary": "Install a version of a package in the target org.",
616
+ "enableJsonFlag": true,
617
+ "SF_ENV": "SF_ENV",
618
+ "isESM": false,
619
+ "relativePath": [
620
+ "lib",
621
+ "commands",
622
+ "package",
623
+ "install.js"
624
+ ]
625
+ },
626
+ "package:list": {
547
627
  "aliases": [
548
628
  "force:package:list"
549
629
  ],
630
+ "args": {},
631
+ "deprecateAliases": true,
632
+ "description": "Description",
550
633
  "examples": [
551
634
  "List all packages in the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --target-dev-hub devhub@example.com",
552
635
  "List all packages details in the specified Dev Hub org, and show extended details about each package:\n<%= config.bin %> <%= command.id %> --target-dev-hub devhub@example.com --verbose"
553
636
  ],
554
- "deprecateAliases": true,
555
637
  "flags": {
638
+ "json": {
639
+ "description": "Format output as json.",
640
+ "helpGroup": "GLOBAL",
641
+ "name": "json",
642
+ "allowNo": false,
643
+ "type": "boolean"
644
+ },
556
645
  "loglevel": {
557
- "name": "loglevel",
558
- "type": "option",
559
- "hidden": true,
560
- "multiple": false,
561
646
  "deprecated": {
562
647
  "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."
563
648
  },
564
- "deprecateAliases": true
649
+ "hidden": true,
650
+ "name": "loglevel",
651
+ "hasDynamicHelp": false,
652
+ "multiple": false,
653
+ "type": "option"
565
654
  },
566
655
  "target-dev-hub": {
567
- "name": "target-dev-hub",
568
- "type": "option",
569
- "char": "v",
570
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
571
- "required": true,
572
- "multiple": false,
573
- "deprecateAliases": true,
574
656
  "aliases": [
575
657
  "targetdevhubusername",
576
658
  "target-hub-org"
577
- ]
659
+ ],
660
+ "char": "v",
661
+ "deprecateAliases": true,
662
+ "name": "target-dev-hub",
663
+ "noCacheDefault": true,
664
+ "required": true,
665
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
666
+ "hasDynamicHelp": true,
667
+ "multiple": false,
668
+ "type": "option"
578
669
  },
579
670
  "api-version": {
580
- "name": "api-version",
581
- "type": "option",
582
- "description": "Override the api version used for api requests made by this command",
583
- "multiple": false,
584
- "deprecateAliases": true,
585
671
  "aliases": [
586
672
  "apiversion"
587
- ]
673
+ ],
674
+ "deprecateAliases": true,
675
+ "description": "Override the api version used for api requests made by this command",
676
+ "name": "api-version",
677
+ "hasDynamicHelp": false,
678
+ "multiple": false,
679
+ "type": "option"
588
680
  },
589
681
  "verbose": {
590
682
  "name": "verbose",
591
- "type": "boolean",
592
683
  "summary": "Display extended package detail.",
593
684
  "allowNo": false,
594
- "deprecateAliases": true
685
+ "type": "boolean"
595
686
  }
596
687
  },
597
- "args": {},
688
+ "hasDynamicHelp": true,
689
+ "hiddenAliases": [],
690
+ "id": "package:list",
691
+ "pluginAlias": "@salesforce/plugin-packaging",
692
+ "pluginName": "@salesforce/plugin-packaging",
693
+ "pluginType": "core",
694
+ "strict": true,
695
+ "summary": "List all packages in the Dev Hub org.",
696
+ "enableJsonFlag": true,
697
+ "SF_ENV": "SF_ENV",
598
698
  "requiresProject": true,
599
- "hasDynamicHelp": true
699
+ "isESM": false,
700
+ "relativePath": [
701
+ "lib",
702
+ "commands",
703
+ "package",
704
+ "list.js"
705
+ ]
600
706
  },
601
707
  "package:uninstall": {
602
- "id": "package:uninstall",
603
- "summary": "Uninstall a second-generation package from the target org.",
604
- "description": "Specify the package ID for a second-generation package.\n\nTo list the org’s installed packages, run \"<%= config.bin %> package installed list\".\n\nTo uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.",
605
- "strict": true,
606
- "pluginName": "@salesforce/plugin-packaging",
607
- "pluginAlias": "@salesforce/plugin-packaging",
608
- "pluginType": "core",
609
708
  "aliases": [
610
709
  "force:package:uninstall"
611
710
  ],
711
+ "args": {},
712
+ "deprecateAliases": true,
713
+ "description": "Specify the package ID for a second-generation package.\n\nTo list the org’s installed packages, run \"<%= config.bin %> package installed list\".\n\nTo uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.",
612
714
  "examples": [
613
715
  "Uninstall a package with specified ID from an org with username me@example.com:\n<%= config.bin %> <%= command.id %> --package 04t... --target-org me@example.com",
614
716
  "Uninstall a package with the specified alias from your default org:\n<%= config.bin %> <%= command.id %> --package undesirable_package_alias",
615
717
  "Uninstall a package with an alias that contains spaces from your default org:\n<%= config.bin %> <%= command.id %> --package \"Undesirable Package Alias\""
616
718
  ],
617
- "deprecateAliases": true,
618
719
  "flags": {
720
+ "json": {
721
+ "description": "Format output as json.",
722
+ "helpGroup": "GLOBAL",
723
+ "name": "json",
724
+ "allowNo": false,
725
+ "type": "boolean"
726
+ },
619
727
  "loglevel": {
620
- "name": "loglevel",
621
- "type": "option",
622
- "hidden": true,
623
- "multiple": false,
624
728
  "deprecated": {
625
729
  "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."
626
730
  },
627
- "deprecateAliases": true
731
+ "hidden": true,
732
+ "name": "loglevel",
733
+ "hasDynamicHelp": false,
734
+ "multiple": false,
735
+ "type": "option"
628
736
  },
629
737
  "target-org": {
630
- "name": "target-org",
631
- "type": "option",
632
- "char": "o",
633
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
634
- "required": true,
635
- "multiple": false,
636
- "deprecateAliases": true,
637
738
  "aliases": [
638
739
  "targetusername",
639
740
  "u"
640
- ]
741
+ ],
742
+ "char": "o",
743
+ "deprecateAliases": true,
744
+ "name": "target-org",
745
+ "noCacheDefault": true,
746
+ "required": true,
747
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
748
+ "hasDynamicHelp": true,
749
+ "multiple": false,
750
+ "type": "option"
641
751
  },
642
752
  "api-version": {
643
- "name": "api-version",
644
- "type": "option",
645
- "description": "Override the api version used for api requests made by this command",
646
- "multiple": false,
647
- "deprecateAliases": true,
648
753
  "aliases": [
649
754
  "apiversion"
650
- ]
755
+ ],
756
+ "deprecateAliases": true,
757
+ "description": "Override the api version used for api requests made by this command",
758
+ "name": "api-version",
759
+ "hasDynamicHelp": false,
760
+ "multiple": false,
761
+ "type": "option"
651
762
  },
652
763
  "wait": {
653
- "name": "wait",
654
- "type": "option",
655
764
  "char": "w",
765
+ "name": "wait",
656
766
  "summary": "Number of minutes to wait for uninstall status.",
657
- "multiple": false,
658
767
  "default": {
659
768
  "quantity": 0,
660
769
  "unit": 0
661
770
  },
662
- "deprecateAliases": true
771
+ "hasDynamicHelp": false,
772
+ "multiple": false,
773
+ "type": "option"
663
774
  },
664
775
  "package": {
665
- "name": "package",
666
- "type": "option",
667
776
  "char": "p",
668
- "summary": "ID (starts with 04t) or alias of the package version to uninstall.",
777
+ "name": "package",
669
778
  "required": true,
779
+ "summary": "ID (starts with 04t) or alias of the package version to uninstall.",
780
+ "hasDynamicHelp": false,
670
781
  "multiple": false,
671
- "deprecateAliases": true
782
+ "type": "option"
672
783
  }
673
784
  },
674
- "args": {},
675
- "hasDynamicHelp": true
676
- },
677
- "package:update": {
678
- "id": "package:update",
679
- "summary": "Update package details.",
680
- "description": "Specify a new value for each option you want to update.\n\nRun \"<%= config.bin %> package list\" to list all packages in the Dev Hub org.",
681
- "strict": true,
682
- "pluginName": "@salesforce/plugin-packaging",
785
+ "hasDynamicHelp": true,
786
+ "hiddenAliases": [],
787
+ "id": "package:uninstall",
683
788
  "pluginAlias": "@salesforce/plugin-packaging",
789
+ "pluginName": "@salesforce/plugin-packaging",
684
790
  "pluginType": "core",
791
+ "strict": true,
792
+ "summary": "Uninstall a second-generation package from the target org.",
793
+ "enableJsonFlag": true,
794
+ "SF_ENV": "SF_ENV",
795
+ "isESM": false,
796
+ "relativePath": [
797
+ "lib",
798
+ "commands",
799
+ "package",
800
+ "uninstall.js"
801
+ ]
802
+ },
803
+ "package:update": {
685
804
  "aliases": [
686
805
  "force:package:update"
687
806
  ],
807
+ "args": {},
808
+ "deprecateAliases": true,
809
+ "description": "Specify a new value for each option you want to update.\n\nRun \"<%= config.bin %> package list\" to list all packages in the Dev Hub org.",
688
810
  "examples": [
689
811
  "Update the name of the package with the specified alias; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\" --name \"New Package Name\"",
690
812
  "Update the description of the package with the specified ID; uses the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 0Ho... --description \"New Package Description\" --target-dev-hub devhub@example.com"
691
813
  ],
692
- "deprecateAliases": true,
693
814
  "flags": {
815
+ "json": {
816
+ "description": "Format output as json.",
817
+ "helpGroup": "GLOBAL",
818
+ "name": "json",
819
+ "allowNo": false,
820
+ "type": "boolean"
821
+ },
694
822
  "loglevel": {
695
- "name": "loglevel",
696
- "type": "option",
697
- "hidden": true,
698
- "multiple": false,
699
823
  "deprecated": {
700
824
  "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."
701
825
  },
702
- "deprecateAliases": true
826
+ "hidden": true,
827
+ "name": "loglevel",
828
+ "hasDynamicHelp": false,
829
+ "multiple": false,
830
+ "type": "option"
703
831
  },
704
832
  "target-dev-hub": {
705
- "name": "target-dev-hub",
706
- "type": "option",
707
- "char": "v",
708
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
709
- "required": true,
710
- "multiple": false,
711
- "deprecateAliases": true,
712
833
  "aliases": [
713
834
  "targetdevhubusername",
714
835
  "target-hub-org"
715
- ]
836
+ ],
837
+ "char": "v",
838
+ "deprecateAliases": true,
839
+ "name": "target-dev-hub",
840
+ "noCacheDefault": true,
841
+ "required": true,
842
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
843
+ "hasDynamicHelp": true,
844
+ "multiple": false,
845
+ "type": "option"
716
846
  },
717
847
  "api-version": {
718
- "name": "api-version",
719
- "type": "option",
720
- "description": "Override the api version used for api requests made by this command",
721
- "multiple": false,
722
- "deprecateAliases": true,
723
848
  "aliases": [
724
849
  "apiversion"
725
- ]
850
+ ],
851
+ "deprecateAliases": true,
852
+ "description": "Override the api version used for api requests made by this command",
853
+ "name": "api-version",
854
+ "hasDynamicHelp": false,
855
+ "multiple": false,
856
+ "type": "option"
726
857
  },
727
858
  "package": {
728
- "name": "package",
729
- "type": "option",
730
859
  "char": "p",
731
- "summary": "ID (starts with 0Ho) or alias of the package to update.",
860
+ "name": "package",
732
861
  "required": true,
862
+ "summary": "ID (starts with 0Ho) or alias of the package to update.",
863
+ "hasDynamicHelp": false,
733
864
  "multiple": false,
734
- "deprecateAliases": true
865
+ "type": "option"
735
866
  },
736
867
  "name": {
737
- "name": "name",
738
- "type": "option",
739
868
  "char": "n",
869
+ "name": "name",
740
870
  "summary": "New name of the package.",
871
+ "hasDynamicHelp": false,
741
872
  "multiple": false,
742
- "deprecateAliases": true
873
+ "type": "option"
743
874
  },
744
875
  "description": {
745
- "name": "description",
746
- "type": "option",
747
876
  "char": "d",
877
+ "name": "description",
748
878
  "summary": "New description of the package.",
879
+ "hasDynamicHelp": false,
749
880
  "multiple": false,
750
- "deprecateAliases": true
881
+ "type": "option"
751
882
  },
752
883
  "error-notification-username": {
753
- "name": "error-notification-username",
754
- "type": "option",
884
+ "aliases": [
885
+ "errornotificationusername"
886
+ ],
755
887
  "char": "o",
756
- "summary": "Active Dev Hub user designated to receive email notifications for package errors.",
888
+ "deprecateAliases": true,
757
889
  "description": "Email notifications include information about unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.",
890
+ "name": "error-notification-username",
891
+ "summary": "Active Dev Hub user designated to receive email notifications for package errors.",
892
+ "hasDynamicHelp": false,
758
893
  "multiple": false,
759
- "deprecateAliases": true,
760
- "aliases": [
761
- "errornotificationusername"
762
- ]
894
+ "type": "option"
763
895
  },
764
896
  "enable-app-analytics": {
765
897
  "name": "enable-app-analytics",
766
- "type": "boolean",
767
898
  "summary": "Enable AppExchange App Analytics usage data collection on this managed package and its components.",
768
899
  "allowNo": true,
769
- "deprecateAliases": true
900
+ "type": "boolean"
770
901
  }
771
902
  },
772
- "args": {},
773
- "requiresProject": true,
774
- "hasDynamicHelp": true
775
- },
776
- "package:install:report": {
777
- "id": "package:install:report",
778
- "summary": "Retrieve the status of a package installation request.",
779
- "strict": true,
780
- "pluginName": "@salesforce/plugin-packaging",
903
+ "hasDynamicHelp": true,
904
+ "hiddenAliases": [],
905
+ "id": "package:update",
781
906
  "pluginAlias": "@salesforce/plugin-packaging",
907
+ "pluginName": "@salesforce/plugin-packaging",
782
908
  "pluginType": "core",
909
+ "strict": true,
910
+ "summary": "Update package details.",
911
+ "enableJsonFlag": true,
912
+ "SF_ENV": "SF_ENV",
913
+ "requiresProject": true,
914
+ "isESM": false,
915
+ "relativePath": [
916
+ "lib",
917
+ "commands",
918
+ "package",
919
+ "update.js"
920
+ ]
921
+ },
922
+ "package1:version:create": {
783
923
  "aliases": [
784
- "force:package:install:report"
924
+ "force:package1:version:create"
785
925
  ],
926
+ "args": {},
927
+ "deprecateAliases": true,
928
+ "description": "The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to create an unmanaged package version.",
786
929
  "examples": [
787
- "Retrieve the status of a package installation request with the specified ID on your default org:\n<%= config.bin %> <%= command.id %> --request-id 0Hf...",
788
- "Similar to previous example, except use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 0Hf... --target-org me@example.com"
930
+ "Create a first-generation package version from the package with the specified ID and name the package version \"example\"; use your default org:\n<%= config.bin %> <%= command.id %> --package-id 033... --name example",
931
+ "Same as previous example, but provide a description and wait for 30 minutes for the package version to be created; use the specified org:\n<%= config.bin %> <%= command.id %> --package-id 033... --name example --description \"example description\" --wait 30 --target-org myorg@example.com"
789
932
  ],
790
- "deprecateAliases": true,
791
933
  "flags": {
792
- "target-org": {
793
- "name": "target-org",
794
- "type": "option",
795
- "char": "o",
796
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
797
- "required": true,
934
+ "json": {
935
+ "description": "Format output as json.",
936
+ "helpGroup": "GLOBAL",
937
+ "name": "json",
938
+ "allowNo": false,
939
+ "type": "boolean"
940
+ },
941
+ "loglevel": {
942
+ "deprecated": {
943
+ "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."
944
+ },
945
+ "hidden": true,
946
+ "name": "loglevel",
947
+ "hasDynamicHelp": false,
798
948
  "multiple": false,
799
- "deprecateAliases": true,
949
+ "type": "option"
950
+ },
951
+ "target-org": {
800
952
  "aliases": [
801
953
  "targetusername",
802
954
  "u"
803
- ]
955
+ ],
956
+ "char": "o",
957
+ "deprecateAliases": true,
958
+ "name": "target-org",
959
+ "noCacheDefault": true,
960
+ "required": true,
961
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
962
+ "hasDynamicHelp": true,
963
+ "multiple": false,
964
+ "type": "option"
804
965
  },
805
966
  "api-version": {
806
- "name": "api-version",
807
- "type": "option",
808
- "description": "Override the api version used for api requests made by this command",
809
- "multiple": false,
810
- "deprecateAliases": true,
811
967
  "aliases": [
812
968
  "apiversion"
813
- ]
814
- },
815
- "loglevel": {
816
- "name": "loglevel",
817
- "type": "option",
818
- "hidden": true,
969
+ ],
970
+ "deprecateAliases": true,
971
+ "description": "Override the api version used for api requests made by this command",
972
+ "name": "api-version",
973
+ "hasDynamicHelp": false,
819
974
  "multiple": false,
820
- "deprecated": {
821
- "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."
822
- },
823
- "deprecateAliases": true
975
+ "type": "option"
824
976
  },
825
- "request-id": {
826
- "name": "request-id",
827
- "type": "option",
977
+ "package-id": {
978
+ "aliases": [
979
+ "packageid"
980
+ ],
828
981
  "char": "i",
829
- "summary": "ID of the package install request you want to check; starts with 0Hf.",
982
+ "deprecateAliases": true,
983
+ "name": "package-id",
984
+ "required": true,
985
+ "summary": "ID of the metadata package (starts with 033) of which you’re creating a new version.",
986
+ "hasDynamicHelp": false,
987
+ "multiple": false,
988
+ "type": "option"
989
+ },
990
+ "name": {
991
+ "char": "n",
992
+ "name": "name",
830
993
  "required": true,
994
+ "summary": "Package version name.",
995
+ "hasDynamicHelp": false,
996
+ "multiple": false,
997
+ "type": "option"
998
+ },
999
+ "description": {
1000
+ "char": "d",
1001
+ "name": "description",
1002
+ "summary": "Package version description.",
1003
+ "hasDynamicHelp": false,
1004
+ "multiple": false,
1005
+ "type": "option"
1006
+ },
1007
+ "version": {
1008
+ "char": "v",
1009
+ "name": "version",
1010
+ "summary": "Package version in major.minor format, for example, 3.2.",
1011
+ "hasDynamicHelp": false,
831
1012
  "multiple": false,
1013
+ "type": "option"
1014
+ },
1015
+ "managed-released": {
1016
+ "aliases": [
1017
+ "managedrelease"
1018
+ ],
1019
+ "char": "m",
832
1020
  "deprecateAliases": true,
1021
+ "description": "To create a beta version, don’t include this parameter.",
1022
+ "name": "managed-released",
1023
+ "summary": "Create a managed package version.",
1024
+ "allowNo": false,
1025
+ "type": "boolean"
1026
+ },
1027
+ "release-notes-url": {
833
1028
  "aliases": [
834
- "requestid"
835
- ]
1029
+ "releasenotesurl"
1030
+ ],
1031
+ "char": "r",
1032
+ "deprecateAliases": true,
1033
+ "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1034
+ "name": "release-notes-url",
1035
+ "summary": "Release notes URL.",
1036
+ "hasDynamicHelp": false,
1037
+ "multiple": false,
1038
+ "type": "option"
1039
+ },
1040
+ "post-install-url": {
1041
+ "aliases": [
1042
+ "postinstallurl"
1043
+ ],
1044
+ "char": "p",
1045
+ "deprecateAliases": true,
1046
+ "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1047
+ "name": "post-install-url",
1048
+ "summary": "Post install URL.",
1049
+ "hasDynamicHelp": false,
1050
+ "multiple": false,
1051
+ "type": "option"
1052
+ },
1053
+ "installation-key": {
1054
+ "aliases": [
1055
+ "installationkey"
1056
+ ],
1057
+ "char": "k",
1058
+ "deprecateAliases": true,
1059
+ "name": "installation-key",
1060
+ "summary": "Installation key for key-protected package (default: null).",
1061
+ "hasDynamicHelp": false,
1062
+ "multiple": false,
1063
+ "type": "option"
1064
+ },
1065
+ "wait": {
1066
+ "char": "w",
1067
+ "name": "wait",
1068
+ "summary": "Minutes to wait for the package version to be created (default: 2 minutes).",
1069
+ "hasDynamicHelp": false,
1070
+ "multiple": false,
1071
+ "type": "option"
836
1072
  }
837
1073
  },
838
- "args": {},
839
- "hasDynamicHelp": true
840
- },
841
- "package:installed:list": {
842
- "id": "package:installed:list",
843
- "summary": "List the org’s installed packages.",
844
- "strict": true,
845
- "pluginName": "@salesforce/plugin-packaging",
1074
+ "hasDynamicHelp": true,
1075
+ "hiddenAliases": [],
1076
+ "id": "package1:version:create",
846
1077
  "pluginAlias": "@salesforce/plugin-packaging",
1078
+ "pluginName": "@salesforce/plugin-packaging",
847
1079
  "pluginType": "core",
1080
+ "strict": true,
1081
+ "summary": "Create a first-generation package version in the release org.",
1082
+ "enableJsonFlag": true,
1083
+ "SF_ENV": "SF_ENV",
1084
+ "requiresProject": true,
1085
+ "isESM": false,
1086
+ "relativePath": [
1087
+ "lib",
1088
+ "commands",
1089
+ "package1",
1090
+ "version",
1091
+ "create.js"
1092
+ ]
1093
+ },
1094
+ "package1:version:display": {
848
1095
  "aliases": [
849
- "force:package:installed:list"
1096
+ "force:package1:version:display"
850
1097
  ],
1098
+ "args": {},
1099
+ "deprecateAliases": true,
851
1100
  "examples": [
852
- "List the installed packages in your default org:\n<%= config.bin %> <%= command.id %>",
853
- "List the installed packages in the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --target-org me@example.com"
1101
+ "Display details about the first-generation package version with the specified ID in your default org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t...",
1102
+ "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com"
854
1103
  ],
855
- "deprecateAliases": true,
856
1104
  "flags": {
1105
+ "json": {
1106
+ "description": "Format output as json.",
1107
+ "helpGroup": "GLOBAL",
1108
+ "name": "json",
1109
+ "allowNo": false,
1110
+ "type": "boolean"
1111
+ },
857
1112
  "loglevel": {
858
- "name": "loglevel",
859
- "type": "option",
860
- "hidden": true,
861
- "multiple": false,
862
1113
  "deprecated": {
863
1114
  "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."
864
1115
  },
865
- "deprecateAliases": true
1116
+ "hidden": true,
1117
+ "name": "loglevel",
1118
+ "hasDynamicHelp": false,
1119
+ "multiple": false,
1120
+ "type": "option"
866
1121
  },
867
1122
  "target-org": {
868
- "name": "target-org",
869
- "type": "option",
870
- "char": "o",
871
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
872
- "required": true,
873
- "multiple": false,
874
- "deprecateAliases": true,
875
1123
  "aliases": [
876
1124
  "targetusername",
877
1125
  "u"
878
- ]
1126
+ ],
1127
+ "char": "o",
1128
+ "deprecateAliases": true,
1129
+ "name": "target-org",
1130
+ "noCacheDefault": true,
1131
+ "required": true,
1132
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1133
+ "hasDynamicHelp": true,
1134
+ "multiple": false,
1135
+ "type": "option"
879
1136
  },
880
1137
  "api-version": {
881
- "name": "api-version",
882
- "type": "option",
1138
+ "aliases": [
1139
+ "apiversion"
1140
+ ],
1141
+ "deprecateAliases": true,
883
1142
  "description": "Override the api version used for api requests made by this command",
1143
+ "name": "api-version",
1144
+ "hasDynamicHelp": false,
884
1145
  "multiple": false,
885
- "deprecateAliases": true,
1146
+ "type": "option"
1147
+ },
1148
+ "package-version-id": {
886
1149
  "aliases": [
887
- "apiversion"
888
- ]
1150
+ "packageversionid"
1151
+ ],
1152
+ "char": "i",
1153
+ "deprecateAliases": true,
1154
+ "name": "package-version-id",
1155
+ "required": true,
1156
+ "summary": "ID (starts with 04t) of the metadata package version whose details you want to display.",
1157
+ "hasDynamicHelp": false,
1158
+ "multiple": false,
1159
+ "type": "option"
889
1160
  }
890
1161
  },
891
- "args": {},
892
- "requiresProject": true,
893
- "hasDynamicHelp": true
894
- },
895
- "package:uninstall:report": {
896
- "id": "package:uninstall:report",
897
- "summary": "Retrieve the status of a package uninstall request.",
898
- "strict": true,
899
- "pluginName": "@salesforce/plugin-packaging",
1162
+ "hasDynamicHelp": true,
1163
+ "hiddenAliases": [],
1164
+ "id": "package1:version:display",
900
1165
  "pluginAlias": "@salesforce/plugin-packaging",
1166
+ "pluginName": "@salesforce/plugin-packaging",
901
1167
  "pluginType": "core",
1168
+ "strict": true,
1169
+ "summary": "Display details about a first-generation package version.",
1170
+ "enableJsonFlag": true,
1171
+ "SF_ENV": "SF_ENV",
1172
+ "isESM": false,
1173
+ "relativePath": [
1174
+ "lib",
1175
+ "commands",
1176
+ "package1",
1177
+ "version",
1178
+ "display.js"
1179
+ ]
1180
+ },
1181
+ "package1:version:list": {
902
1182
  "aliases": [
903
- "force:package:uninstall:report"
1183
+ "force:package1:version:list"
904
1184
  ],
1185
+ "args": {},
1186
+ "deprecateAliases": true,
905
1187
  "examples": [
906
- "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
907
- "Similar to previous example, but use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 06y... --target-org me@example.com"
1188
+ "List all first-generation package versions in your default org:\n<%= config.bin %> <%= command.id %>",
1189
+ "List package versions for the specified first-generation package in the specifief org:\n<%= config.bin %> <%= command.id %> --package-id 033... --target-org myorg@example.com"
908
1190
  ],
909
- "deprecateAliases": true,
910
1191
  "flags": {
1192
+ "json": {
1193
+ "description": "Format output as json.",
1194
+ "helpGroup": "GLOBAL",
1195
+ "name": "json",
1196
+ "allowNo": false,
1197
+ "type": "boolean"
1198
+ },
911
1199
  "loglevel": {
912
- "name": "loglevel",
913
- "type": "option",
914
- "hidden": true,
915
- "multiple": false,
916
1200
  "deprecated": {
917
1201
  "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."
918
1202
  },
919
- "deprecateAliases": true
1203
+ "hidden": true,
1204
+ "name": "loglevel",
1205
+ "hasDynamicHelp": false,
1206
+ "multiple": false,
1207
+ "type": "option"
920
1208
  },
921
1209
  "target-org": {
922
- "name": "target-org",
923
- "type": "option",
1210
+ "aliases": [
1211
+ "targetusername",
1212
+ "u"
1213
+ ],
924
1214
  "char": "o",
925
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1215
+ "deprecateAliases": true,
1216
+ "name": "target-org",
1217
+ "noCacheDefault": true,
926
1218
  "required": true,
1219
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1220
+ "hasDynamicHelp": true,
1221
+ "multiple": false,
1222
+ "type": "option"
1223
+ },
1224
+ "api-version": {
1225
+ "aliases": [
1226
+ "apiversion"
1227
+ ],
1228
+ "deprecateAliases": true,
1229
+ "description": "Override the api version used for api requests made by this command",
1230
+ "name": "api-version",
1231
+ "hasDynamicHelp": false,
927
1232
  "multiple": false,
1233
+ "type": "option"
1234
+ },
1235
+ "package-id": {
1236
+ "aliases": [
1237
+ "packageid"
1238
+ ],
1239
+ "char": "i",
928
1240
  "deprecateAliases": true,
1241
+ "description": "If not specified, shows all versions for all packages (managed and unmanaged) in the org.",
1242
+ "name": "package-id",
1243
+ "summary": "Metadata package ID (starts with 033) whose package versions you want to list.",
1244
+ "hasDynamicHelp": false,
1245
+ "multiple": false,
1246
+ "type": "option"
1247
+ }
1248
+ },
1249
+ "hasDynamicHelp": true,
1250
+ "hiddenAliases": [],
1251
+ "id": "package1:version:list",
1252
+ "pluginAlias": "@salesforce/plugin-packaging",
1253
+ "pluginName": "@salesforce/plugin-packaging",
1254
+ "pluginType": "core",
1255
+ "strict": true,
1256
+ "summary": "List package versions for the specified first-generation package or for the org.",
1257
+ "enableJsonFlag": true,
1258
+ "SF_ENV": "SF_ENV",
1259
+ "isESM": false,
1260
+ "relativePath": [
1261
+ "lib",
1262
+ "commands",
1263
+ "package1",
1264
+ "version",
1265
+ "list.js"
1266
+ ]
1267
+ },
1268
+ "package:install:report": {
1269
+ "aliases": [
1270
+ "force:package:install:report"
1271
+ ],
1272
+ "args": {},
1273
+ "deprecateAliases": true,
1274
+ "examples": [
1275
+ "Retrieve the status of a package installation request with the specified ID on your default org:\n<%= config.bin %> <%= command.id %> --request-id 0Hf...",
1276
+ "Similar to previous example, except use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 0Hf... --target-org me@example.com"
1277
+ ],
1278
+ "flags": {
1279
+ "json": {
1280
+ "description": "Format output as json.",
1281
+ "helpGroup": "GLOBAL",
1282
+ "name": "json",
1283
+ "allowNo": false,
1284
+ "type": "boolean"
1285
+ },
1286
+ "target-org": {
929
1287
  "aliases": [
930
1288
  "targetusername",
931
1289
  "u"
932
- ]
1290
+ ],
1291
+ "char": "o",
1292
+ "deprecateAliases": true,
1293
+ "name": "target-org",
1294
+ "noCacheDefault": true,
1295
+ "required": true,
1296
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1297
+ "hasDynamicHelp": true,
1298
+ "multiple": false,
1299
+ "type": "option"
933
1300
  },
934
1301
  "api-version": {
935
- "name": "api-version",
936
- "type": "option",
937
- "description": "Override the api version used for api requests made by this command",
938
- "multiple": false,
939
- "deprecateAliases": true,
940
1302
  "aliases": [
941
1303
  "apiversion"
942
- ]
1304
+ ],
1305
+ "deprecateAliases": true,
1306
+ "description": "Override the api version used for api requests made by this command",
1307
+ "name": "api-version",
1308
+ "hasDynamicHelp": false,
1309
+ "multiple": false,
1310
+ "type": "option"
1311
+ },
1312
+ "loglevel": {
1313
+ "deprecated": {
1314
+ "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."
1315
+ },
1316
+ "hidden": true,
1317
+ "name": "loglevel",
1318
+ "hasDynamicHelp": false,
1319
+ "multiple": false,
1320
+ "type": "option"
943
1321
  },
944
1322
  "request-id": {
945
- "name": "request-id",
946
- "type": "option",
1323
+ "aliases": [
1324
+ "requestid"
1325
+ ],
947
1326
  "char": "i",
948
- "summary": "ID of the package uninstall request you want to check; starts with 06y.",
1327
+ "deprecateAliases": true,
1328
+ "name": "request-id",
949
1329
  "required": true,
1330
+ "summary": "ID of the package install request you want to check; starts with 0Hf.",
1331
+ "hasDynamicHelp": false,
950
1332
  "multiple": false,
951
- "deprecateAliases": true,
952
- "aliases": [
953
- "requestid"
954
- ]
1333
+ "type": "option"
955
1334
  }
956
1335
  },
957
- "args": {},
958
- "hasDynamicHelp": true
959
- },
960
- "package:version:create": {
961
- "id": "package:version:create",
962
- "summary": "Create a package version in the Dev Hub org.",
963
- "description": "The package version is based on the package contents in the specified directory.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nWe recommend that you specify the --installation-key parameter to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".\nTo promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.\n\nWe don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skip-validation.",
964
- "strict": true,
965
- "pluginName": "@salesforce/plugin-packaging",
1336
+ "hasDynamicHelp": true,
1337
+ "hiddenAliases": [],
1338
+ "id": "package:install:report",
966
1339
  "pluginAlias": "@salesforce/plugin-packaging",
1340
+ "pluginName": "@salesforce/plugin-packaging",
967
1341
  "pluginType": "core",
1342
+ "strict": true,
1343
+ "summary": "Retrieve the status of a package installation request.",
1344
+ "enableJsonFlag": true,
1345
+ "SF_ENV": "SF_ENV",
1346
+ "isESM": false,
1347
+ "relativePath": [
1348
+ "lib",
1349
+ "commands",
1350
+ "package",
1351
+ "install",
1352
+ "report.js"
1353
+ ]
1354
+ },
1355
+ "package:installed:list": {
968
1356
  "aliases": [
969
- "force:package:version:create"
1357
+ "force:package:installed:list"
970
1358
  ],
1359
+ "args": {},
1360
+ "deprecateAliases": true,
971
1361
  "examples": [
972
- "Create a package version from the contents of the \"common\" directory and give it an installation key of \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123",
973
- "Create a package version from a package with the specified alias; uses the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\" --installation-key password123 --target-dev-hub devhub@example.com",
974
- "Create a package version from a package with the specified ID:\n<%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123",
975
- "Create a package version and skip the validation step:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation"
1362
+ "List the installed packages in your default org:\n<%= config.bin %> <%= command.id %>",
1363
+ "List the installed packages in the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --target-org me@example.com"
976
1364
  ],
977
- "deprecateAliases": true,
978
1365
  "flags": {
1366
+ "json": {
1367
+ "description": "Format output as json.",
1368
+ "helpGroup": "GLOBAL",
1369
+ "name": "json",
1370
+ "allowNo": false,
1371
+ "type": "boolean"
1372
+ },
979
1373
  "loglevel": {
980
- "name": "loglevel",
981
- "type": "option",
982
- "hidden": true,
983
- "multiple": false,
984
1374
  "deprecated": {
985
1375
  "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."
986
1376
  },
987
- "deprecateAliases": true
1377
+ "hidden": true,
1378
+ "name": "loglevel",
1379
+ "hasDynamicHelp": false,
1380
+ "multiple": false,
1381
+ "type": "option"
988
1382
  },
989
- "target-dev-hub": {
990
- "name": "target-dev-hub",
991
- "type": "option",
992
- "char": "v",
993
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1383
+ "target-org": {
1384
+ "aliases": [
1385
+ "targetusername",
1386
+ "u"
1387
+ ],
1388
+ "char": "o",
1389
+ "deprecateAliases": true,
1390
+ "name": "target-org",
1391
+ "noCacheDefault": true,
994
1392
  "required": true,
1393
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1394
+ "hasDynamicHelp": true,
995
1395
  "multiple": false,
996
- "deprecateAliases": true,
997
- "aliases": [
998
- "targetdevhubusername",
999
- "target-hub-org"
1000
- ]
1396
+ "type": "option"
1001
1397
  },
1002
1398
  "api-version": {
1003
- "name": "api-version",
1004
- "type": "option",
1005
- "description": "Override the api version used for api requests made by this command",
1006
- "multiple": false,
1007
- "deprecateAliases": true,
1008
1399
  "aliases": [
1009
1400
  "apiversion"
1010
- ]
1011
- },
1012
- "branch": {
1013
- "name": "branch",
1014
- "type": "option",
1015
- "char": "b",
1016
- "summary": "Name of the branch in your source control system that the package version is based on.",
1401
+ ],
1402
+ "deprecateAliases": true,
1403
+ "description": "Override the api version used for api requests made by this command",
1404
+ "name": "api-version",
1405
+ "hasDynamicHelp": false,
1017
1406
  "multiple": false,
1018
- "deprecateAliases": true
1407
+ "type": "option"
1408
+ }
1409
+ },
1410
+ "hasDynamicHelp": true,
1411
+ "hiddenAliases": [],
1412
+ "id": "package:installed:list",
1413
+ "pluginAlias": "@salesforce/plugin-packaging",
1414
+ "pluginName": "@salesforce/plugin-packaging",
1415
+ "pluginType": "core",
1416
+ "strict": true,
1417
+ "summary": "List the org’s installed packages.",
1418
+ "enableJsonFlag": true,
1419
+ "SF_ENV": "SF_ENV",
1420
+ "requiresProject": true,
1421
+ "isESM": false,
1422
+ "relativePath": [
1423
+ "lib",
1424
+ "commands",
1425
+ "package",
1426
+ "installed",
1427
+ "list.js"
1428
+ ]
1429
+ },
1430
+ "package:uninstall:report": {
1431
+ "aliases": [
1432
+ "force:package:uninstall:report"
1433
+ ],
1434
+ "args": {},
1435
+ "deprecateAliases": true,
1436
+ "examples": [
1437
+ "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
1438
+ "Similar to previous example, but use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 06y... --target-org me@example.com"
1439
+ ],
1440
+ "flags": {
1441
+ "json": {
1442
+ "description": "Format output as json.",
1443
+ "helpGroup": "GLOBAL",
1444
+ "name": "json",
1445
+ "allowNo": false,
1446
+ "type": "boolean"
1019
1447
  },
1020
- "build-instance": {
1021
- "name": "build-instance",
1022
- "type": "option",
1023
- "char": "s",
1024
- "summary": "Instance where the package version will be created, such as NA50.",
1448
+ "loglevel": {
1449
+ "deprecated": {
1450
+ "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."
1451
+ },
1025
1452
  "hidden": true,
1453
+ "name": "loglevel",
1454
+ "hasDynamicHelp": false,
1026
1455
  "multiple": false,
1027
- "deprecateAliases": true,
1028
- "aliases": [
1029
- "buildinstance"
1030
- ]
1456
+ "type": "option"
1031
1457
  },
1032
- "code-coverage": {
1033
- "name": "code-coverage",
1034
- "type": "boolean",
1035
- "char": "c",
1036
- "summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
1037
- "description": "Before you can promote and release a managed or unlocked package version, the Apex code must meet a minimum 75% code coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions that specify --skip-validation.",
1038
- "allowNo": false,
1039
- "exclusive": [
1040
- "skip-validation"
1458
+ "target-org": {
1459
+ "aliases": [
1460
+ "targetusername",
1461
+ "u"
1041
1462
  ],
1463
+ "char": "o",
1042
1464
  "deprecateAliases": true,
1043
- "aliases": [
1044
- "codecoverage"
1045
- ]
1046
- },
1047
- "definition-file": {
1048
- "name": "definition-file",
1049
- "type": "option",
1050
- "char": "f",
1051
- "summary": "Path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.",
1465
+ "name": "target-org",
1466
+ "noCacheDefault": true,
1467
+ "required": true,
1468
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1469
+ "hasDynamicHelp": true,
1052
1470
  "multiple": false,
1053
- "deprecateAliases": true,
1054
- "aliases": [
1055
- "definitionfile"
1056
- ]
1471
+ "type": "option"
1057
1472
  },
1058
- "installation-key": {
1059
- "name": "installation-key",
1060
- "type": "option",
1061
- "char": "k",
1062
- "summary": "Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)",
1063
- "multiple": false,
1064
- "deprecateAliases": true,
1473
+ "api-version": {
1065
1474
  "aliases": [
1066
- "installationkey"
1067
- ]
1068
- },
1069
- "installation-key-bypass": {
1070
- "name": "installation-key-bypass",
1071
- "type": "boolean",
1072
- "char": "x",
1073
- "summary": "Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)",
1074
- "description": "If you bypass this requirement, anyone can install your package.",
1075
- "allowNo": false,
1475
+ "apiversion"
1476
+ ],
1076
1477
  "deprecateAliases": true,
1077
- "aliases": [
1078
- "installationkeybypass"
1079
- ]
1080
- },
1081
- "package": {
1082
- "name": "package",
1083
- "type": "option",
1478
+ "description": "Override the api version used for api requests made by this command",
1479
+ "name": "api-version",
1480
+ "hasDynamicHelp": false,
1481
+ "multiple": false,
1482
+ "type": "option"
1483
+ },
1484
+ "request-id": {
1485
+ "aliases": [
1486
+ "requestid"
1487
+ ],
1488
+ "char": "i",
1489
+ "deprecateAliases": true,
1490
+ "name": "request-id",
1491
+ "required": true,
1492
+ "summary": "ID of the package uninstall request you want to check; starts with 06y.",
1493
+ "hasDynamicHelp": false,
1494
+ "multiple": false,
1495
+ "type": "option"
1496
+ }
1497
+ },
1498
+ "hasDynamicHelp": true,
1499
+ "hiddenAliases": [],
1500
+ "id": "package:uninstall:report",
1501
+ "pluginAlias": "@salesforce/plugin-packaging",
1502
+ "pluginName": "@salesforce/plugin-packaging",
1503
+ "pluginType": "core",
1504
+ "strict": true,
1505
+ "summary": "Retrieve the status of a package uninstall request.",
1506
+ "enableJsonFlag": true,
1507
+ "SF_ENV": "SF_ENV",
1508
+ "isESM": false,
1509
+ "relativePath": [
1510
+ "lib",
1511
+ "commands",
1512
+ "package",
1513
+ "uninstall",
1514
+ "report.js"
1515
+ ]
1516
+ },
1517
+ "package:version:create": {
1518
+ "aliases": [
1519
+ "force:package:version:create"
1520
+ ],
1521
+ "args": {},
1522
+ "deprecateAliases": true,
1523
+ "description": "The package version is based on the package contents in the specified directory.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nWe recommend that you specify the --installation-key parameter to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".\nTo promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.\n\nWe don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skip-validation.",
1524
+ "examples": [
1525
+ "Create a package version from the contents of the \"common\" directory and give it an installation key of \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123",
1526
+ "Create a package version from a package with the specified alias; uses the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\" --installation-key password123 --target-dev-hub devhub@example.com",
1527
+ "Create a package version from a package with the specified ID:\n<%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123",
1528
+ "Create a package version and skip the validation step:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation"
1529
+ ],
1530
+ "flags": {
1531
+ "json": {
1532
+ "description": "Format output as json.",
1533
+ "helpGroup": "GLOBAL",
1534
+ "name": "json",
1535
+ "allowNo": false,
1536
+ "type": "boolean"
1537
+ },
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",
1544
+ "hasDynamicHelp": false,
1545
+ "multiple": false,
1546
+ "type": "option"
1547
+ },
1548
+ "target-dev-hub": {
1549
+ "aliases": [
1550
+ "targetdevhubusername",
1551
+ "target-hub-org"
1552
+ ],
1553
+ "char": "v",
1554
+ "deprecateAliases": true,
1555
+ "name": "target-dev-hub",
1556
+ "noCacheDefault": true,
1557
+ "required": true,
1558
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1559
+ "hasDynamicHelp": true,
1560
+ "multiple": false,
1561
+ "type": "option"
1562
+ },
1563
+ "api-version": {
1564
+ "aliases": [
1565
+ "apiversion"
1566
+ ],
1567
+ "deprecateAliases": true,
1568
+ "description": "Override the api version used for api requests made by this command",
1569
+ "name": "api-version",
1570
+ "hasDynamicHelp": false,
1571
+ "multiple": false,
1572
+ "type": "option"
1573
+ },
1574
+ "branch": {
1575
+ "char": "b",
1576
+ "name": "branch",
1577
+ "summary": "Name of the branch in your source control system that the package version is based on.",
1578
+ "hasDynamicHelp": false,
1579
+ "multiple": false,
1580
+ "type": "option"
1581
+ },
1582
+ "build-instance": {
1583
+ "aliases": [
1584
+ "buildinstance"
1585
+ ],
1586
+ "char": "s",
1587
+ "deprecateAliases": true,
1588
+ "hidden": true,
1589
+ "name": "build-instance",
1590
+ "summary": "Instance where the package version will be created, such as NA50.",
1591
+ "hasDynamicHelp": false,
1592
+ "multiple": false,
1593
+ "type": "option"
1594
+ },
1595
+ "code-coverage": {
1596
+ "aliases": [
1597
+ "codecoverage"
1598
+ ],
1599
+ "char": "c",
1600
+ "deprecateAliases": true,
1601
+ "description": "Before you can promote and release a managed or unlocked package version, the Apex code must meet a minimum 75% code coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions that specify --skip-validation.",
1602
+ "exclusive": [
1603
+ "skip-validation"
1604
+ ],
1605
+ "name": "code-coverage",
1606
+ "summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
1607
+ "allowNo": false,
1608
+ "type": "boolean"
1609
+ },
1610
+ "definition-file": {
1611
+ "aliases": [
1612
+ "definitionfile"
1613
+ ],
1614
+ "char": "f",
1615
+ "deprecateAliases": true,
1616
+ "name": "definition-file",
1617
+ "summary": "Path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.",
1618
+ "hasDynamicHelp": false,
1619
+ "multiple": false,
1620
+ "type": "option"
1621
+ },
1622
+ "installation-key": {
1623
+ "aliases": [
1624
+ "installationkey"
1625
+ ],
1626
+ "char": "k",
1627
+ "deprecateAliases": true,
1628
+ "name": "installation-key",
1629
+ "summary": "Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)",
1630
+ "hasDynamicHelp": false,
1631
+ "multiple": false,
1632
+ "type": "option"
1633
+ },
1634
+ "installation-key-bypass": {
1635
+ "aliases": [
1636
+ "installationkeybypass"
1637
+ ],
1638
+ "char": "x",
1639
+ "deprecateAliases": true,
1640
+ "description": "If you bypass this requirement, anyone can install your package.",
1641
+ "name": "installation-key-bypass",
1642
+ "summary": "Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)",
1643
+ "allowNo": false,
1644
+ "type": "boolean"
1645
+ },
1646
+ "package": {
1084
1647
  "char": "p",
1648
+ "name": "package",
1085
1649
  "summary": "ID (starts with 0Ho) or alias of the package to create a version of.",
1650
+ "hasDynamicHelp": false,
1086
1651
  "multiple": false,
1087
- "deprecateAliases": true
1652
+ "type": "option"
1088
1653
  },
1089
1654
  "path": {
1090
- "name": "path",
1091
- "type": "option",
1092
1655
  "char": "d",
1656
+ "name": "path",
1093
1657
  "summary": "Path to the directory that contains the contents of the package.",
1658
+ "hasDynamicHelp": false,
1094
1659
  "multiple": false,
1095
- "deprecateAliases": true
1660
+ "type": "option"
1096
1661
  },
1097
1662
  "post-install-script": {
1663
+ "aliases": [
1664
+ "postinstallscript"
1665
+ ],
1666
+ "deprecateAliases": true,
1667
+ "description": "The post-install script is an Apex class within this package that is run in the installing org after installations or upgrades of this package version.",
1098
1668
  "name": "post-install-script",
1099
- "type": "option",
1100
1669
  "summary": "Name of the post-install script; applies to managed packages only.",
1101
- "description": "The post-install script is an Apex class within this package that is run in the installing org after installations or upgrades of this package version.",
1670
+ "hasDynamicHelp": false,
1102
1671
  "multiple": false,
1103
- "deprecateAliases": true,
1104
- "aliases": [
1105
- "postinstallscript"
1106
- ]
1672
+ "type": "option"
1107
1673
  },
1108
1674
  "post-install-url": {
1675
+ "aliases": [
1676
+ "postinstallurl"
1677
+ ],
1678
+ "deprecateAliases": true,
1679
+ "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1109
1680
  "name": "post-install-url",
1110
- "type": "option",
1111
1681
  "summary": "Post-install instructions URL.",
1112
- "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1682
+ "hasDynamicHelp": false,
1113
1683
  "multiple": false,
1114
- "deprecateAliases": true,
1115
- "aliases": [
1116
- "postinstallurl"
1117
- ]
1684
+ "type": "option"
1118
1685
  },
1119
1686
  "preserve": {
1120
- "name": "preserve",
1121
- "type": "boolean",
1122
1687
  "char": "r",
1123
- "summary": "Preserve temp files that would otherwise be deleted.",
1124
1688
  "hidden": true,
1689
+ "name": "preserve",
1690
+ "summary": "Preserve temp files that would otherwise be deleted.",
1125
1691
  "allowNo": false,
1126
- "deprecateAliases": true
1692
+ "type": "boolean"
1127
1693
  },
1128
1694
  "releasenotes-url": {
1695
+ "aliases": [
1696
+ "releasenotesurl"
1697
+ ],
1698
+ "deprecateAliases": true,
1699
+ "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1129
1700
  "name": "releasenotes-url",
1130
- "type": "option",
1131
1701
  "summary": "Release notes URL.",
1132
- "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1702
+ "hasDynamicHelp": false,
1133
1703
  "multiple": false,
1134
- "deprecateAliases": true,
1135
- "aliases": [
1136
- "releasenotesurl"
1137
- ]
1704
+ "type": "option"
1138
1705
  },
1139
1706
  "skip-ancestor-check": {
1707
+ "aliases": [
1708
+ "skipancestorcheck"
1709
+ ],
1710
+ "deprecateAliases": true,
1140
1711
  "name": "skip-ancestor-check",
1141
- "type": "boolean",
1142
1712
  "summary": "Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.",
1143
1713
  "allowNo": false,
1144
- "deprecateAliases": true,
1145
- "aliases": [
1146
- "skipancestorcheck"
1147
- ]
1714
+ "type": "boolean"
1148
1715
  },
1149
1716
  "skip-validation": {
1150
- "name": "skip-validation",
1151
- "type": "boolean",
1152
- "summary": "Skip validation during package version creation; you can’t promote unvalidated package versions.",
1717
+ "aliases": [
1718
+ "skipvalidation"
1719
+ ],
1720
+ "deprecateAliases": true,
1153
1721
  "description": "Skips validation of dependencies, package ancestors, and metadata during package version creation. Skipping validation reduces the time it takes to create a new package version, but you can promote only validated package versions. Skipping validation can suppress important errors that can surface at a later stage. You can specify skip validation or code coverage, but not both. Code coverage is calculated during validation.",
1154
- "allowNo": false,
1155
1722
  "exclusive": [
1156
1723
  "code-coverage"
1157
1724
  ],
1158
- "deprecateAliases": true,
1159
- "aliases": [
1160
- "skipvalidation"
1161
- ]
1725
+ "name": "skip-validation",
1726
+ "summary": "Skip validation during package version creation; you can’t promote unvalidated package versions.",
1727
+ "allowNo": false,
1728
+ "type": "boolean"
1162
1729
  },
1163
1730
  "tag": {
1164
- "name": "tag",
1165
- "type": "option",
1166
1731
  "char": "t",
1732
+ "name": "tag",
1167
1733
  "summary": "Package version’s tag.",
1734
+ "hasDynamicHelp": false,
1168
1735
  "multiple": false,
1169
- "deprecateAliases": true
1736
+ "type": "option"
1170
1737
  },
1171
1738
  "uninstall-script": {
1739
+ "aliases": [
1740
+ "uninstallscript"
1741
+ ],
1742
+ "deprecateAliases": true,
1743
+ "description": "The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.",
1172
1744
  "name": "uninstall-script",
1173
- "type": "option",
1174
1745
  "summary": "Uninstall script name; applies to managed packages only.",
1175
- "description": "The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.",
1746
+ "hasDynamicHelp": false,
1176
1747
  "multiple": false,
1177
- "deprecateAliases": true,
1178
- "aliases": [
1179
- "uninstallscript"
1180
- ]
1748
+ "type": "option"
1181
1749
  },
1182
1750
  "validate-schema": {
1183
- "name": "validate-schema",
1184
- "type": "boolean",
1751
+ "aliases": [
1752
+ "validateschema"
1753
+ ],
1185
1754
  "char": "j",
1186
- "summary": "Validate the sfdx-project.json file against the JSON schema.",
1755
+ "deprecateAliases": true,
1187
1756
  "hidden": true,
1757
+ "name": "validate-schema",
1758
+ "summary": "Validate the sfdx-project.json file against the JSON schema.",
1188
1759
  "allowNo": false,
1189
- "deprecateAliases": true,
1190
- "aliases": [
1191
- "validateschema"
1192
- ]
1760
+ "type": "boolean"
1193
1761
  },
1194
1762
  "version-description": {
1195
- "name": "version-description",
1196
- "type": "option",
1763
+ "aliases": [
1764
+ "versiondescription"
1765
+ ],
1197
1766
  "char": "e",
1767
+ "deprecateAliases": true,
1768
+ "name": "version-description",
1198
1769
  "summary": "Description of the package version to be created; overrides the sfdx-project.json value.",
1770
+ "hasDynamicHelp": false,
1199
1771
  "multiple": false,
1200
- "deprecateAliases": true,
1201
- "aliases": [
1202
- "versiondescription"
1203
- ]
1772
+ "type": "option"
1204
1773
  },
1205
1774
  "version-name": {
1206
- "name": "version-name",
1207
- "type": "option",
1775
+ "aliases": [
1776
+ "versionname"
1777
+ ],
1208
1778
  "char": "a",
1779
+ "deprecateAliases": true,
1780
+ "name": "version-name",
1209
1781
  "summary": "Name of the package version to be created; overrides the sfdx-project.json value.",
1782
+ "hasDynamicHelp": false,
1210
1783
  "multiple": false,
1211
- "deprecateAliases": true,
1212
- "aliases": [
1213
- "versionname"
1214
- ]
1784
+ "type": "option"
1215
1785
  },
1216
1786
  "version-number": {
1217
- "name": "version-number",
1218
- "type": "option",
1787
+ "aliases": [
1788
+ "versionnumber"
1789
+ ],
1219
1790
  "char": "n",
1220
- "summary": "Version number of the package version to be created; overrides the sfdx-project.json value.",
1791
+ "deprecateAliases": true,
1221
1792
  "description": "For information about the format of the version number, see https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/sfdx_dev2gp_config_file.htm.",
1793
+ "name": "version-number",
1794
+ "summary": "Version number of the package version to be created; overrides the sfdx-project.json value.",
1795
+ "hasDynamicHelp": false,
1222
1796
  "multiple": false,
1223
- "deprecateAliases": true,
1224
- "aliases": [
1225
- "versionnumber"
1226
- ]
1797
+ "type": "option"
1227
1798
  },
1228
1799
  "wait": {
1229
- "name": "wait",
1230
- "type": "option",
1231
1800
  "char": "w",
1801
+ "name": "wait",
1232
1802
  "summary": "Number of minutes to wait for the package version to be created.",
1233
- "multiple": false,
1234
1803
  "default": {
1235
1804
  "quantity": 0,
1236
1805
  "unit": 0
1237
1806
  },
1238
- "deprecateAliases": true
1807
+ "hasDynamicHelp": false,
1808
+ "multiple": false,
1809
+ "type": "option"
1239
1810
  },
1240
1811
  "language": {
1812
+ "description": "Specify the language using a language code listed under \"Supported Languages\" in Salesforce Help. If no language is specified, the language defaults to the language of the Dev Hub user who created the package.",
1241
1813
  "name": "language",
1242
- "type": "option",
1243
1814
  "summary": "Language for the package.",
1244
- "description": "Specify the language using a language code listed under \"Supported Languages\" in Salesforce Help. If no language is specified, the language defaults to the language of the Dev Hub user who created the package.",
1815
+ "hasDynamicHelp": false,
1245
1816
  "multiple": false,
1246
- "deprecateAliases": true
1817
+ "type": "option"
1247
1818
  },
1248
1819
  "verbose": {
1820
+ "description": "Display verbose command output. When polling for the status of the creation, this will output status and timeout data on a separate line for each poll request, which is useful in CI systems where timeouts can occur with long periods of no output from commands.",
1249
1821
  "name": "verbose",
1250
- "type": "boolean",
1251
1822
  "summary": "Display verbose command output.",
1252
- "description": "Display verbose command output. When polling for the status of the creation, this will output status and timeout data on a separate line for each poll request, which is useful in CI systems where timeouts can occur with long periods of no output from commands.",
1253
1823
  "allowNo": false,
1254
- "deprecateAliases": true
1824
+ "type": "boolean"
1255
1825
  }
1256
1826
  },
1257
- "args": {},
1827
+ "hasDynamicHelp": true,
1828
+ "hiddenAliases": [],
1829
+ "id": "package:version:create",
1830
+ "pluginAlias": "@salesforce/plugin-packaging",
1831
+ "pluginName": "@salesforce/plugin-packaging",
1832
+ "pluginType": "core",
1833
+ "strict": true,
1834
+ "summary": "Create a package version in the Dev Hub org.",
1835
+ "enableJsonFlag": true,
1836
+ "SF_ENV": "SF_ENV",
1258
1837
  "requiresProject": true,
1259
- "hasDynamicHelp": true
1838
+ "isESM": false,
1839
+ "relativePath": [
1840
+ "lib",
1841
+ "commands",
1842
+ "package",
1843
+ "version",
1844
+ "create.js"
1845
+ ]
1260
1846
  },
1261
1847
  "package:version:delete": {
1262
- "id": "package:version:delete",
1263
- "summary": "Delete a package version.",
1264
- "description": "Specify the ID or alias of the package version you want to delete.",
1265
- "strict": true,
1266
- "pluginName": "@salesforce/plugin-packaging",
1267
- "pluginAlias": "@salesforce/plugin-packaging",
1268
- "pluginType": "core",
1269
1848
  "aliases": [
1270
1849
  "force:package:version:delete"
1271
1850
  ],
1851
+ "args": {},
1852
+ "deprecateAliases": true,
1853
+ "description": "Specify the ID or alias of the package version you want to delete.",
1272
1854
  "examples": [
1273
1855
  "Delete a package version with the specified alias using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\"",
1274
1856
  "Delete a package version with the specified ID using the Dev Hub org with username \"devhub@example.com\":\n<%= config.bin %> <%= command.id %> --package 04t... --target-org devhub@example.com"
1275
1857
  ],
1276
- "deprecateAliases": true,
1277
1858
  "flags": {
1859
+ "json": {
1860
+ "description": "Format output as json.",
1861
+ "helpGroup": "GLOBAL",
1862
+ "name": "json",
1863
+ "allowNo": false,
1864
+ "type": "boolean"
1865
+ },
1278
1866
  "loglevel": {
1279
- "name": "loglevel",
1280
- "type": "option",
1281
- "hidden": true,
1282
- "multiple": false,
1283
1867
  "deprecated": {
1284
1868
  "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."
1285
1869
  },
1286
- "deprecateAliases": true
1870
+ "hidden": true,
1871
+ "name": "loglevel",
1872
+ "hasDynamicHelp": false,
1873
+ "multiple": false,
1874
+ "type": "option"
1287
1875
  },
1288
1876
  "target-dev-hub": {
1289
- "name": "target-dev-hub",
1290
- "type": "option",
1291
- "char": "v",
1292
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1293
- "required": true,
1294
- "multiple": false,
1295
- "deprecateAliases": true,
1296
1877
  "aliases": [
1297
1878
  "targetdevhubusername",
1298
1879
  "target-hub-org"
1299
- ]
1880
+ ],
1881
+ "char": "v",
1882
+ "deprecateAliases": true,
1883
+ "name": "target-dev-hub",
1884
+ "noCacheDefault": true,
1885
+ "required": true,
1886
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1887
+ "hasDynamicHelp": true,
1888
+ "multiple": false,
1889
+ "type": "option"
1300
1890
  },
1301
1891
  "api-version": {
1302
- "name": "api-version",
1303
- "type": "option",
1304
- "description": "Override the api version used for api requests made by this command",
1305
- "multiple": false,
1306
- "deprecateAliases": true,
1307
1892
  "aliases": [
1308
1893
  "apiversion"
1309
- ]
1894
+ ],
1895
+ "deprecateAliases": true,
1896
+ "description": "Override the api version used for api requests made by this command",
1897
+ "name": "api-version",
1898
+ "hasDynamicHelp": false,
1899
+ "multiple": false,
1900
+ "type": "option"
1310
1901
  },
1311
1902
  "no-prompt": {
1312
- "name": "no-prompt",
1313
- "type": "boolean",
1903
+ "aliases": [
1904
+ "noprompt"
1905
+ ],
1314
1906
  "char": "n",
1907
+ "deprecateAliases": true,
1908
+ "name": "no-prompt",
1315
1909
  "summary": "Don’t prompt before deleting the package version.",
1316
1910
  "allowNo": false,
1317
- "deprecateAliases": true,
1318
- "aliases": [
1319
- "noprompt"
1320
- ]
1911
+ "type": "boolean"
1321
1912
  },
1322
1913
  "package": {
1323
- "name": "package",
1324
- "type": "option",
1325
1914
  "char": "p",
1326
- "summary": "ID (starts with 04t) or alias of the package version to delete.",
1915
+ "name": "package",
1327
1916
  "required": true,
1917
+ "summary": "ID (starts with 04t) or alias of the package version to delete.",
1918
+ "hasDynamicHelp": false,
1328
1919
  "multiple": false,
1329
- "deprecateAliases": true
1920
+ "type": "option"
1330
1921
  },
1331
1922
  "undelete": {
1923
+ "hidden": true,
1332
1924
  "name": "undelete",
1333
- "type": "boolean",
1334
1925
  "summary": "Undelete a deleted package version.",
1335
- "hidden": true,
1336
1926
  "allowNo": false,
1337
- "deprecateAliases": true
1927
+ "type": "boolean"
1338
1928
  }
1339
1929
  },
1340
- "args": {},
1930
+ "hasDynamicHelp": true,
1931
+ "hiddenAliases": [],
1932
+ "id": "package:version:delete",
1933
+ "pluginAlias": "@salesforce/plugin-packaging",
1934
+ "pluginName": "@salesforce/plugin-packaging",
1935
+ "pluginType": "core",
1936
+ "strict": true,
1937
+ "summary": "Delete a package version.",
1938
+ "enableJsonFlag": true,
1939
+ "SF_ENV": "SF_ENV",
1341
1940
  "requiresProject": true,
1342
- "hasDynamicHelp": true
1941
+ "isESM": false,
1942
+ "relativePath": [
1943
+ "lib",
1944
+ "commands",
1945
+ "package",
1946
+ "version",
1947
+ "delete.js"
1948
+ ]
1343
1949
  },
1344
1950
  "package:version:displayancestry": {
1345
- "id": "package:version:displayancestry",
1346
- "summary": "Display the ancestry tree for a 2GP managed package version.",
1347
- "strict": true,
1348
- "pluginName": "@salesforce/plugin-packaging",
1349
- "pluginAlias": "@salesforce/plugin-packaging",
1350
- "pluginType": "core",
1351
1951
  "aliases": [
1352
1952
  "force:package:version:displayancestry"
1353
1953
  ],
1954
+ "args": {},
1955
+ "deprecateAliases": true,
1354
1956
  "examples": [
1355
1957
  "Display the ancestry tree for a package version with the specified alias, using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package package_version_alias",
1356
1958
  "Similar to previous example, but display the output in DOT code:\n<%= config.bin %> <%= command.id %> --package package_version_alias --dot-code",
1357
1959
  "Display the ancestry tree for a package with the specified ID, using the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package OHo... --target-dev-hub devhub@example.com",
1358
1960
  "Display the ancestry tree of a package version with the specified ID, using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t..."
1359
1961
  ],
1360
- "deprecateAliases": true,
1361
1962
  "flags": {
1963
+ "json": {
1964
+ "description": "Format output as json.",
1965
+ "helpGroup": "GLOBAL",
1966
+ "name": "json",
1967
+ "allowNo": false,
1968
+ "type": "boolean"
1969
+ },
1362
1970
  "loglevel": {
1363
- "name": "loglevel",
1364
- "type": "option",
1365
- "hidden": true,
1366
- "multiple": false,
1367
1971
  "deprecated": {
1368
1972
  "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."
1369
1973
  },
1370
- "deprecateAliases": true
1974
+ "hidden": true,
1975
+ "name": "loglevel",
1976
+ "hasDynamicHelp": false,
1977
+ "multiple": false,
1978
+ "type": "option"
1371
1979
  },
1372
1980
  "target-dev-hub": {
1373
- "name": "target-dev-hub",
1374
- "type": "option",
1375
- "char": "v",
1376
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1377
- "required": true,
1378
- "multiple": false,
1379
- "deprecateAliases": true,
1380
1981
  "aliases": [
1381
1982
  "targetdevhubusername",
1382
1983
  "target-hub-org"
1383
- ]
1984
+ ],
1985
+ "char": "v",
1986
+ "deprecateAliases": true,
1987
+ "name": "target-dev-hub",
1988
+ "noCacheDefault": true,
1989
+ "required": true,
1990
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1991
+ "hasDynamicHelp": true,
1992
+ "multiple": false,
1993
+ "type": "option"
1384
1994
  },
1385
1995
  "api-version": {
1386
- "name": "api-version",
1387
- "type": "option",
1388
- "description": "Override the api version used for api requests made by this command",
1389
- "multiple": false,
1390
- "deprecateAliases": true,
1391
1996
  "aliases": [
1392
1997
  "apiversion"
1393
- ]
1998
+ ],
1999
+ "deprecateAliases": true,
2000
+ "description": "Override the api version used for api requests made by this command",
2001
+ "name": "api-version",
2002
+ "hasDynamicHelp": false,
2003
+ "multiple": false,
2004
+ "type": "option"
1394
2005
  },
1395
2006
  "package": {
1396
- "name": "package",
1397
- "type": "option",
1398
2007
  "char": "p",
1399
- "summary": "ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.",
1400
2008
  "description": "If you specify a package ID (starts with 0Ho) or alias, the ancestor tree for every package version associated with the package ID is displayed. If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.",
2009
+ "name": "package",
1401
2010
  "required": true,
2011
+ "summary": "ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.",
2012
+ "hasDynamicHelp": false,
1402
2013
  "multiple": false,
1403
- "deprecateAliases": true
2014
+ "type": "option"
1404
2015
  },
1405
2016
  "dot-code": {
2017
+ "aliases": [
2018
+ "dotcode"
2019
+ ],
2020
+ "deprecateAliases": true,
2021
+ "description": "You can use the DOT code output in graph visualization software to create tree visualizations.",
1406
2022
  "name": "dot-code",
1407
- "type": "boolean",
1408
2023
  "summary": "Display the ancestry tree in DOT code.",
1409
- "description": "You can use the DOT code output in graph visualization software to create tree visualizations.",
1410
2024
  "allowNo": false,
1411
- "deprecateAliases": true,
1412
- "aliases": [
1413
- "dotcode"
1414
- ]
2025
+ "type": "boolean"
1415
2026
  },
1416
2027
  "verbose": {
1417
2028
  "name": "verbose",
1418
- "type": "boolean",
1419
2029
  "summary": "Display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.",
1420
2030
  "allowNo": false,
1421
- "deprecateAliases": true
2031
+ "type": "boolean"
1422
2032
  }
1423
2033
  },
1424
- "args": {},
2034
+ "hasDynamicHelp": true,
2035
+ "hiddenAliases": [],
2036
+ "id": "package:version:displayancestry",
2037
+ "pluginAlias": "@salesforce/plugin-packaging",
2038
+ "pluginName": "@salesforce/plugin-packaging",
2039
+ "pluginType": "core",
2040
+ "strict": true,
2041
+ "summary": "Display the ancestry tree for a 2GP managed package version.",
2042
+ "enableJsonFlag": true,
2043
+ "SF_ENV": "SF_ENV",
1425
2044
  "requiresProject": true,
1426
- "hasDynamicHelp": true
2045
+ "isESM": false,
2046
+ "relativePath": [
2047
+ "lib",
2048
+ "commands",
2049
+ "package",
2050
+ "version",
2051
+ "displayancestry.js"
2052
+ ]
1427
2053
  },
1428
2054
  "package:version:list": {
1429
- "id": "package:version:list",
1430
- "summary": "List all package versions in the Dev Hub org.",
1431
- "description": "Description",
1432
- "strict": true,
1433
- "pluginName": "@salesforce/plugin-packaging",
1434
- "pluginAlias": "@salesforce/plugin-packaging",
1435
- "pluginType": "core",
1436
2055
  "aliases": [
1437
2056
  "force:package:version:list"
1438
2057
  ],
2058
+ "args": {},
2059
+ "deprecateAliases": true,
2060
+ "description": "Description",
1439
2061
  "examples": [
1440
2062
  "List package versions in your default Dev Hub org that were created in the last 3 days; show only the released versions and order the list using the PatchVersion field. Display extended details about each package version:\n<%= config.bin %> <%= command.id %> --verbose --created-last-days 3 --released --order-by PatchVersion",
1441
2063
  "List the released package versions for the two specified packages that were modified today; use the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --packages 0Ho000000000000,0Ho000000000001 --released --modified-last-days 0 --target-dev-hub devhub@example.com",
@@ -1444,729 +2066,651 @@
1444
2066
  "List released package versions that were created in the last 3 days in your default Dev Hub org; show limited details:\n<%= config.bin %> <%= command.id %> --concise --created-last-days 3 --released",
1445
2067
  "List released package versions that were modified today for the two packages with specified aliases in your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --packages exp-mgr,exp-mgr-util --released --modified-last-days 0"
1446
2068
  ],
1447
- "deprecateAliases": true,
1448
2069
  "flags": {
2070
+ "json": {
2071
+ "description": "Format output as json.",
2072
+ "helpGroup": "GLOBAL",
2073
+ "name": "json",
2074
+ "allowNo": false,
2075
+ "type": "boolean"
2076
+ },
1449
2077
  "loglevel": {
1450
- "name": "loglevel",
1451
- "type": "option",
1452
- "hidden": true,
1453
- "multiple": false,
1454
2078
  "deprecated": {
1455
2079
  "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."
1456
2080
  },
1457
- "deprecateAliases": true
2081
+ "hidden": true,
2082
+ "name": "loglevel",
2083
+ "hasDynamicHelp": false,
2084
+ "multiple": false,
2085
+ "type": "option"
1458
2086
  },
1459
2087
  "target-dev-hub": {
1460
- "name": "target-dev-hub",
1461
- "type": "option",
1462
- "char": "v",
1463
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1464
- "required": true,
1465
- "multiple": false,
1466
- "deprecateAliases": true,
1467
2088
  "aliases": [
1468
2089
  "targetdevhubusername",
1469
2090
  "target-hub-org"
1470
- ]
2091
+ ],
2092
+ "char": "v",
2093
+ "deprecateAliases": true,
2094
+ "name": "target-dev-hub",
2095
+ "noCacheDefault": true,
2096
+ "required": true,
2097
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2098
+ "hasDynamicHelp": true,
2099
+ "multiple": false,
2100
+ "type": "option"
1471
2101
  },
1472
2102
  "api-version": {
1473
- "name": "api-version",
1474
- "type": "option",
1475
- "description": "Override the api version used for api requests made by this command",
1476
- "multiple": false,
1477
- "deprecateAliases": true,
1478
2103
  "aliases": [
1479
2104
  "apiversion"
1480
- ]
2105
+ ],
2106
+ "deprecateAliases": true,
2107
+ "description": "Override the api version used for api requests made by this command",
2108
+ "name": "api-version",
2109
+ "hasDynamicHelp": false,
2110
+ "multiple": false,
2111
+ "type": "option"
1481
2112
  },
1482
2113
  "created-last-days": {
1483
- "name": "created-last-days",
1484
- "type": "option",
2114
+ "aliases": [
2115
+ "createdlastdays"
2116
+ ],
1485
2117
  "char": "c",
2118
+ "deprecateAliases": true,
2119
+ "name": "created-last-days",
1486
2120
  "summary": "Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.",
2121
+ "hasDynamicHelp": false,
1487
2122
  "multiple": false,
1488
- "deprecateAliases": true,
1489
- "aliases": [
1490
- "createdlastdays"
1491
- ]
2123
+ "type": "option"
1492
2124
  },
1493
2125
  "concise": {
1494
2126
  "name": "concise",
1495
- "type": "boolean",
1496
2127
  "summary": "Display limited package version details.",
1497
2128
  "allowNo": false,
1498
- "deprecateAliases": true
2129
+ "type": "boolean"
1499
2130
  },
1500
2131
  "show-conversions-only": {
1501
2132
  "name": "show-conversions-only",
1502
- "type": "boolean",
1503
2133
  "summary": "Filter the list output to display only converted package version.",
1504
2134
  "allowNo": false,
1505
- "deprecateAliases": true
2135
+ "type": "boolean"
1506
2136
  },
1507
2137
  "modified-last-days": {
1508
- "name": "modified-last-days",
1509
- "type": "option",
2138
+ "aliases": [
2139
+ "modifiedlastdays"
2140
+ ],
1510
2141
  "char": "m",
2142
+ "deprecateAliases": true,
2143
+ "name": "modified-last-days",
1511
2144
  "summary": "Number of days since the items were modified, starting at 00:00:00 of first day to now. Use 0 for today.",
2145
+ "hasDynamicHelp": false,
1512
2146
  "multiple": false,
1513
- "deprecateAliases": true,
1514
- "aliases": [
1515
- "modifiedlastdays"
1516
- ]
2147
+ "type": "option"
1517
2148
  },
1518
2149
  "packages": {
1519
- "name": "packages",
1520
- "type": "option",
1521
2150
  "char": "p",
2151
+ "name": "packages",
1522
2152
  "summary": "Comma-delimited list of packages (aliases or 0Ho IDs) to list.",
2153
+ "hasDynamicHelp": false,
1523
2154
  "multiple": false,
1524
- "deprecateAliases": true
2155
+ "type": "option"
1525
2156
  },
1526
2157
  "released": {
1527
- "name": "released",
1528
- "type": "boolean",
1529
2158
  "char": "r",
2159
+ "name": "released",
1530
2160
  "summary": "Display released versions only (IsReleased=true).",
1531
2161
  "allowNo": false,
1532
- "deprecateAliases": true
2162
+ "type": "boolean"
1533
2163
  },
1534
2164
  "order-by": {
1535
- "name": "order-by",
1536
- "type": "option",
2165
+ "aliases": [
2166
+ "orderby"
2167
+ ],
1537
2168
  "char": "o",
2169
+ "deprecateAliases": true,
2170
+ "name": "order-by",
1538
2171
  "summary": "Package version fields used to order the list.",
2172
+ "hasDynamicHelp": false,
1539
2173
  "multiple": false,
1540
- "deprecateAliases": true,
1541
- "aliases": [
1542
- "orderby"
1543
- ]
2174
+ "type": "option"
1544
2175
  },
1545
2176
  "verbose": {
1546
2177
  "name": "verbose",
1547
- "type": "boolean",
1548
2178
  "summary": "Display extended package version details.",
1549
2179
  "allowNo": false,
1550
- "deprecateAliases": true
2180
+ "type": "boolean"
1551
2181
  }
1552
2182
  },
1553
- "args": {},
1554
- "hasDynamicHelp": true
1555
- },
1556
- "package:version:promote": {
1557
- "id": "package:version:promote",
1558
- "summary": "Promote a package version to released.",
1559
- "description": "Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.",
1560
- "strict": true,
1561
- "pluginName": "@salesforce/plugin-packaging",
2183
+ "hasDynamicHelp": true,
2184
+ "hiddenAliases": [],
2185
+ "id": "package:version:list",
1562
2186
  "pluginAlias": "@salesforce/plugin-packaging",
2187
+ "pluginName": "@salesforce/plugin-packaging",
1563
2188
  "pluginType": "core",
2189
+ "strict": true,
2190
+ "summary": "List all package versions in the Dev Hub org.",
2191
+ "enableJsonFlag": true,
2192
+ "SF_ENV": "SF_ENV",
2193
+ "isESM": false,
2194
+ "relativePath": [
2195
+ "lib",
2196
+ "commands",
2197
+ "package",
2198
+ "version",
2199
+ "list.js"
2200
+ ]
2201
+ },
2202
+ "package:version:promote": {
1564
2203
  "aliases": [
1565
2204
  "force:package:version:promote"
1566
2205
  ],
2206
+ "args": {},
2207
+ "deprecateAliases": true,
2208
+ "description": "Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.",
1567
2209
  "examples": [
1568
2210
  "Promote the package version with the specified ID to released; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
1569
2211
  "Promote the package version with the specified alias to released; uses the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package awesome_package_alias --target-dev-hub devhub@example.com",
1570
2212
  "Promote the package version with an alias that has spaces to released:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\""
1571
2213
  ],
1572
- "deprecateAliases": true,
1573
2214
  "flags": {
2215
+ "json": {
2216
+ "description": "Format output as json.",
2217
+ "helpGroup": "GLOBAL",
2218
+ "name": "json",
2219
+ "allowNo": false,
2220
+ "type": "boolean"
2221
+ },
1574
2222
  "loglevel": {
1575
- "name": "loglevel",
1576
- "type": "option",
1577
- "hidden": true,
1578
- "multiple": false,
1579
2223
  "deprecated": {
1580
2224
  "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."
1581
2225
  },
1582
- "deprecateAliases": true
2226
+ "hidden": true,
2227
+ "name": "loglevel",
2228
+ "hasDynamicHelp": false,
2229
+ "multiple": false,
2230
+ "type": "option"
1583
2231
  },
1584
2232
  "target-dev-hub": {
1585
- "name": "target-dev-hub",
1586
- "type": "option",
1587
- "char": "v",
1588
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1589
- "required": true,
1590
- "multiple": false,
1591
- "deprecateAliases": true,
1592
2233
  "aliases": [
1593
2234
  "targetdevhubusername",
1594
2235
  "target-hub-org"
1595
- ]
2236
+ ],
2237
+ "char": "v",
2238
+ "deprecateAliases": true,
2239
+ "name": "target-dev-hub",
2240
+ "noCacheDefault": true,
2241
+ "required": true,
2242
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2243
+ "hasDynamicHelp": true,
2244
+ "multiple": false,
2245
+ "type": "option"
1596
2246
  },
1597
2247
  "api-version": {
1598
- "name": "api-version",
1599
- "type": "option",
1600
- "description": "Override the api version used for api requests made by this command",
1601
- "multiple": false,
1602
- "deprecateAliases": true,
1603
2248
  "aliases": [
1604
2249
  "apiversion"
1605
- ]
2250
+ ],
2251
+ "deprecateAliases": true,
2252
+ "description": "Override the api version used for api requests made by this command",
2253
+ "name": "api-version",
2254
+ "hasDynamicHelp": false,
2255
+ "multiple": false,
2256
+ "type": "option"
1606
2257
  },
1607
2258
  "package": {
1608
- "name": "package",
1609
- "type": "option",
1610
2259
  "char": "p",
1611
- "summary": "ID (starts with 04t) or alias of the package version to promote.",
2260
+ "name": "package",
1612
2261
  "required": true,
2262
+ "summary": "ID (starts with 04t) or alias of the package version to promote.",
2263
+ "hasDynamicHelp": false,
1613
2264
  "multiple": false,
1614
- "deprecateAliases": true
2265
+ "type": "option"
1615
2266
  },
1616
2267
  "no-prompt": {
1617
- "name": "no-prompt",
1618
- "type": "boolean",
2268
+ "aliases": [
2269
+ "noprompt"
2270
+ ],
1619
2271
  "char": "n",
2272
+ "deprecateAliases": true,
2273
+ "name": "no-prompt",
1620
2274
  "summary": "Don't prompt to confirm setting the package version as released.",
1621
2275
  "allowNo": false,
1622
- "deprecateAliases": true,
1623
- "aliases": [
1624
- "noprompt"
1625
- ]
2276
+ "type": "boolean"
1626
2277
  }
1627
2278
  },
1628
- "args": {},
1629
- "requiresProject": true,
1630
- "hasDynamicHelp": true
1631
- },
1632
- "package:version:report": {
1633
- "id": "package:version:report",
1634
- "summary": "Retrieve details about a package version in the Dev Hub org.",
1635
- "description": "To update package version values, run \"<%= config.bin %> package version update\".",
1636
- "strict": true,
1637
- "pluginName": "@salesforce/plugin-packaging",
2279
+ "hasDynamicHelp": true,
2280
+ "hiddenAliases": [],
2281
+ "id": "package:version:promote",
1638
2282
  "pluginAlias": "@salesforce/plugin-packaging",
2283
+ "pluginName": "@salesforce/plugin-packaging",
1639
2284
  "pluginType": "core",
2285
+ "strict": true,
2286
+ "summary": "Promote a package version to released.",
2287
+ "enableJsonFlag": true,
2288
+ "SF_ENV": "SF_ENV",
2289
+ "requiresProject": true,
2290
+ "isESM": false,
2291
+ "relativePath": [
2292
+ "lib",
2293
+ "commands",
2294
+ "package",
2295
+ "version",
2296
+ "promote.js"
2297
+ ]
2298
+ },
2299
+ "package:version:report": {
1640
2300
  "aliases": [
1641
2301
  "force:package:version:report"
1642
2302
  ],
2303
+ "args": {},
2304
+ "deprecateAliases": true,
2305
+ "description": "To update package version values, run \"<%= config.bin %> package version update\".",
1643
2306
  "examples": [
1644
2307
  "Retrieve details about the package version with the specified ID from your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
1645
2308
  "Retrieve details about the package version with the specified alias (that contains spaces) from the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\" --target-dev-hub devhub@example.com"
1646
2309
  ],
1647
- "deprecateAliases": true,
1648
2310
  "flags": {
2311
+ "json": {
2312
+ "description": "Format output as json.",
2313
+ "helpGroup": "GLOBAL",
2314
+ "name": "json",
2315
+ "allowNo": false,
2316
+ "type": "boolean"
2317
+ },
1649
2318
  "loglevel": {
1650
- "name": "loglevel",
1651
- "type": "option",
1652
- "hidden": true,
1653
- "multiple": false,
1654
2319
  "deprecated": {
1655
2320
  "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."
1656
2321
  },
1657
- "deprecateAliases": true
2322
+ "hidden": true,
2323
+ "name": "loglevel",
2324
+ "hasDynamicHelp": false,
2325
+ "multiple": false,
2326
+ "type": "option"
1658
2327
  },
1659
2328
  "target-dev-hub": {
1660
- "name": "target-dev-hub",
1661
- "type": "option",
1662
- "char": "v",
1663
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1664
- "required": true,
1665
- "multiple": false,
1666
- "deprecateAliases": true,
1667
2329
  "aliases": [
1668
2330
  "targetdevhubusername",
1669
2331
  "target-hub-org"
1670
- ]
2332
+ ],
2333
+ "char": "v",
2334
+ "deprecateAliases": true,
2335
+ "name": "target-dev-hub",
2336
+ "noCacheDefault": true,
2337
+ "required": true,
2338
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2339
+ "hasDynamicHelp": true,
2340
+ "multiple": false,
2341
+ "type": "option"
1671
2342
  },
1672
2343
  "api-version": {
1673
- "name": "api-version",
1674
- "type": "option",
1675
- "description": "Override the api version used for api requests made by this command",
1676
- "multiple": false,
1677
- "deprecateAliases": true,
1678
2344
  "aliases": [
1679
2345
  "apiversion"
1680
- ]
2346
+ ],
2347
+ "deprecateAliases": true,
2348
+ "description": "Override the api version used for api requests made by this command",
2349
+ "name": "api-version",
2350
+ "hasDynamicHelp": false,
2351
+ "multiple": false,
2352
+ "type": "option"
1681
2353
  },
1682
2354
  "package": {
1683
- "name": "package",
1684
- "type": "option",
1685
2355
  "char": "p",
1686
- "summary": "ID (starts with 04t) or alias of the package to retrieve details for.",
2356
+ "name": "package",
1687
2357
  "required": true,
2358
+ "summary": "ID (starts with 04t) or alias of the package to retrieve details for.",
2359
+ "hasDynamicHelp": false,
1688
2360
  "multiple": false,
1689
- "deprecateAliases": true
2361
+ "type": "option"
1690
2362
  },
1691
2363
  "verbose": {
1692
2364
  "name": "verbose",
1693
- "type": "boolean",
1694
2365
  "summary": "Display extended package version details.",
1695
2366
  "allowNo": false,
1696
- "deprecateAliases": true
2367
+ "type": "boolean"
1697
2368
  }
1698
2369
  },
1699
- "args": {},
2370
+ "hasDynamicHelp": true,
2371
+ "hiddenAliases": [],
2372
+ "id": "package:version:report",
2373
+ "pluginAlias": "@salesforce/plugin-packaging",
2374
+ "pluginName": "@salesforce/plugin-packaging",
2375
+ "pluginType": "core",
2376
+ "strict": true,
2377
+ "summary": "Retrieve details about a package version in the Dev Hub org.",
2378
+ "enableJsonFlag": true,
2379
+ "SF_ENV": "SF_ENV",
1700
2380
  "requiresProject": true,
1701
- "hasDynamicHelp": true
2381
+ "isESM": false,
2382
+ "relativePath": [
2383
+ "lib",
2384
+ "commands",
2385
+ "package",
2386
+ "version",
2387
+ "report.js"
2388
+ ]
1702
2389
  },
1703
2390
  "package:version:retrieve": {
1704
- "id": "package:version:retrieve",
1705
- "summary": "Retrieve package metadata for a specified package version.",
1706
- "description": "Retrieving a package version downloads the metadata into the directory you specify.\n\nYou can retrieve metadata for a second- or first-generation managed package, or an unlocked package.\n\nSpecify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.",
1707
- "strict": true,
1708
- "pluginName": "@salesforce/plugin-packaging",
1709
- "pluginAlias": "@salesforce/plugin-packaging",
1710
- "pluginType": "core",
1711
- "hidden": true,
1712
2391
  "aliases": [],
2392
+ "args": {},
2393
+ "description": "Retrieving a package version downloads the metadata into the directory you specify.\n\nYou can retrieve metadata for a second- or first-generation managed package, or an unlocked package.\n\nSpecify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.",
1713
2394
  "examples": [
1714
2395
  "Retrieve package metadata for a subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:\n<%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-org my-scratch\nIf you omit --target-org, this command runs against your default org."
1715
2396
  ],
1716
2397
  "flags": {
2398
+ "json": {
2399
+ "description": "Format output as json.",
2400
+ "helpGroup": "GLOBAL",
2401
+ "name": "json",
2402
+ "allowNo": false,
2403
+ "type": "boolean"
2404
+ },
1717
2405
  "loglevel": {
1718
- "name": "loglevel",
1719
- "type": "option",
1720
- "hidden": true,
1721
- "multiple": false,
1722
2406
  "deprecated": {
1723
2407
  "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."
1724
- }
2408
+ },
2409
+ "hidden": true,
2410
+ "name": "loglevel",
2411
+ "hasDynamicHelp": false,
2412
+ "multiple": false,
2413
+ "type": "option"
1725
2414
  },
1726
2415
  "api-version": {
1727
- "name": "api-version",
1728
- "type": "option",
1729
- "description": "Override the api version used for api requests made by this command",
1730
- "multiple": false,
1731
2416
  "aliases": [
1732
2417
  "apiversion"
1733
- ]
2418
+ ],
2419
+ "deprecateAliases": true,
2420
+ "description": "Override the api version used for api requests made by this command",
2421
+ "name": "api-version",
2422
+ "hasDynamicHelp": false,
2423
+ "multiple": false,
2424
+ "type": "option"
1734
2425
  },
1735
2426
  "target-org": {
1736
- "name": "target-org",
1737
- "type": "option",
1738
- "char": "o",
1739
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1740
- "required": true,
1741
- "multiple": false,
1742
2427
  "aliases": [
1743
2428
  "targetusername",
1744
2429
  "u"
1745
- ]
2430
+ ],
2431
+ "char": "o",
2432
+ "deprecateAliases": true,
2433
+ "name": "target-org",
2434
+ "noCacheDefault": true,
2435
+ "required": true,
2436
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2437
+ "hasDynamicHelp": true,
2438
+ "multiple": false,
2439
+ "type": "option"
1746
2440
  },
1747
2441
  "package": {
1748
- "name": "package",
1749
- "type": "option",
1750
2442
  "char": "p",
1751
- "summary": "Subscriber package version ID (starts with 04t).",
2443
+ "name": "package",
1752
2444
  "required": true,
1753
- "multiple": false
2445
+ "summary": "Subscriber package version ID (starts with 04t).",
2446
+ "hasDynamicHelp": false,
2447
+ "multiple": false,
2448
+ "type": "option"
1754
2449
  },
1755
2450
  "output-dir": {
1756
- "name": "output-dir",
1757
- "type": "option",
1758
2451
  "char": "d",
2452
+ "name": "output-dir",
1759
2453
  "summary": "Path within your Salesforce DX project directory in which to download the metadata. This directory must be empty.",
2454
+ "default": "force-app",
2455
+ "hasDynamicHelp": false,
1760
2456
  "multiple": false,
1761
- "default": "force-app"
2457
+ "type": "option"
1762
2458
  }
1763
2459
  },
1764
- "args": {},
2460
+ "hasDynamicHelp": true,
2461
+ "hidden": true,
2462
+ "hiddenAliases": [],
2463
+ "id": "package:version:retrieve",
2464
+ "pluginAlias": "@salesforce/plugin-packaging",
2465
+ "pluginName": "@salesforce/plugin-packaging",
2466
+ "pluginType": "core",
2467
+ "strict": true,
2468
+ "summary": "Retrieve package metadata for a specified package version.",
2469
+ "enableJsonFlag": true,
2470
+ "SF_ENV": "SF_ENV",
1765
2471
  "requiresProject": true,
1766
- "hasDynamicHelp": true
2472
+ "isESM": false,
2473
+ "relativePath": [
2474
+ "lib",
2475
+ "commands",
2476
+ "package",
2477
+ "version",
2478
+ "retrieve.js"
2479
+ ]
1767
2480
  },
1768
2481
  "package:version:update": {
1769
- "id": "package:version:update",
1770
- "summary": "Update a package version.",
1771
- "description": "Specify a new value for each option you want to update.\n\nTo display details about a package version, run \"<%= config.bin %> package version display\".",
1772
- "strict": true,
1773
- "pluginName": "@salesforce/plugin-packaging",
1774
- "pluginAlias": "@salesforce/plugin-packaging",
1775
- "pluginType": "core",
1776
2482
  "aliases": [
1777
2483
  "force:package:version:update"
1778
2484
  ],
2485
+ "args": {},
2486
+ "deprecateAliases": true,
2487
+ "description": "Specify a new value for each option you want to update.\n\nTo display details about a package version, run \"<%= config.bin %> package version display\".",
1779
2488
  "examples": [
1780
2489
  "Update the package version that has the specified alias (that contains spaces) with a new installation key \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\" --installation-key password123",
1781
2490
  "Update the package version that has the specified ID with a new branch and tag; use the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package 04t... --branch main --tag 'Release 1.0.7' --target-dev-hub devhub@example.com",
1782
2491
  "Update the package version that has the specified ID with a new description:\n<%= config.bin %> <%= command.id %> --package 04t... --version-description \"New Package Version Description\""
1783
2492
  ],
1784
- "deprecateAliases": true,
1785
2493
  "flags": {
2494
+ "json": {
2495
+ "description": "Format output as json.",
2496
+ "helpGroup": "GLOBAL",
2497
+ "name": "json",
2498
+ "allowNo": false,
2499
+ "type": "boolean"
2500
+ },
1786
2501
  "loglevel": {
1787
- "name": "loglevel",
1788
- "type": "option",
1789
- "hidden": true,
1790
- "multiple": false,
1791
2502
  "deprecated": {
1792
2503
  "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."
1793
2504
  },
1794
- "deprecateAliases": true
2505
+ "hidden": true,
2506
+ "name": "loglevel",
2507
+ "hasDynamicHelp": false,
2508
+ "multiple": false,
2509
+ "type": "option"
1795
2510
  },
1796
2511
  "target-dev-hub": {
1797
- "name": "target-dev-hub",
1798
- "type": "option",
1799
- "char": "v",
1800
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1801
- "required": true,
1802
- "multiple": false,
1803
- "deprecateAliases": true,
1804
2512
  "aliases": [
1805
2513
  "targetdevhubusername",
1806
2514
  "target-hub-org"
1807
- ]
2515
+ ],
2516
+ "char": "v",
2517
+ "deprecateAliases": true,
2518
+ "name": "target-dev-hub",
2519
+ "noCacheDefault": true,
2520
+ "required": true,
2521
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2522
+ "hasDynamicHelp": true,
2523
+ "multiple": false,
2524
+ "type": "option"
1808
2525
  },
1809
2526
  "api-version": {
1810
- "name": "api-version",
1811
- "type": "option",
1812
- "description": "Override the api version used for api requests made by this command",
1813
- "multiple": false,
1814
- "deprecateAliases": true,
1815
2527
  "aliases": [
1816
2528
  "apiversion"
1817
- ]
2529
+ ],
2530
+ "deprecateAliases": true,
2531
+ "description": "Override the api version used for api requests made by this command",
2532
+ "name": "api-version",
2533
+ "hasDynamicHelp": false,
2534
+ "multiple": false,
2535
+ "type": "option"
1818
2536
  },
1819
2537
  "package": {
1820
- "name": "package",
1821
- "type": "option",
1822
2538
  "char": "p",
1823
- "summary": "ID (starts with 04t) or alias of the package to update a version of.",
2539
+ "name": "package",
1824
2540
  "required": true,
2541
+ "summary": "ID (starts with 04t) or alias of the package to update a version of.",
2542
+ "hasDynamicHelp": false,
1825
2543
  "multiple": false,
1826
- "deprecateAliases": true
2544
+ "type": "option"
1827
2545
  },
1828
2546
  "version-name": {
1829
- "name": "version-name",
1830
- "type": "option",
2547
+ "aliases": [
2548
+ "versionname"
2549
+ ],
1831
2550
  "char": "a",
2551
+ "deprecateAliases": true,
2552
+ "name": "version-name",
1832
2553
  "summary": "New package version name.",
2554
+ "hasDynamicHelp": false,
1833
2555
  "multiple": false,
1834
- "deprecateAliases": true,
1835
- "aliases": [
1836
- "versionname"
1837
- ]
2556
+ "type": "option"
1838
2557
  },
1839
2558
  "version-description": {
1840
- "name": "version-description",
1841
- "type": "option",
2559
+ "aliases": [
2560
+ "versiondescription"
2561
+ ],
1842
2562
  "char": "e",
2563
+ "deprecateAliases": true,
2564
+ "name": "version-description",
1843
2565
  "summary": "New package version description.",
2566
+ "hasDynamicHelp": false,
1844
2567
  "multiple": false,
1845
- "deprecateAliases": true,
1846
- "aliases": [
1847
- "versiondescription"
1848
- ]
2568
+ "type": "option"
1849
2569
  },
1850
2570
  "branch": {
1851
- "name": "branch",
1852
- "type": "option",
1853
2571
  "char": "b",
2572
+ "name": "branch",
1854
2573
  "summary": "New package version branch.",
2574
+ "hasDynamicHelp": false,
1855
2575
  "multiple": false,
1856
- "deprecateAliases": true
2576
+ "type": "option"
1857
2577
  },
1858
2578
  "tag": {
1859
- "name": "tag",
1860
- "type": "option",
1861
2579
  "char": "t",
2580
+ "name": "tag",
1862
2581
  "summary": "New package version tag.",
2582
+ "hasDynamicHelp": false,
1863
2583
  "multiple": false,
1864
- "deprecateAliases": true
1865
- },
1866
- "installation-key": {
1867
- "name": "installation-key",
1868
- "type": "option",
1869
- "char": "k",
1870
- "summary": "New installation key for key-protected package (default: null)",
1871
- "multiple": false,
1872
- "deprecateAliases": true,
1873
- "aliases": [
1874
- "installationkey"
1875
- ]
1876
- }
1877
- },
1878
- "args": {},
1879
- "requiresProject": true,
1880
- "hasDynamicHelp": true
1881
- },
1882
- "package1:version:create": {
1883
- "id": "package1:version:create",
1884
- "summary": "Create a first-generation package version in the release org.",
1885
- "description": "The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to create an unmanaged package version.",
1886
- "strict": true,
1887
- "pluginName": "@salesforce/plugin-packaging",
1888
- "pluginAlias": "@salesforce/plugin-packaging",
1889
- "pluginType": "core",
1890
- "aliases": [
1891
- "force:package1:version:create"
1892
- ],
1893
- "examples": [
1894
- "Create a first-generation package version from the package with the specified ID and name the package version \"example\"; use your default org:\n<%= config.bin %> <%= command.id %> --package-id 033... --name example",
1895
- "Same as previous example, but provide a description and wait for 30 minutes for the package version to be created; use the specified org:\n<%= config.bin %> <%= command.id %> --package-id 033... --name example --description \"example description\" --wait 30 --target-org myorg@example.com"
1896
- ],
1897
- "deprecateAliases": true,
1898
- "flags": {
1899
- "loglevel": {
1900
- "name": "loglevel",
1901
- "type": "option",
1902
- "hidden": true,
1903
- "multiple": false,
1904
- "deprecated": {
1905
- "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."
1906
- },
1907
- "deprecateAliases": true
1908
- },
1909
- "target-org": {
1910
- "name": "target-org",
1911
- "type": "option",
1912
- "char": "o",
1913
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1914
- "required": true,
1915
- "multiple": false,
1916
- "deprecateAliases": true,
1917
- "aliases": [
1918
- "targetusername",
1919
- "u"
1920
- ]
1921
- },
1922
- "api-version": {
1923
- "name": "api-version",
1924
- "type": "option",
1925
- "description": "Override the api version used for api requests made by this command",
1926
- "multiple": false,
1927
- "deprecateAliases": true,
1928
- "aliases": [
1929
- "apiversion"
1930
- ]
1931
- },
1932
- "package-id": {
1933
- "name": "package-id",
1934
- "type": "option",
1935
- "char": "i",
1936
- "summary": "ID of the metadata package (starts with 033) of which you’re creating a new version.",
1937
- "required": true,
1938
- "multiple": false,
1939
- "deprecateAliases": true,
1940
- "aliases": [
1941
- "packageid"
1942
- ]
1943
- },
1944
- "name": {
1945
- "name": "name",
1946
- "type": "option",
1947
- "char": "n",
1948
- "summary": "Package version name.",
1949
- "required": true,
1950
- "multiple": false,
1951
- "deprecateAliases": true
1952
- },
1953
- "description": {
1954
- "name": "description",
1955
- "type": "option",
1956
- "char": "d",
1957
- "summary": "Package version description.",
1958
- "multiple": false,
1959
- "deprecateAliases": true
1960
- },
1961
- "version": {
1962
- "name": "version",
1963
- "type": "option",
1964
- "char": "v",
1965
- "summary": "Package version in major.minor format, for example, 3.2.",
1966
- "multiple": false,
1967
- "deprecateAliases": true
1968
- },
1969
- "managed-released": {
1970
- "name": "managed-released",
1971
- "type": "boolean",
1972
- "char": "m",
1973
- "summary": "Create a managed package version.",
1974
- "description": "To create a beta version, don’t include this parameter.",
1975
- "allowNo": false,
1976
- "deprecateAliases": true,
1977
- "aliases": [
1978
- "managedrelease"
1979
- ]
1980
- },
1981
- "release-notes-url": {
1982
- "name": "release-notes-url",
1983
- "type": "option",
1984
- "char": "r",
1985
- "summary": "Release notes URL.",
1986
- "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1987
- "multiple": false,
1988
- "deprecateAliases": true,
1989
- "aliases": [
1990
- "releasenotesurl"
1991
- ]
1992
- },
1993
- "post-install-url": {
1994
- "name": "post-install-url",
1995
- "type": "option",
1996
- "char": "p",
1997
- "summary": "Post install URL.",
1998
- "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1999
- "multiple": false,
2000
- "deprecateAliases": true,
2001
- "aliases": [
2002
- "postinstallurl"
2003
- ]
2004
- },
2005
- "installation-key": {
2006
- "name": "installation-key",
2007
- "type": "option",
2008
- "char": "k",
2009
- "summary": "Installation key for key-protected package (default: null).",
2010
- "multiple": false,
2011
- "deprecateAliases": true,
2012
- "aliases": [
2013
- "installationkey"
2014
- ]
2015
- },
2016
- "wait": {
2017
- "name": "wait",
2018
- "type": "option",
2019
- "char": "w",
2020
- "summary": "Minutes to wait for the package version to be created (default: 2 minutes).",
2021
- "multiple": false,
2022
- "deprecateAliases": true
2023
- }
2024
- },
2025
- "args": {},
2026
- "requiresProject": true,
2027
- "hasDynamicHelp": true
2028
- },
2029
- "package1:version:display": {
2030
- "id": "package1:version:display",
2031
- "summary": "Display details about a first-generation package version.",
2032
- "strict": true,
2033
- "pluginName": "@salesforce/plugin-packaging",
2034
- "pluginAlias": "@salesforce/plugin-packaging",
2035
- "pluginType": "core",
2036
- "aliases": [
2037
- "force:package1:version:display"
2038
- ],
2039
- "examples": [
2040
- "Display details about the first-generation package version with the specified ID in your default org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t...",
2041
- "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com"
2042
- ],
2043
- "deprecateAliases": true,
2044
- "flags": {
2045
- "loglevel": {
2046
- "name": "loglevel",
2047
- "type": "option",
2048
- "hidden": true,
2049
- "multiple": false,
2050
- "deprecated": {
2051
- "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."
2052
- },
2053
- "deprecateAliases": true
2054
- },
2055
- "target-org": {
2056
- "name": "target-org",
2057
- "type": "option",
2058
- "char": "o",
2059
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2060
- "required": true,
2061
- "multiple": false,
2062
- "deprecateAliases": true,
2063
- "aliases": [
2064
- "targetusername",
2065
- "u"
2066
- ]
2067
- },
2068
- "api-version": {
2069
- "name": "api-version",
2070
- "type": "option",
2071
- "description": "Override the api version used for api requests made by this command",
2072
- "multiple": false,
2073
- "deprecateAliases": true,
2074
- "aliases": [
2075
- "apiversion"
2076
- ]
2077
- },
2078
- "package-version-id": {
2079
- "name": "package-version-id",
2080
- "type": "option",
2081
- "char": "i",
2082
- "summary": "ID (starts with 04t) of the metadata package version whose details you want to display.",
2083
- "required": true,
2084
- "multiple": false,
2085
- "deprecateAliases": true,
2584
+ "type": "option"
2585
+ },
2586
+ "installation-key": {
2086
2587
  "aliases": [
2087
- "packageversionid"
2088
- ]
2588
+ "installationkey"
2589
+ ],
2590
+ "char": "k",
2591
+ "deprecateAliases": true,
2592
+ "name": "installation-key",
2593
+ "summary": "New installation key for key-protected package (default: null)",
2594
+ "hasDynamicHelp": false,
2595
+ "multiple": false,
2596
+ "type": "option"
2089
2597
  }
2090
2598
  },
2091
- "args": {},
2092
- "hasDynamicHelp": true
2093
- },
2094
- "package1:version:list": {
2095
- "id": "package1:version:list",
2096
- "summary": "List package versions for the specified first-generation package or for the org.",
2097
- "strict": true,
2098
- "pluginName": "@salesforce/plugin-packaging",
2599
+ "hasDynamicHelp": true,
2600
+ "hiddenAliases": [],
2601
+ "id": "package:version:update",
2099
2602
  "pluginAlias": "@salesforce/plugin-packaging",
2603
+ "pluginName": "@salesforce/plugin-packaging",
2100
2604
  "pluginType": "core",
2605
+ "strict": true,
2606
+ "summary": "Update a package version.",
2607
+ "enableJsonFlag": true,
2608
+ "SF_ENV": "SF_ENV",
2609
+ "requiresProject": true,
2610
+ "isESM": false,
2611
+ "relativePath": [
2612
+ "lib",
2613
+ "commands",
2614
+ "package",
2615
+ "version",
2616
+ "update.js"
2617
+ ]
2618
+ },
2619
+ "package1:version:create:get": {
2101
2620
  "aliases": [
2102
- "force:package1:version:list"
2621
+ "force:package1:version:create:get"
2103
2622
  ],
2623
+ "args": {},
2624
+ "deprecateAliases": true,
2104
2625
  "examples": [
2105
- "List all first-generation package versions in your default org:\n<%= config.bin %> <%= command.id %>",
2106
- "List package versions for the specified first-generation package in the specifief org:\n<%= config.bin %> <%= command.id %> --package-id 033... --target-org myorg@example.com"
2626
+ "Get the status of the creation request for the package version with the specified ID in your default org:\n<%= config.bin %> <%= command.id %> --request-id 0HD...",
2627
+ "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com"
2107
2628
  ],
2108
- "deprecateAliases": true,
2109
2629
  "flags": {
2630
+ "json": {
2631
+ "description": "Format output as json.",
2632
+ "helpGroup": "GLOBAL",
2633
+ "name": "json",
2634
+ "allowNo": false,
2635
+ "type": "boolean"
2636
+ },
2110
2637
  "loglevel": {
2111
- "name": "loglevel",
2112
- "type": "option",
2113
- "hidden": true,
2114
- "multiple": false,
2115
2638
  "deprecated": {
2116
2639
  "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."
2117
2640
  },
2118
- "deprecateAliases": true
2641
+ "hidden": true,
2642
+ "name": "loglevel",
2643
+ "hasDynamicHelp": false,
2644
+ "multiple": false,
2645
+ "type": "option"
2119
2646
  },
2120
2647
  "target-org": {
2121
- "name": "target-org",
2122
- "type": "option",
2123
- "char": "o",
2124
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2125
- "required": true,
2126
- "multiple": false,
2127
- "deprecateAliases": true,
2128
2648
  "aliases": [
2129
2649
  "targetusername",
2130
2650
  "u"
2131
- ]
2651
+ ],
2652
+ "char": "o",
2653
+ "deprecateAliases": true,
2654
+ "name": "target-org",
2655
+ "noCacheDefault": true,
2656
+ "required": true,
2657
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2658
+ "hasDynamicHelp": true,
2659
+ "multiple": false,
2660
+ "type": "option"
2132
2661
  },
2133
2662
  "api-version": {
2134
- "name": "api-version",
2135
- "type": "option",
2136
- "description": "Override the api version used for api requests made by this command",
2137
- "multiple": false,
2138
- "deprecateAliases": true,
2139
2663
  "aliases": [
2140
2664
  "apiversion"
2141
- ]
2665
+ ],
2666
+ "deprecateAliases": true,
2667
+ "description": "Override the api version used for api requests made by this command",
2668
+ "name": "api-version",
2669
+ "hasDynamicHelp": false,
2670
+ "multiple": false,
2671
+ "type": "option"
2142
2672
  },
2143
- "package-id": {
2144
- "name": "package-id",
2145
- "type": "option",
2673
+ "request-id": {
2674
+ "aliases": [
2675
+ "requestid"
2676
+ ],
2146
2677
  "char": "i",
2147
- "summary": "Metadata package ID (starts with 033) whose package versions you want to list.",
2148
- "description": "If not specified, shows all versions for all packages (managed and unmanaged) in the org.",
2149
- "multiple": false,
2150
2678
  "deprecateAliases": true,
2151
- "aliases": [
2152
- "packageid"
2153
- ]
2679
+ "name": "request-id",
2680
+ "required": true,
2681
+ "summary": "ID of the PackageUploadRequest (starts with 0HD).",
2682
+ "hasDynamicHelp": false,
2683
+ "multiple": false,
2684
+ "type": "option"
2154
2685
  }
2155
2686
  },
2156
- "args": {},
2157
- "hasDynamicHelp": true
2158
- },
2159
- "package:version:create:list": {
2160
- "id": "package:version:create:list",
2161
- "summary": "List package version creation requests.",
2162
- "description": "Shows the details of each request to create a package version in the Dev Hub org.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nTo get information about a specific request, run \"<%= config.bin %> package version create report\" and supply the request ID.",
2163
- "strict": true,
2164
- "pluginName": "@salesforce/plugin-packaging",
2687
+ "hasDynamicHelp": true,
2688
+ "hiddenAliases": [],
2689
+ "id": "package1:version:create:get",
2165
2690
  "pluginAlias": "@salesforce/plugin-packaging",
2691
+ "pluginName": "@salesforce/plugin-packaging",
2166
2692
  "pluginType": "core",
2693
+ "strict": true,
2694
+ "summary": "Retrieve the status of a package version creation request.",
2695
+ "enableJsonFlag": true,
2696
+ "SF_ENV": "SF_ENV",
2697
+ "isESM": false,
2698
+ "relativePath": [
2699
+ "lib",
2700
+ "commands",
2701
+ "package1",
2702
+ "version",
2703
+ "create",
2704
+ "get.js"
2705
+ ]
2706
+ },
2707
+ "package:version:create:list": {
2167
2708
  "aliases": [
2168
2709
  "force:package:version:create:list"
2169
2710
  ],
2711
+ "args": {},
2712
+ "deprecateAliases": true,
2713
+ "description": "Shows the details of each request to create a package version in the Dev Hub org.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nTo get information about a specific request, run \"<%= config.bin %> package version create report\" and supply the request ID.",
2170
2714
  "examples": [
2171
2715
  "List all package version creation requests in your default Dev Hub org:\n<%= config.bin %> <%= command.id %>",
2172
2716
  "List package version creation requests from the last 3 days in the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub",
@@ -2174,57 +2718,67 @@
2174
2718
  "List package version creation requests with status InProgress:\n<%= config.bin %> <%= command.id %> --status InProgress",
2175
2719
  "List package version creation requests with status Success that were created today:\n<%= config.bin %> <%= command.id %> --created-last-days 0 --status Success"
2176
2720
  ],
2177
- "deprecateAliases": true,
2178
2721
  "flags": {
2722
+ "json": {
2723
+ "description": "Format output as json.",
2724
+ "helpGroup": "GLOBAL",
2725
+ "name": "json",
2726
+ "allowNo": false,
2727
+ "type": "boolean"
2728
+ },
2179
2729
  "loglevel": {
2180
- "name": "loglevel",
2181
- "type": "option",
2182
- "hidden": true,
2183
- "multiple": false,
2184
2730
  "deprecated": {
2185
2731
  "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."
2186
2732
  },
2187
- "deprecateAliases": true
2733
+ "hidden": true,
2734
+ "name": "loglevel",
2735
+ "hasDynamicHelp": false,
2736
+ "multiple": false,
2737
+ "type": "option"
2188
2738
  },
2189
2739
  "target-dev-hub": {
2190
- "name": "target-dev-hub",
2191
- "type": "option",
2192
- "char": "v",
2193
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2194
- "required": true,
2195
- "multiple": false,
2196
- "deprecateAliases": true,
2197
2740
  "aliases": [
2198
2741
  "targetdevhubusername",
2199
2742
  "target-hub-org"
2200
- ]
2743
+ ],
2744
+ "char": "v",
2745
+ "deprecateAliases": true,
2746
+ "name": "target-dev-hub",
2747
+ "noCacheDefault": true,
2748
+ "required": true,
2749
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2750
+ "hasDynamicHelp": true,
2751
+ "multiple": false,
2752
+ "type": "option"
2201
2753
  },
2202
2754
  "api-version": {
2203
- "name": "api-version",
2204
- "type": "option",
2205
- "description": "Override the api version used for api requests made by this command",
2206
- "multiple": false,
2207
- "deprecateAliases": true,
2208
2755
  "aliases": [
2209
2756
  "apiversion"
2210
- ]
2757
+ ],
2758
+ "deprecateAliases": true,
2759
+ "description": "Override the api version used for api requests made by this command",
2760
+ "name": "api-version",
2761
+ "hasDynamicHelp": false,
2762
+ "multiple": false,
2763
+ "type": "option"
2211
2764
  },
2212
2765
  "created-last-days": {
2213
- "name": "created-last-days",
2214
- "type": "option",
2766
+ "aliases": [
2767
+ "createdlastdays"
2768
+ ],
2215
2769
  "char": "c",
2770
+ "deprecateAliases": true,
2771
+ "name": "created-last-days",
2216
2772
  "summary": "Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.",
2773
+ "hasDynamicHelp": false,
2217
2774
  "multiple": false,
2218
- "deprecateAliases": true,
2219
- "aliases": [
2220
- "createdlastdays"
2221
- ]
2775
+ "type": "option"
2222
2776
  },
2223
2777
  "status": {
2224
- "name": "status",
2225
- "type": "option",
2226
2778
  "char": "s",
2779
+ "name": "status",
2227
2780
  "summary": "Status of the version creation request, used to filter the list.",
2781
+ "hasDynamicHelp": false,
2228
2782
  "multiple": false,
2229
2783
  "options": [
2230
2784
  "Queued",
@@ -2232,156 +2786,130 @@
2232
2786
  "Success",
2233
2787
  "Error"
2234
2788
  ],
2235
- "deprecateAliases": true
2789
+ "type": "option"
2236
2790
  },
2237
2791
  "show-conversions-only": {
2238
2792
  "name": "show-conversions-only",
2239
- "type": "boolean",
2240
2793
  "summary": "Filter the list output to display only converted package version.",
2241
2794
  "allowNo": false,
2242
- "deprecateAliases": true
2795
+ "type": "boolean"
2243
2796
  },
2244
2797
  "verbose": {
2245
2798
  "name": "verbose",
2246
- "type": "boolean",
2247
2799
  "summary": "Displays additional information at a slight performance cost, such as the version name and number for each package version create request.",
2248
2800
  "allowNo": false,
2249
- "deprecateAliases": true
2801
+ "type": "boolean"
2250
2802
  }
2251
2803
  },
2252
- "args": {},
2253
- "hasDynamicHelp": true
2254
- },
2255
- "package:version:create:report": {
2256
- "id": "package:version:create:report",
2257
- "summary": "Retrieve details about a package version creation request.",
2258
- "description": "Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"<%= config.bin %> package version create list\".",
2259
- "strict": true,
2260
- "pluginName": "@salesforce/plugin-packaging",
2804
+ "hasDynamicHelp": true,
2805
+ "hiddenAliases": [],
2806
+ "id": "package:version:create:list",
2261
2807
  "pluginAlias": "@salesforce/plugin-packaging",
2808
+ "pluginName": "@salesforce/plugin-packaging",
2262
2809
  "pluginType": "core",
2810
+ "strict": true,
2811
+ "summary": "List package version creation requests.",
2812
+ "enableJsonFlag": true,
2813
+ "SF_ENV": "SF_ENV",
2814
+ "isESM": false,
2815
+ "relativePath": [
2816
+ "lib",
2817
+ "commands",
2818
+ "package",
2819
+ "version",
2820
+ "create",
2821
+ "list.js"
2822
+ ]
2823
+ },
2824
+ "package:version:create:report": {
2263
2825
  "aliases": [
2264
2826
  "force:package:version:create:report"
2265
2827
  ],
2828
+ "args": {},
2829
+ "deprecateAliases": true,
2830
+ "description": "Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"<%= config.bin %> package version create list\".",
2266
2831
  "examples": [
2267
2832
  "Retrieve details about the package version creation request with the specified ID; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package-create-request-id 08c...",
2268
2833
  "Retrieve details about the specified package version creation request in the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --package-create-request-id 08c... --target-dev-hub devhub@example.com"
2269
2834
  ],
2270
- "deprecateAliases": true,
2271
2835
  "flags": {
2836
+ "json": {
2837
+ "description": "Format output as json.",
2838
+ "helpGroup": "GLOBAL",
2839
+ "name": "json",
2840
+ "allowNo": false,
2841
+ "type": "boolean"
2842
+ },
2272
2843
  "loglevel": {
2273
- "name": "loglevel",
2274
- "type": "option",
2275
- "hidden": true,
2276
- "multiple": false,
2277
2844
  "deprecated": {
2278
2845
  "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."
2279
2846
  },
2280
- "deprecateAliases": true
2847
+ "hidden": true,
2848
+ "name": "loglevel",
2849
+ "hasDynamicHelp": false,
2850
+ "multiple": false,
2851
+ "type": "option"
2281
2852
  },
2282
2853
  "target-dev-hub": {
2283
- "name": "target-dev-hub",
2284
- "type": "option",
2285
- "char": "v",
2286
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2287
- "required": true,
2288
- "multiple": false,
2289
- "deprecateAliases": true,
2290
2854
  "aliases": [
2291
2855
  "targetdevhubusername",
2292
2856
  "target-hub-org"
2293
- ]
2294
- },
2295
- "api-version": {
2296
- "name": "api-version",
2297
- "type": "option",
2298
- "description": "Override the api version used for api requests made by this command",
2299
- "multiple": false,
2300
- "deprecateAliases": true,
2301
- "aliases": [
2302
- "apiversion"
2303
- ]
2304
- },
2305
- "package-create-request-id": {
2306
- "name": "package-create-request-id",
2307
- "type": "option",
2308
- "char": "i",
2309
- "summary": "ID (starts with 08c) of the package version creation request you want to display.",
2310
- "required": true,
2311
- "multiple": false,
2857
+ ],
2858
+ "char": "v",
2312
2859
  "deprecateAliases": true,
2313
- "aliases": [
2314
- "packagecreaterequestid"
2315
- ]
2316
- }
2317
- },
2318
- "args": {},
2319
- "hasDynamicHelp": true
2320
- },
2321
- "package1:version:create:get": {
2322
- "id": "package1:version:create:get",
2323
- "summary": "Retrieve the status of a package version creation request.",
2324
- "strict": true,
2325
- "pluginName": "@salesforce/plugin-packaging",
2326
- "pluginAlias": "@salesforce/plugin-packaging",
2327
- "pluginType": "core",
2328
- "aliases": [
2329
- "force:package1:version:create:get"
2330
- ],
2331
- "examples": [
2332
- "Get the status of the creation request for the package version with the specified ID in your default org:\n<%= config.bin %> <%= command.id %> --request-id 0HD...",
2333
- "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com"
2334
- ],
2335
- "deprecateAliases": true,
2336
- "flags": {
2337
- "loglevel": {
2338
- "name": "loglevel",
2339
- "type": "option",
2340
- "hidden": true,
2341
- "multiple": false,
2342
- "deprecated": {
2343
- "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."
2344
- },
2345
- "deprecateAliases": true
2346
- },
2347
- "target-org": {
2348
- "name": "target-org",
2349
- "type": "option",
2350
- "char": "o",
2351
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2860
+ "name": "target-dev-hub",
2861
+ "noCacheDefault": true,
2352
2862
  "required": true,
2863
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2864
+ "hasDynamicHelp": true,
2353
2865
  "multiple": false,
2354
- "deprecateAliases": true,
2355
- "aliases": [
2356
- "targetusername",
2357
- "u"
2358
- ]
2866
+ "type": "option"
2359
2867
  },
2360
2868
  "api-version": {
2361
- "name": "api-version",
2362
- "type": "option",
2363
- "description": "Override the api version used for api requests made by this command",
2364
- "multiple": false,
2365
- "deprecateAliases": true,
2366
2869
  "aliases": [
2367
2870
  "apiversion"
2368
- ]
2871
+ ],
2872
+ "deprecateAliases": true,
2873
+ "description": "Override the api version used for api requests made by this command",
2874
+ "name": "api-version",
2875
+ "hasDynamicHelp": false,
2876
+ "multiple": false,
2877
+ "type": "option"
2369
2878
  },
2370
- "request-id": {
2371
- "name": "request-id",
2372
- "type": "option",
2879
+ "package-create-request-id": {
2880
+ "aliases": [
2881
+ "packagecreaterequestid"
2882
+ ],
2373
2883
  "char": "i",
2374
- "summary": "ID of the PackageUploadRequest (starts with 0HD).",
2884
+ "deprecateAliases": true,
2885
+ "name": "package-create-request-id",
2375
2886
  "required": true,
2887
+ "summary": "ID (starts with 08c) of the package version creation request you want to display.",
2888
+ "hasDynamicHelp": false,
2376
2889
  "multiple": false,
2377
- "deprecateAliases": true,
2378
- "aliases": [
2379
- "requestid"
2380
- ]
2890
+ "type": "option"
2381
2891
  }
2382
2892
  },
2383
- "args": {},
2384
- "hasDynamicHelp": true
2893
+ "hasDynamicHelp": true,
2894
+ "hiddenAliases": [],
2895
+ "id": "package:version:create:report",
2896
+ "pluginAlias": "@salesforce/plugin-packaging",
2897
+ "pluginName": "@salesforce/plugin-packaging",
2898
+ "pluginType": "core",
2899
+ "strict": true,
2900
+ "summary": "Retrieve details about a package version creation request.",
2901
+ "enableJsonFlag": true,
2902
+ "SF_ENV": "SF_ENV",
2903
+ "isESM": false,
2904
+ "relativePath": [
2905
+ "lib",
2906
+ "commands",
2907
+ "package",
2908
+ "version",
2909
+ "create",
2910
+ "report.js"
2911
+ ]
2385
2912
  }
2386
- }
2913
+ },
2914
+ "version": "1.27.6"
2387
2915
  }