@salesforce/plugin-packaging 2.4.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1036,15 +1036,16 @@
1036
1036
  "update:package"
1037
1037
  ]
1038
1038
  },
1039
- "package:install:report": {
1039
+ "package1:version:create": {
1040
1040
  "aliases": [
1041
- "force:package:install:report"
1041
+ "force:package1:version:create"
1042
1042
  ],
1043
1043
  "args": {},
1044
1044
  "deprecateAliases": true,
1045
+ "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.",
1045
1046
  "examples": [
1046
- "Retrieve the status of a package installation request with the specified ID on your default org:\n<%= config.bin %> <%= command.id %> --request-id 0Hf...",
1047
- "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"
1047
+ "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",
1048
+ "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"
1048
1049
  ],
1049
1050
  "flags": {
1050
1051
  "json": {
@@ -1062,6 +1063,16 @@
1062
1063
  "multiple": false,
1063
1064
  "type": "option"
1064
1065
  },
1066
+ "loglevel": {
1067
+ "deprecated": {
1068
+ "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."
1069
+ },
1070
+ "hidden": true,
1071
+ "name": "loglevel",
1072
+ "hasDynamicHelp": false,
1073
+ "multiple": false,
1074
+ "type": "option"
1075
+ },
1065
1076
  "target-org": {
1066
1077
  "aliases": [
1067
1078
  "targetusername",
@@ -1088,91 +1099,165 @@
1088
1099
  "multiple": false,
1089
1100
  "type": "option"
1090
1101
  },
1091
- "loglevel": {
1092
- "deprecated": {
1093
- "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."
1094
- },
1095
- "hidden": true,
1096
- "name": "loglevel",
1102
+ "package-id": {
1103
+ "aliases": [
1104
+ "packageid"
1105
+ ],
1106
+ "char": "i",
1107
+ "deprecateAliases": true,
1108
+ "name": "package-id",
1109
+ "required": true,
1110
+ "summary": "ID of the metadata package (starts with 033) of which you’re creating a new version.",
1097
1111
  "hasDynamicHelp": false,
1098
1112
  "multiple": false,
1099
1113
  "type": "option"
1100
1114
  },
1101
- "request-id": {
1115
+ "name": {
1116
+ "char": "n",
1117
+ "name": "name",
1118
+ "required": true,
1119
+ "summary": "Package version name.",
1120
+ "hasDynamicHelp": false,
1121
+ "multiple": false,
1122
+ "type": "option"
1123
+ },
1124
+ "description": {
1125
+ "char": "d",
1126
+ "name": "description",
1127
+ "summary": "Package version description.",
1128
+ "hasDynamicHelp": false,
1129
+ "multiple": false,
1130
+ "type": "option"
1131
+ },
1132
+ "version": {
1133
+ "char": "v",
1134
+ "name": "version",
1135
+ "summary": "Package version in major.minor format, for example, 3.2.",
1136
+ "hasDynamicHelp": false,
1137
+ "multiple": false,
1138
+ "type": "option"
1139
+ },
1140
+ "managed-released": {
1102
1141
  "aliases": [
1103
- "requestid"
1142
+ "managedrelease"
1104
1143
  ],
1105
- "char": "i",
1144
+ "char": "m",
1106
1145
  "deprecateAliases": true,
1107
- "name": "request-id",
1108
- "required": true,
1109
- "summary": "ID of the package install request you want to check; starts with 0Hf.",
1146
+ "description": "To create a beta version, don’t include this parameter.",
1147
+ "name": "managed-released",
1148
+ "summary": "Create a managed package version.",
1149
+ "allowNo": false,
1150
+ "type": "boolean"
1151
+ },
1152
+ "release-notes-url": {
1153
+ "aliases": [
1154
+ "releasenotesurl"
1155
+ ],
1156
+ "char": "r",
1157
+ "deprecateAliases": true,
1158
+ "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1159
+ "name": "release-notes-url",
1160
+ "summary": "Release notes URL.",
1161
+ "hasDynamicHelp": false,
1162
+ "multiple": false,
1163
+ "type": "option"
1164
+ },
1165
+ "post-install-url": {
1166
+ "aliases": [
1167
+ "postinstallurl"
1168
+ ],
1169
+ "char": "p",
1170
+ "deprecateAliases": true,
1171
+ "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1172
+ "name": "post-install-url",
1173
+ "summary": "Post install URL.",
1110
1174
  "hasDynamicHelp": false,
1111
1175
  "multiple": false,
1112
1176
  "type": "option"
1177
+ },
1178
+ "installation-key": {
1179
+ "aliases": [
1180
+ "installationkey"
1181
+ ],
1182
+ "char": "k",
1183
+ "deprecateAliases": true,
1184
+ "name": "installation-key",
1185
+ "summary": "Installation key for key-protected package (default: null).",
1186
+ "hasDynamicHelp": false,
1187
+ "multiple": false,
1188
+ "type": "option"
1189
+ },
1190
+ "wait": {
1191
+ "char": "w",
1192
+ "name": "wait",
1193
+ "summary": "Minutes to wait for the package version to be created (default: 2 minutes).",
1194
+ "hasDynamicHelp": true,
1195
+ "multiple": false,
1196
+ "type": "option"
1113
1197
  }
1114
1198
  },
1115
1199
  "hasDynamicHelp": true,
1116
1200
  "hiddenAliases": [],
1117
- "id": "package:install:report",
1201
+ "id": "package1:version:create",
1118
1202
  "pluginAlias": "@salesforce/plugin-packaging",
1119
1203
  "pluginName": "@salesforce/plugin-packaging",
1120
1204
  "pluginType": "core",
1121
1205
  "strict": true,
1122
- "summary": "Retrieve the status of a package installation request.",
1206
+ "summary": "Create a first-generation package version in the release org.",
1123
1207
  "enableJsonFlag": true,
1208
+ "requiresProject": true,
1124
1209
  "isESM": true,
1125
1210
  "relativePath": [
1126
1211
  "lib",
1127
1212
  "commands",
1128
- "package",
1129
- "install",
1130
- "report.js"
1213
+ "package1",
1214
+ "version",
1215
+ "create.js"
1131
1216
  ],
1132
1217
  "aliasPermutations": [
1133
- "force:package:install:report",
1134
- "package:force:install:report",
1135
- "package:install:force:report",
1136
- "package:install:report:force",
1137
- "force:install:package:report",
1138
- "install:force:package:report",
1139
- "install:package:force:report",
1140
- "install:package:report:force",
1141
- "force:install:report:package",
1142
- "install:force:report:package",
1143
- "install:report:force:package",
1144
- "install:report:package:force",
1145
- "force:package:report:install",
1146
- "package:force:report:install",
1147
- "package:report:force:install",
1148
- "package:report:install:force",
1149
- "force:report:package:install",
1150
- "report:force:package:install",
1151
- "report:package:force:install",
1152
- "report:package:install:force",
1153
- "force:report:install:package",
1154
- "report:force:install:package",
1155
- "report:install:force:package",
1156
- "report:install:package:force"
1218
+ "force:package1:version:create",
1219
+ "package1:force:version:create",
1220
+ "package1:version:force:create",
1221
+ "package1:version:create:force",
1222
+ "force:version:package1:create",
1223
+ "version:force:package1:create",
1224
+ "version:package1:force:create",
1225
+ "version:package1:create:force",
1226
+ "force:version:create:package1",
1227
+ "version:force:create:package1",
1228
+ "version:create:force:package1",
1229
+ "version:create:package1:force",
1230
+ "force:package1:create:version",
1231
+ "package1:force:create:version",
1232
+ "package1:create:force:version",
1233
+ "package1:create:version:force",
1234
+ "force:create:package1:version",
1235
+ "create:force:package1:version",
1236
+ "create:package1:force:version",
1237
+ "create:package1:version:force",
1238
+ "force:create:version:package1",
1239
+ "create:force:version:package1",
1240
+ "create:version:force:package1",
1241
+ "create:version:package1:force"
1157
1242
  ],
1158
1243
  "permutations": [
1159
- "package:install:report",
1160
- "install:package:report",
1161
- "install:report:package",
1162
- "package:report:install",
1163
- "report:package:install",
1164
- "report:install:package"
1244
+ "package1:version:create",
1245
+ "version:package1:create",
1246
+ "version:create:package1",
1247
+ "package1:create:version",
1248
+ "create:package1:version",
1249
+ "create:version:package1"
1165
1250
  ]
1166
1251
  },
1167
- "package:installed:list": {
1252
+ "package1:version:display": {
1168
1253
  "aliases": [
1169
- "force:package:installed:list"
1254
+ "force:package1:version:display"
1170
1255
  ],
1171
1256
  "args": {},
1172
1257
  "deprecateAliases": true,
1173
1258
  "examples": [
1174
- "List the installed packages in your default org:\n<%= config.bin %> <%= command.id %>",
1175
- "List the installed packages in the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --target-org me@example.com"
1259
+ "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...",
1260
+ "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com"
1176
1261
  ],
1177
1262
  "flags": {
1178
1263
  "json": {
@@ -1225,70 +1310,82 @@
1225
1310
  "hasDynamicHelp": false,
1226
1311
  "multiple": false,
1227
1312
  "type": "option"
1313
+ },
1314
+ "package-version-id": {
1315
+ "aliases": [
1316
+ "packageversionid"
1317
+ ],
1318
+ "char": "i",
1319
+ "deprecateAliases": true,
1320
+ "name": "package-version-id",
1321
+ "required": true,
1322
+ "summary": "ID (starts with 04t) of the metadata package version whose details you want to display.",
1323
+ "hasDynamicHelp": false,
1324
+ "multiple": false,
1325
+ "type": "option"
1228
1326
  }
1229
1327
  },
1230
1328
  "hasDynamicHelp": true,
1231
1329
  "hiddenAliases": [],
1232
- "id": "package:installed:list",
1330
+ "id": "package1:version:display",
1233
1331
  "pluginAlias": "@salesforce/plugin-packaging",
1234
1332
  "pluginName": "@salesforce/plugin-packaging",
1235
1333
  "pluginType": "core",
1236
1334
  "strict": true,
1237
- "summary": "List the org’s installed packages.",
1335
+ "summary": "Display details about a first-generation package version.",
1238
1336
  "enableJsonFlag": true,
1239
- "requiresProject": true,
1240
1337
  "isESM": true,
1241
1338
  "relativePath": [
1242
1339
  "lib",
1243
1340
  "commands",
1244
- "package",
1245
- "installed",
1246
- "list.js"
1341
+ "package1",
1342
+ "version",
1343
+ "display.js"
1247
1344
  ],
1248
1345
  "aliasPermutations": [
1249
- "force:package:installed:list",
1250
- "package:force:installed:list",
1251
- "package:installed:force:list",
1252
- "package:installed:list:force",
1253
- "force:installed:package:list",
1254
- "installed:force:package:list",
1255
- "installed:package:force:list",
1256
- "installed:package:list:force",
1257
- "force:installed:list:package",
1258
- "installed:force:list:package",
1259
- "installed:list:force:package",
1260
- "installed:list:package:force",
1261
- "force:package:list:installed",
1262
- "package:force:list:installed",
1263
- "package:list:force:installed",
1264
- "package:list:installed:force",
1265
- "force:list:package:installed",
1266
- "list:force:package:installed",
1267
- "list:package:force:installed",
1268
- "list:package:installed:force",
1269
- "force:list:installed:package",
1270
- "list:force:installed:package",
1271
- "list:installed:force:package",
1272
- "list:installed:package:force"
1273
- ],
1274
- "permutations": [
1275
- "package:installed:list",
1276
- "installed:package:list",
1277
- "installed:list:package",
1278
- "package:list:installed",
1279
- "list:package:installed",
1280
- "list:installed:package"
1281
- ]
1282
- },
1283
- "package:uninstall:report": {
1284
- "aliases": [
1285
- "force:package:uninstall:report"
1346
+ "force:package1:version:display",
1347
+ "package1:force:version:display",
1348
+ "package1:version:force:display",
1349
+ "package1:version:display:force",
1350
+ "force:version:package1:display",
1351
+ "version:force:package1:display",
1352
+ "version:package1:force:display",
1353
+ "version:package1:display:force",
1354
+ "force:version:display:package1",
1355
+ "version:force:display:package1",
1356
+ "version:display:force:package1",
1357
+ "version:display:package1:force",
1358
+ "force:package1:display:version",
1359
+ "package1:force:display:version",
1360
+ "package1:display:force:version",
1361
+ "package1:display:version:force",
1362
+ "force:display:package1:version",
1363
+ "display:force:package1:version",
1364
+ "display:package1:force:version",
1365
+ "display:package1:version:force",
1366
+ "force:display:version:package1",
1367
+ "display:force:version:package1",
1368
+ "display:version:force:package1",
1369
+ "display:version:package1:force"
1370
+ ],
1371
+ "permutations": [
1372
+ "package1:version:display",
1373
+ "version:package1:display",
1374
+ "version:display:package1",
1375
+ "package1:display:version",
1376
+ "display:package1:version",
1377
+ "display:version:package1"
1378
+ ]
1379
+ },
1380
+ "package1:version:list": {
1381
+ "aliases": [
1382
+ "force:package1:version:list"
1286
1383
  ],
1287
1384
  "args": {},
1288
1385
  "deprecateAliases": true,
1289
1386
  "examples": [
1290
- "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
1291
- "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"
1387
+ "List all first-generation package versions in your default org:\n<%= config.bin %> <%= command.id %>",
1388
+ "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"
1292
1389
  ],
1293
1390
  "flags": {
1294
1391
  "json": {
@@ -1342,15 +1439,15 @@
1342
1439
  "multiple": false,
1343
1440
  "type": "option"
1344
1441
  },
1345
- "request-id": {
1442
+ "package-id": {
1346
1443
  "aliases": [
1347
- "requestid"
1444
+ "packageid"
1348
1445
  ],
1349
1446
  "char": "i",
1350
1447
  "deprecateAliases": true,
1351
- "name": "request-id",
1352
- "required": true,
1353
- "summary": "ID of the package uninstall request you want to check; starts with 06y.",
1448
+ "description": "If not specified, shows all versions for all packages (managed and unmanaged) in the org.",
1449
+ "name": "package-id",
1450
+ "summary": "Metadata package ID (starts with 033) whose package versions you want to list.",
1354
1451
  "hasDynamicHelp": false,
1355
1452
  "multiple": false,
1356
1453
  "type": "option"
@@ -1358,68 +1455,65 @@
1358
1455
  },
1359
1456
  "hasDynamicHelp": true,
1360
1457
  "hiddenAliases": [],
1361
- "id": "package:uninstall:report",
1458
+ "id": "package1:version:list",
1362
1459
  "pluginAlias": "@salesforce/plugin-packaging",
1363
1460
  "pluginName": "@salesforce/plugin-packaging",
1364
1461
  "pluginType": "core",
1365
1462
  "strict": true,
1366
- "summary": "Retrieve the status of a package uninstall request.",
1463
+ "summary": "List package versions for the specified first-generation package or for the org.",
1367
1464
  "enableJsonFlag": true,
1368
1465
  "isESM": true,
1369
1466
  "relativePath": [
1370
1467
  "lib",
1371
1468
  "commands",
1372
- "package",
1373
- "uninstall",
1374
- "report.js"
1469
+ "package1",
1470
+ "version",
1471
+ "list.js"
1375
1472
  ],
1376
1473
  "aliasPermutations": [
1377
- "force:package:uninstall:report",
1378
- "package:force:uninstall:report",
1379
- "package:uninstall:force:report",
1380
- "package:uninstall:report:force",
1381
- "force:uninstall:package:report",
1382
- "uninstall:force:package:report",
1383
- "uninstall:package:force:report",
1384
- "uninstall:package:report:force",
1385
- "force:uninstall:report:package",
1386
- "uninstall:force:report:package",
1387
- "uninstall:report:force:package",
1388
- "uninstall:report:package:force",
1389
- "force:package:report:uninstall",
1390
- "package:force:report:uninstall",
1391
- "package:report:force:uninstall",
1392
- "package:report:uninstall:force",
1393
- "force:report:package:uninstall",
1394
- "report:force:package:uninstall",
1395
- "report:package:force:uninstall",
1396
- "report:package:uninstall:force",
1397
- "force:report:uninstall:package",
1398
- "report:force:uninstall:package",
1399
- "report:uninstall:force:package",
1400
- "report:uninstall:package:force"
1474
+ "force:package1:version:list",
1475
+ "package1:force:version:list",
1476
+ "package1:version:force:list",
1477
+ "package1:version:list:force",
1478
+ "force:version:package1:list",
1479
+ "version:force:package1:list",
1480
+ "version:package1:force:list",
1481
+ "version:package1:list:force",
1482
+ "force:version:list:package1",
1483
+ "version:force:list:package1",
1484
+ "version:list:force:package1",
1485
+ "version:list:package1:force",
1486
+ "force:package1:list:version",
1487
+ "package1:force:list:version",
1488
+ "package1:list:force:version",
1489
+ "package1:list:version:force",
1490
+ "force:list:package1:version",
1491
+ "list:force:package1:version",
1492
+ "list:package1:force:version",
1493
+ "list:package1:version:force",
1494
+ "force:list:version:package1",
1495
+ "list:force:version:package1",
1496
+ "list:version:force:package1",
1497
+ "list:version:package1:force"
1401
1498
  ],
1402
1499
  "permutations": [
1403
- "package:uninstall:report",
1404
- "uninstall:package:report",
1405
- "uninstall:report:package",
1406
- "package:report:uninstall",
1407
- "report:package:uninstall",
1408
- "report:uninstall:package"
1500
+ "package1:version:list",
1501
+ "version:package1:list",
1502
+ "version:list:package1",
1503
+ "package1:list:version",
1504
+ "list:package1:version",
1505
+ "list:version:package1"
1409
1506
  ]
1410
1507
  },
1411
- "package:version:create": {
1508
+ "package:install:report": {
1412
1509
  "aliases": [
1413
- "force:package:version:create"
1510
+ "force:package:install:report"
1414
1511
  ],
1415
1512
  "args": {},
1416
1513
  "deprecateAliases": true,
1417
- "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.",
1418
1514
  "examples": [
1419
- "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",
1420
- "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",
1421
- "Create a package version from a package with the specified ID:\n<%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123",
1422
- "Create a package version and skip the validation step:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation"
1515
+ "Retrieve the status of a package installation request with the specified ID on your default org:\n<%= config.bin %> <%= command.id %> --request-id 0Hf...",
1516
+ "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"
1423
1517
  ],
1424
1518
  "flags": {
1425
1519
  "json": {
@@ -1437,27 +1531,17 @@
1437
1531
  "multiple": false,
1438
1532
  "type": "option"
1439
1533
  },
1440
- "loglevel": {
1441
- "deprecated": {
1442
- "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."
1443
- },
1444
- "hidden": true,
1445
- "name": "loglevel",
1446
- "hasDynamicHelp": false,
1447
- "multiple": false,
1448
- "type": "option"
1449
- },
1450
- "target-dev-hub": {
1534
+ "target-org": {
1451
1535
  "aliases": [
1452
- "targetdevhubusername",
1453
- "target-hub-org"
1536
+ "targetusername",
1537
+ "u"
1454
1538
  ],
1455
- "char": "v",
1539
+ "char": "o",
1456
1540
  "deprecateAliases": true,
1457
- "name": "target-dev-hub",
1541
+ "name": "target-org",
1458
1542
  "noCacheDefault": true,
1459
1543
  "required": true,
1460
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1544
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1461
1545
  "hasDynamicHelp": true,
1462
1546
  "multiple": false,
1463
1547
  "type": "option"
@@ -1473,318 +1557,338 @@
1473
1557
  "multiple": false,
1474
1558
  "type": "option"
1475
1559
  },
1476
- "branch": {
1477
- "char": "b",
1478
- "name": "branch",
1479
- "summary": "Name of the branch in your source control system that the package version is based on.",
1480
- "hasDynamicHelp": false,
1481
- "multiple": false,
1482
- "type": "option"
1483
- },
1484
- "build-instance": {
1485
- "aliases": [
1486
- "buildinstance"
1487
- ],
1488
- "char": "s",
1489
- "deprecateAliases": true,
1560
+ "loglevel": {
1561
+ "deprecated": {
1562
+ "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."
1563
+ },
1490
1564
  "hidden": true,
1491
- "name": "build-instance",
1492
- "summary": "Instance where the package version will be created, such as NA50.",
1493
- "hasDynamicHelp": false,
1494
- "multiple": false,
1495
- "type": "option"
1496
- },
1497
- "code-coverage": {
1498
- "aliases": [
1499
- "codecoverage"
1500
- ],
1501
- "char": "c",
1502
- "deprecateAliases": true,
1503
- "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.",
1504
- "exclusive": [
1505
- "skip-validation"
1506
- ],
1507
- "name": "code-coverage",
1508
- "summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
1509
- "allowNo": false,
1510
- "type": "boolean"
1511
- },
1512
- "definition-file": {
1513
- "aliases": [
1514
- "definitionfile"
1515
- ],
1516
- "char": "f",
1517
- "deprecateAliases": true,
1518
- "name": "definition-file",
1519
- "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.",
1520
- "hasDynamicHelp": false,
1521
- "multiple": false,
1522
- "type": "option"
1523
- },
1524
- "installation-key": {
1525
- "aliases": [
1526
- "installationkey"
1527
- ],
1528
- "char": "k",
1529
- "deprecateAliases": true,
1530
- "name": "installation-key",
1531
- "summary": "Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)",
1532
- "hasDynamicHelp": false,
1533
- "multiple": false,
1534
- "type": "option"
1535
- },
1536
- "installation-key-bypass": {
1537
- "aliases": [
1538
- "installationkeybypass"
1539
- ],
1540
- "char": "x",
1541
- "deprecateAliases": true,
1542
- "description": "If you bypass this requirement, anyone can install your package.",
1543
- "name": "installation-key-bypass",
1544
- "summary": "Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)",
1545
- "allowNo": false,
1546
- "type": "boolean"
1547
- },
1548
- "package": {
1549
- "char": "p",
1550
- "name": "package",
1551
- "summary": "ID (starts with 0Ho) or alias of the package to create a version of.",
1552
- "hasDynamicHelp": false,
1553
- "multiple": false,
1554
- "type": "option"
1555
- },
1556
- "path": {
1557
- "char": "d",
1558
- "name": "path",
1559
- "summary": "Path to the directory that contains the contents of the package.",
1565
+ "name": "loglevel",
1560
1566
  "hasDynamicHelp": false,
1561
1567
  "multiple": false,
1562
1568
  "type": "option"
1563
1569
  },
1564
- "post-install-script": {
1570
+ "request-id": {
1565
1571
  "aliases": [
1566
- "postinstallscript"
1572
+ "requestid"
1567
1573
  ],
1574
+ "char": "i",
1568
1575
  "deprecateAliases": true,
1569
- "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.",
1570
- "name": "post-install-script",
1571
- "summary": "Name of the post-install script; applies to managed packages only.",
1576
+ "name": "request-id",
1577
+ "required": true,
1578
+ "summary": "ID of the package install request you want to check; starts with 0Hf.",
1572
1579
  "hasDynamicHelp": false,
1573
1580
  "multiple": false,
1574
1581
  "type": "option"
1575
- },
1576
- "post-install-url": {
1577
- "aliases": [
1578
- "postinstallurl"
1579
- ],
1580
- "deprecateAliases": true,
1581
- "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
1582
- "name": "post-install-url",
1583
- "summary": "Post-install instructions URL.",
1582
+ }
1583
+ },
1584
+ "hasDynamicHelp": true,
1585
+ "hiddenAliases": [],
1586
+ "id": "package:install:report",
1587
+ "pluginAlias": "@salesforce/plugin-packaging",
1588
+ "pluginName": "@salesforce/plugin-packaging",
1589
+ "pluginType": "core",
1590
+ "strict": true,
1591
+ "summary": "Retrieve the status of a package installation request.",
1592
+ "enableJsonFlag": true,
1593
+ "isESM": true,
1594
+ "relativePath": [
1595
+ "lib",
1596
+ "commands",
1597
+ "package",
1598
+ "install",
1599
+ "report.js"
1600
+ ],
1601
+ "aliasPermutations": [
1602
+ "force:package:install:report",
1603
+ "package:force:install:report",
1604
+ "package:install:force:report",
1605
+ "package:install:report:force",
1606
+ "force:install:package:report",
1607
+ "install:force:package:report",
1608
+ "install:package:force:report",
1609
+ "install:package:report:force",
1610
+ "force:install:report:package",
1611
+ "install:force:report:package",
1612
+ "install:report:force:package",
1613
+ "install:report:package:force",
1614
+ "force:package:report:install",
1615
+ "package:force:report:install",
1616
+ "package:report:force:install",
1617
+ "package:report:install:force",
1618
+ "force:report:package:install",
1619
+ "report:force:package:install",
1620
+ "report:package:force:install",
1621
+ "report:package:install:force",
1622
+ "force:report:install:package",
1623
+ "report:force:install:package",
1624
+ "report:install:force:package",
1625
+ "report:install:package:force"
1626
+ ],
1627
+ "permutations": [
1628
+ "package:install:report",
1629
+ "install:package:report",
1630
+ "install:report:package",
1631
+ "package:report:install",
1632
+ "report:package:install",
1633
+ "report:install:package"
1634
+ ]
1635
+ },
1636
+ "package:installed:list": {
1637
+ "aliases": [
1638
+ "force:package:installed:list"
1639
+ ],
1640
+ "args": {},
1641
+ "deprecateAliases": true,
1642
+ "examples": [
1643
+ "List the installed packages in your default org:\n<%= config.bin %> <%= command.id %>",
1644
+ "List the installed packages in the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --target-org me@example.com"
1645
+ ],
1646
+ "flags": {
1647
+ "json": {
1648
+ "description": "Format output as json.",
1649
+ "helpGroup": "GLOBAL",
1650
+ "name": "json",
1651
+ "allowNo": false,
1652
+ "type": "boolean"
1653
+ },
1654
+ "flags-dir": {
1655
+ "helpGroup": "GLOBAL",
1656
+ "name": "flags-dir",
1657
+ "summary": "Import flag values from a directory.",
1584
1658
  "hasDynamicHelp": false,
1585
1659
  "multiple": false,
1586
1660
  "type": "option"
1587
1661
  },
1588
- "preserve": {
1589
- "char": "r",
1662
+ "loglevel": {
1663
+ "deprecated": {
1664
+ "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."
1665
+ },
1590
1666
  "hidden": true,
1591
- "name": "preserve",
1592
- "summary": "Preserve temp files that would otherwise be deleted.",
1593
- "allowNo": false,
1594
- "type": "boolean"
1595
- },
1596
- "releasenotes-url": {
1597
- "aliases": [
1598
- "releasenotesurl"
1599
- ],
1600
- "deprecateAliases": true,
1601
- "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
1602
- "name": "releasenotes-url",
1603
- "summary": "Release notes URL.",
1667
+ "name": "loglevel",
1604
1668
  "hasDynamicHelp": false,
1605
1669
  "multiple": false,
1606
1670
  "type": "option"
1607
1671
  },
1608
- "skip-ancestor-check": {
1672
+ "target-org": {
1609
1673
  "aliases": [
1610
- "skipancestorcheck"
1674
+ "targetusername",
1675
+ "u"
1611
1676
  ],
1677
+ "char": "o",
1612
1678
  "deprecateAliases": true,
1613
- "name": "skip-ancestor-check",
1614
- "summary": "Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.",
1615
- "allowNo": false,
1616
- "type": "boolean"
1679
+ "name": "target-org",
1680
+ "noCacheDefault": true,
1681
+ "required": true,
1682
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1683
+ "hasDynamicHelp": true,
1684
+ "multiple": false,
1685
+ "type": "option"
1617
1686
  },
1618
- "skip-validation": {
1687
+ "api-version": {
1619
1688
  "aliases": [
1620
- "skipvalidation"
1689
+ "apiversion"
1621
1690
  ],
1622
1691
  "deprecateAliases": true,
1623
- "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.",
1624
- "exclusive": [
1625
- "code-coverage"
1626
- ],
1627
- "name": "skip-validation",
1628
- "summary": "Skip validation during package version creation; you can’t promote unvalidated package versions.",
1692
+ "description": "Override the api version used for api requests made by this command",
1693
+ "name": "api-version",
1694
+ "hasDynamicHelp": false,
1695
+ "multiple": false,
1696
+ "type": "option"
1697
+ }
1698
+ },
1699
+ "hasDynamicHelp": true,
1700
+ "hiddenAliases": [],
1701
+ "id": "package:installed:list",
1702
+ "pluginAlias": "@salesforce/plugin-packaging",
1703
+ "pluginName": "@salesforce/plugin-packaging",
1704
+ "pluginType": "core",
1705
+ "strict": true,
1706
+ "summary": "List the org’s installed packages.",
1707
+ "enableJsonFlag": true,
1708
+ "requiresProject": true,
1709
+ "isESM": true,
1710
+ "relativePath": [
1711
+ "lib",
1712
+ "commands",
1713
+ "package",
1714
+ "installed",
1715
+ "list.js"
1716
+ ],
1717
+ "aliasPermutations": [
1718
+ "force:package:installed:list",
1719
+ "package:force:installed:list",
1720
+ "package:installed:force:list",
1721
+ "package:installed:list:force",
1722
+ "force:installed:package:list",
1723
+ "installed:force:package:list",
1724
+ "installed:package:force:list",
1725
+ "installed:package:list:force",
1726
+ "force:installed:list:package",
1727
+ "installed:force:list:package",
1728
+ "installed:list:force:package",
1729
+ "installed:list:package:force",
1730
+ "force:package:list:installed",
1731
+ "package:force:list:installed",
1732
+ "package:list:force:installed",
1733
+ "package:list:installed:force",
1734
+ "force:list:package:installed",
1735
+ "list:force:package:installed",
1736
+ "list:package:force:installed",
1737
+ "list:package:installed:force",
1738
+ "force:list:installed:package",
1739
+ "list:force:installed:package",
1740
+ "list:installed:force:package",
1741
+ "list:installed:package:force"
1742
+ ],
1743
+ "permutations": [
1744
+ "package:installed:list",
1745
+ "installed:package:list",
1746
+ "installed:list:package",
1747
+ "package:list:installed",
1748
+ "list:package:installed",
1749
+ "list:installed:package"
1750
+ ]
1751
+ },
1752
+ "package:uninstall:report": {
1753
+ "aliases": [
1754
+ "force:package:uninstall:report"
1755
+ ],
1756
+ "args": {},
1757
+ "deprecateAliases": true,
1758
+ "examples": [
1759
+ "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
1760
+ "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"
1761
+ ],
1762
+ "flags": {
1763
+ "json": {
1764
+ "description": "Format output as json.",
1765
+ "helpGroup": "GLOBAL",
1766
+ "name": "json",
1629
1767
  "allowNo": false,
1630
1768
  "type": "boolean"
1631
1769
  },
1632
- "tag": {
1633
- "char": "t",
1634
- "name": "tag",
1635
- "summary": "Package version’s tag.",
1770
+ "flags-dir": {
1771
+ "helpGroup": "GLOBAL",
1772
+ "name": "flags-dir",
1773
+ "summary": "Import flag values from a directory.",
1636
1774
  "hasDynamicHelp": false,
1637
1775
  "multiple": false,
1638
1776
  "type": "option"
1639
1777
  },
1640
- "uninstall-script": {
1641
- "aliases": [
1642
- "uninstallscript"
1643
- ],
1644
- "deprecateAliases": true,
1645
- "description": "The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.",
1646
- "name": "uninstall-script",
1647
- "summary": "Uninstall script name; applies to managed packages only.",
1778
+ "loglevel": {
1779
+ "deprecated": {
1780
+ "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."
1781
+ },
1782
+ "hidden": true,
1783
+ "name": "loglevel",
1648
1784
  "hasDynamicHelp": false,
1649
1785
  "multiple": false,
1650
1786
  "type": "option"
1651
1787
  },
1652
- "validate-schema": {
1653
- "aliases": [
1654
- "validateschema"
1655
- ],
1656
- "char": "j",
1657
- "deprecateAliases": true,
1658
- "hidden": true,
1659
- "name": "validate-schema",
1660
- "summary": "Validate the sfdx-project.json file against the JSON schema.",
1661
- "allowNo": false,
1662
- "type": "boolean"
1663
- },
1664
- "version-description": {
1788
+ "target-org": {
1665
1789
  "aliases": [
1666
- "versiondescription"
1790
+ "targetusername",
1791
+ "u"
1667
1792
  ],
1668
- "char": "e",
1793
+ "char": "o",
1669
1794
  "deprecateAliases": true,
1670
- "name": "version-description",
1671
- "summary": "Description of the package version to be created; overrides the sfdx-project.json value.",
1672
- "hasDynamicHelp": false,
1795
+ "name": "target-org",
1796
+ "noCacheDefault": true,
1797
+ "required": true,
1798
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1799
+ "hasDynamicHelp": true,
1673
1800
  "multiple": false,
1674
1801
  "type": "option"
1675
1802
  },
1676
- "version-name": {
1803
+ "api-version": {
1677
1804
  "aliases": [
1678
- "versionname"
1805
+ "apiversion"
1679
1806
  ],
1680
- "char": "a",
1681
1807
  "deprecateAliases": true,
1682
- "name": "version-name",
1683
- "summary": "Name of the package version to be created; overrides the sfdx-project.json value.",
1808
+ "description": "Override the api version used for api requests made by this command",
1809
+ "name": "api-version",
1684
1810
  "hasDynamicHelp": false,
1685
1811
  "multiple": false,
1686
1812
  "type": "option"
1687
1813
  },
1688
- "version-number": {
1814
+ "request-id": {
1689
1815
  "aliases": [
1690
- "versionnumber"
1816
+ "requestid"
1691
1817
  ],
1692
- "char": "n",
1818
+ "char": "i",
1693
1819
  "deprecateAliases": true,
1694
- "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.",
1695
- "name": "version-number",
1696
- "summary": "Version number of the package version to be created; overrides the sfdx-project.json value.",
1697
- "hasDynamicHelp": false,
1698
- "multiple": false,
1699
- "type": "option"
1700
- },
1701
- "wait": {
1702
- "char": "w",
1703
- "name": "wait",
1704
- "summary": "Number of minutes to wait for the package version to be created.",
1705
- "hasDynamicHelp": true,
1706
- "multiple": false,
1707
- "type": "option"
1708
- },
1709
- "language": {
1710
- "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.",
1711
- "name": "language",
1712
- "summary": "Language for the package.",
1820
+ "name": "request-id",
1821
+ "required": true,
1822
+ "summary": "ID of the package uninstall request you want to check; starts with 06y.",
1713
1823
  "hasDynamicHelp": false,
1714
1824
  "multiple": false,
1715
1825
  "type": "option"
1716
- },
1717
- "verbose": {
1718
- "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.",
1719
- "name": "verbose",
1720
- "summary": "Display verbose command output.",
1721
- "allowNo": false,
1722
- "type": "boolean"
1723
1826
  }
1724
1827
  },
1725
1828
  "hasDynamicHelp": true,
1726
1829
  "hiddenAliases": [],
1727
- "id": "package:version:create",
1830
+ "id": "package:uninstall:report",
1728
1831
  "pluginAlias": "@salesforce/plugin-packaging",
1729
1832
  "pluginName": "@salesforce/plugin-packaging",
1730
1833
  "pluginType": "core",
1731
1834
  "strict": true,
1732
- "summary": "Create a package version in the Dev Hub org.",
1835
+ "summary": "Retrieve the status of a package uninstall request.",
1733
1836
  "enableJsonFlag": true,
1734
- "requiresProject": true,
1735
1837
  "isESM": true,
1736
1838
  "relativePath": [
1737
1839
  "lib",
1738
1840
  "commands",
1739
1841
  "package",
1740
- "version",
1741
- "create.js"
1842
+ "uninstall",
1843
+ "report.js"
1742
1844
  ],
1743
1845
  "aliasPermutations": [
1744
- "force:package:version:create",
1745
- "package:force:version:create",
1746
- "package:version:force:create",
1747
- "package:version:create:force",
1748
- "force:version:package:create",
1749
- "version:force:package:create",
1750
- "version:package:force:create",
1751
- "version:package:create:force",
1752
- "force:version:create:package",
1753
- "version:force:create:package",
1754
- "version:create:force:package",
1755
- "version:create:package:force",
1756
- "force:package:create:version",
1757
- "package:force:create:version",
1758
- "package:create:force:version",
1759
- "package:create:version:force",
1760
- "force:create:package:version",
1761
- "create:force:package:version",
1762
- "create:package:force:version",
1763
- "create:package:version:force",
1764
- "force:create:version:package",
1765
- "create:force:version:package",
1766
- "create:version:force:package",
1767
- "create:version:package:force"
1846
+ "force:package:uninstall:report",
1847
+ "package:force:uninstall:report",
1848
+ "package:uninstall:force:report",
1849
+ "package:uninstall:report:force",
1850
+ "force:uninstall:package:report",
1851
+ "uninstall:force:package:report",
1852
+ "uninstall:package:force:report",
1853
+ "uninstall:package:report:force",
1854
+ "force:uninstall:report:package",
1855
+ "uninstall:force:report:package",
1856
+ "uninstall:report:force:package",
1857
+ "uninstall:report:package:force",
1858
+ "force:package:report:uninstall",
1859
+ "package:force:report:uninstall",
1860
+ "package:report:force:uninstall",
1861
+ "package:report:uninstall:force",
1862
+ "force:report:package:uninstall",
1863
+ "report:force:package:uninstall",
1864
+ "report:package:force:uninstall",
1865
+ "report:package:uninstall:force",
1866
+ "force:report:uninstall:package",
1867
+ "report:force:uninstall:package",
1868
+ "report:uninstall:force:package",
1869
+ "report:uninstall:package:force"
1768
1870
  ],
1769
1871
  "permutations": [
1770
- "package:version:create",
1771
- "version:package:create",
1772
- "version:create:package",
1773
- "package:create:version",
1774
- "create:package:version",
1775
- "create:version:package"
1872
+ "package:uninstall:report",
1873
+ "uninstall:package:report",
1874
+ "uninstall:report:package",
1875
+ "package:report:uninstall",
1876
+ "report:package:uninstall",
1877
+ "report:uninstall:package"
1776
1878
  ]
1777
1879
  },
1778
- "package:version:delete": {
1880
+ "package:version:create": {
1779
1881
  "aliases": [
1780
- "force:package:version:delete"
1882
+ "force:package:version:create"
1781
1883
  ],
1782
1884
  "args": {},
1783
1885
  "deprecateAliases": true,
1784
- "description": "Specify the ID or alias of the package version you want to delete.",
1886
+ "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.",
1785
1887
  "examples": [
1786
- "Delete a package version with the specified alias using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\"",
1787
- "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"
1888
+ "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",
1889
+ "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",
1890
+ "Create a package version from a package with the specified ID:\n<%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123",
1891
+ "Create a package version and skip the validation step:\n<%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation"
1788
1892
  ],
1789
1893
  "flags": {
1790
1894
  "json": {
@@ -1838,187 +1942,263 @@
1838
1942
  "multiple": false,
1839
1943
  "type": "option"
1840
1944
  },
1841
- "no-prompt": {
1945
+ "branch": {
1946
+ "char": "b",
1947
+ "name": "branch",
1948
+ "summary": "Name of the branch in your source control system that the package version is based on.",
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "build-instance": {
1842
1954
  "aliases": [
1843
- "noprompt"
1955
+ "buildinstance"
1844
1956
  ],
1845
- "char": "n",
1957
+ "char": "s",
1846
1958
  "deprecateAliases": true,
1847
- "name": "no-prompt",
1848
- "summary": "Don’t prompt before deleting the package version.",
1959
+ "hidden": true,
1960
+ "name": "build-instance",
1961
+ "summary": "Instance where the package version will be created, such as NA50.",
1962
+ "hasDynamicHelp": false,
1963
+ "multiple": false,
1964
+ "type": "option"
1965
+ },
1966
+ "code-coverage": {
1967
+ "aliases": [
1968
+ "codecoverage"
1969
+ ],
1970
+ "char": "c",
1971
+ "deprecateAliases": true,
1972
+ "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.",
1973
+ "exclusive": [
1974
+ "skip-validation"
1975
+ ],
1976
+ "name": "code-coverage",
1977
+ "summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
1978
+ "allowNo": false,
1979
+ "type": "boolean"
1980
+ },
1981
+ "definition-file": {
1982
+ "aliases": [
1983
+ "definitionfile"
1984
+ ],
1985
+ "char": "f",
1986
+ "deprecateAliases": true,
1987
+ "name": "definition-file",
1988
+ "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.",
1989
+ "hasDynamicHelp": false,
1990
+ "multiple": false,
1991
+ "type": "option"
1992
+ },
1993
+ "installation-key": {
1994
+ "aliases": [
1995
+ "installationkey"
1996
+ ],
1997
+ "char": "k",
1998
+ "deprecateAliases": true,
1999
+ "name": "installation-key",
2000
+ "summary": "Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)",
2001
+ "hasDynamicHelp": false,
2002
+ "multiple": false,
2003
+ "type": "option"
2004
+ },
2005
+ "installation-key-bypass": {
2006
+ "aliases": [
2007
+ "installationkeybypass"
2008
+ ],
2009
+ "char": "x",
2010
+ "deprecateAliases": true,
2011
+ "description": "If you bypass this requirement, anyone can install your package.",
2012
+ "name": "installation-key-bypass",
2013
+ "summary": "Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)",
1849
2014
  "allowNo": false,
1850
2015
  "type": "boolean"
1851
2016
  },
1852
2017
  "package": {
1853
2018
  "char": "p",
1854
2019
  "name": "package",
1855
- "required": true,
1856
- "summary": "ID (starts with 04t) or alias of the package version to delete.",
2020
+ "summary": "ID (starts with 0Ho) or alias of the package to create a version of.",
1857
2021
  "hasDynamicHelp": false,
1858
2022
  "multiple": false,
1859
2023
  "type": "option"
1860
2024
  },
1861
- "undelete": {
2025
+ "path": {
2026
+ "char": "d",
2027
+ "name": "path",
2028
+ "summary": "Path to the directory that contains the contents of the package.",
2029
+ "hasDynamicHelp": false,
2030
+ "multiple": false,
2031
+ "type": "option"
2032
+ },
2033
+ "post-install-script": {
2034
+ "aliases": [
2035
+ "postinstallscript"
2036
+ ],
2037
+ "deprecateAliases": true,
2038
+ "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.",
2039
+ "name": "post-install-script",
2040
+ "summary": "Name of the post-install script; applies to managed packages only.",
2041
+ "hasDynamicHelp": false,
2042
+ "multiple": false,
2043
+ "type": "option"
2044
+ },
2045
+ "post-install-url": {
2046
+ "aliases": [
2047
+ "postinstallurl"
2048
+ ],
2049
+ "deprecateAliases": true,
2050
+ "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
2051
+ "name": "post-install-url",
2052
+ "summary": "Post-install instructions URL.",
2053
+ "hasDynamicHelp": false,
2054
+ "multiple": false,
2055
+ "type": "option"
2056
+ },
2057
+ "preserve": {
2058
+ "char": "r",
1862
2059
  "hidden": true,
1863
- "name": "undelete",
1864
- "summary": "Undelete a deleted package version.",
2060
+ "name": "preserve",
2061
+ "summary": "Preserve temp files that would otherwise be deleted.",
1865
2062
  "allowNo": false,
1866
2063
  "type": "boolean"
1867
- }
1868
- },
1869
- "hasDynamicHelp": true,
1870
- "hiddenAliases": [],
1871
- "id": "package:version:delete",
1872
- "pluginAlias": "@salesforce/plugin-packaging",
1873
- "pluginName": "@salesforce/plugin-packaging",
1874
- "pluginType": "core",
1875
- "strict": true,
1876
- "summary": "Delete a package version.",
1877
- "enableJsonFlag": true,
1878
- "requiresProject": true,
1879
- "isESM": true,
1880
- "relativePath": [
1881
- "lib",
1882
- "commands",
1883
- "package",
1884
- "version",
1885
- "delete.js"
1886
- ],
1887
- "aliasPermutations": [
1888
- "force:package:version:delete",
1889
- "package:force:version:delete",
1890
- "package:version:force:delete",
1891
- "package:version:delete:force",
1892
- "force:version:package:delete",
1893
- "version:force:package:delete",
1894
- "version:package:force:delete",
1895
- "version:package:delete:force",
1896
- "force:version:delete:package",
1897
- "version:force:delete:package",
1898
- "version:delete:force:package",
1899
- "version:delete:package:force",
1900
- "force:package:delete:version",
1901
- "package:force:delete:version",
1902
- "package:delete:force:version",
1903
- "package:delete:version:force",
1904
- "force:delete:package:version",
1905
- "delete:force:package:version",
1906
- "delete:package:force:version",
1907
- "delete:package:version:force",
1908
- "force:delete:version:package",
1909
- "delete:force:version:package",
1910
- "delete:version:force:package",
1911
- "delete:version:package:force"
1912
- ],
1913
- "permutations": [
1914
- "package:version:delete",
1915
- "version:package:delete",
1916
- "version:delete:package",
1917
- "package:delete:version",
1918
- "delete:package:version",
1919
- "delete:version:package"
1920
- ]
1921
- },
1922
- "package:version:displayancestry": {
1923
- "aliases": [
1924
- "force:package:version:displayancestry"
1925
- ],
1926
- "args": {},
1927
- "deprecateAliases": true,
1928
- "examples": [
1929
- "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",
1930
- "Similar to previous example, but display the output in DOT code:\n<%= config.bin %> <%= command.id %> --package package_version_alias --dot-code",
1931
- "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",
1932
- "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..."
1933
- ],
1934
- "flags": {
1935
- "json": {
1936
- "description": "Format output as json.",
1937
- "helpGroup": "GLOBAL",
1938
- "name": "json",
2064
+ },
2065
+ "releasenotes-url": {
2066
+ "aliases": [
2067
+ "releasenotesurl"
2068
+ ],
2069
+ "deprecateAliases": true,
2070
+ "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
2071
+ "name": "releasenotes-url",
2072
+ "summary": "Release notes URL.",
2073
+ "hasDynamicHelp": false,
2074
+ "multiple": false,
2075
+ "type": "option"
2076
+ },
2077
+ "skip-ancestor-check": {
2078
+ "aliases": [
2079
+ "skipancestorcheck"
2080
+ ],
2081
+ "deprecateAliases": true,
2082
+ "name": "skip-ancestor-check",
2083
+ "summary": "Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.",
1939
2084
  "allowNo": false,
1940
2085
  "type": "boolean"
1941
2086
  },
1942
- "flags-dir": {
1943
- "helpGroup": "GLOBAL",
1944
- "name": "flags-dir",
1945
- "summary": "Import flag values from a directory.",
2087
+ "skip-validation": {
2088
+ "aliases": [
2089
+ "skipvalidation"
2090
+ ],
2091
+ "deprecateAliases": true,
2092
+ "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.",
2093
+ "exclusive": [
2094
+ "code-coverage"
2095
+ ],
2096
+ "name": "skip-validation",
2097
+ "summary": "Skip validation during package version creation; you can’t promote unvalidated package versions.",
2098
+ "allowNo": false,
2099
+ "type": "boolean"
2100
+ },
2101
+ "tag": {
2102
+ "char": "t",
2103
+ "name": "tag",
2104
+ "summary": "Package version’s tag.",
1946
2105
  "hasDynamicHelp": false,
1947
2106
  "multiple": false,
1948
2107
  "type": "option"
1949
2108
  },
1950
- "loglevel": {
1951
- "deprecated": {
1952
- "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."
1953
- },
2109
+ "uninstall-script": {
2110
+ "aliases": [
2111
+ "uninstallscript"
2112
+ ],
2113
+ "deprecateAliases": true,
2114
+ "description": "The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.",
2115
+ "name": "uninstall-script",
2116
+ "summary": "Uninstall script name; applies to managed packages only.",
2117
+ "hasDynamicHelp": false,
2118
+ "multiple": false,
2119
+ "type": "option"
2120
+ },
2121
+ "validate-schema": {
2122
+ "aliases": [
2123
+ "validateschema"
2124
+ ],
2125
+ "char": "j",
2126
+ "deprecateAliases": true,
1954
2127
  "hidden": true,
1955
- "name": "loglevel",
2128
+ "name": "validate-schema",
2129
+ "summary": "Validate the sfdx-project.json file against the JSON schema.",
2130
+ "allowNo": false,
2131
+ "type": "boolean"
2132
+ },
2133
+ "version-description": {
2134
+ "aliases": [
2135
+ "versiondescription"
2136
+ ],
2137
+ "char": "e",
2138
+ "deprecateAliases": true,
2139
+ "name": "version-description",
2140
+ "summary": "Description of the package version to be created; overrides the sfdx-project.json value.",
1956
2141
  "hasDynamicHelp": false,
1957
2142
  "multiple": false,
1958
2143
  "type": "option"
1959
2144
  },
1960
- "target-dev-hub": {
2145
+ "version-name": {
1961
2146
  "aliases": [
1962
- "targetdevhubusername",
1963
- "target-hub-org"
2147
+ "versionname"
1964
2148
  ],
1965
- "char": "v",
2149
+ "char": "a",
1966
2150
  "deprecateAliases": true,
1967
- "name": "target-dev-hub",
1968
- "noCacheDefault": true,
1969
- "required": true,
1970
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
1971
- "hasDynamicHelp": true,
2151
+ "name": "version-name",
2152
+ "summary": "Name of the package version to be created; overrides the sfdx-project.json value.",
2153
+ "hasDynamicHelp": false,
1972
2154
  "multiple": false,
1973
2155
  "type": "option"
1974
2156
  },
1975
- "api-version": {
2157
+ "version-number": {
1976
2158
  "aliases": [
1977
- "apiversion"
2159
+ "versionnumber"
1978
2160
  ],
2161
+ "char": "n",
1979
2162
  "deprecateAliases": true,
1980
- "description": "Override the api version used for api requests made by this command",
1981
- "name": "api-version",
2163
+ "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.",
2164
+ "name": "version-number",
2165
+ "summary": "Version number of the package version to be created; overrides the sfdx-project.json value.",
1982
2166
  "hasDynamicHelp": false,
1983
2167
  "multiple": false,
1984
2168
  "type": "option"
1985
2169
  },
1986
- "package": {
1987
- "char": "p",
1988
- "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.",
1989
- "name": "package",
1990
- "required": true,
1991
- "summary": "ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.",
1992
- "hasDynamicHelp": false,
2170
+ "wait": {
2171
+ "char": "w",
2172
+ "name": "wait",
2173
+ "summary": "Number of minutes to wait for the package version to be created.",
2174
+ "hasDynamicHelp": true,
1993
2175
  "multiple": false,
1994
2176
  "type": "option"
1995
2177
  },
1996
- "dot-code": {
1997
- "aliases": [
1998
- "dotcode"
1999
- ],
2000
- "deprecateAliases": true,
2001
- "description": "You can use the DOT code output in graph visualization software to create tree visualizations.",
2002
- "name": "dot-code",
2003
- "summary": "Display the ancestry tree in DOT code.",
2004
- "allowNo": false,
2005
- "type": "boolean"
2178
+ "language": {
2179
+ "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.",
2180
+ "name": "language",
2181
+ "summary": "Language for the package.",
2182
+ "hasDynamicHelp": false,
2183
+ "multiple": false,
2184
+ "type": "option"
2006
2185
  },
2007
2186
  "verbose": {
2187
+ "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.",
2008
2188
  "name": "verbose",
2009
- "summary": "Display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.",
2189
+ "summary": "Display verbose command output.",
2010
2190
  "allowNo": false,
2011
2191
  "type": "boolean"
2012
2192
  }
2013
2193
  },
2014
2194
  "hasDynamicHelp": true,
2015
2195
  "hiddenAliases": [],
2016
- "id": "package:version:displayancestry",
2196
+ "id": "package:version:create",
2017
2197
  "pluginAlias": "@salesforce/plugin-packaging",
2018
2198
  "pluginName": "@salesforce/plugin-packaging",
2019
2199
  "pluginType": "core",
2020
2200
  "strict": true,
2021
- "summary": "Display the ancestry tree for a 2GP managed package version.",
2201
+ "summary": "Create a package version in the Dev Hub org.",
2022
2202
  "enableJsonFlag": true,
2023
2203
  "requiresProject": true,
2024
2204
  "isESM": true,
@@ -2027,57 +2207,53 @@
2027
2207
  "commands",
2028
2208
  "package",
2029
2209
  "version",
2030
- "displayancestry.js"
2210
+ "create.js"
2031
2211
  ],
2032
2212
  "aliasPermutations": [
2033
- "force:package:version:displayancestry",
2034
- "package:force:version:displayancestry",
2035
- "package:version:force:displayancestry",
2036
- "package:version:displayancestry:force",
2037
- "force:version:package:displayancestry",
2038
- "version:force:package:displayancestry",
2039
- "version:package:force:displayancestry",
2040
- "version:package:displayancestry:force",
2041
- "force:version:displayancestry:package",
2042
- "version:force:displayancestry:package",
2043
- "version:displayancestry:force:package",
2044
- "version:displayancestry:package:force",
2045
- "force:package:displayancestry:version",
2046
- "package:force:displayancestry:version",
2047
- "package:displayancestry:force:version",
2048
- "package:displayancestry:version:force",
2049
- "force:displayancestry:package:version",
2050
- "displayancestry:force:package:version",
2051
- "displayancestry:package:force:version",
2052
- "displayancestry:package:version:force",
2053
- "force:displayancestry:version:package",
2054
- "displayancestry:force:version:package",
2055
- "displayancestry:version:force:package",
2056
- "displayancestry:version:package:force"
2213
+ "force:package:version:create",
2214
+ "package:force:version:create",
2215
+ "package:version:force:create",
2216
+ "package:version:create:force",
2217
+ "force:version:package:create",
2218
+ "version:force:package:create",
2219
+ "version:package:force:create",
2220
+ "version:package:create:force",
2221
+ "force:version:create:package",
2222
+ "version:force:create:package",
2223
+ "version:create:force:package",
2224
+ "version:create:package:force",
2225
+ "force:package:create:version",
2226
+ "package:force:create:version",
2227
+ "package:create:force:version",
2228
+ "package:create:version:force",
2229
+ "force:create:package:version",
2230
+ "create:force:package:version",
2231
+ "create:package:force:version",
2232
+ "create:package:version:force",
2233
+ "force:create:version:package",
2234
+ "create:force:version:package",
2235
+ "create:version:force:package",
2236
+ "create:version:package:force"
2057
2237
  ],
2058
2238
  "permutations": [
2059
- "package:version:displayancestry",
2060
- "version:package:displayancestry",
2061
- "version:displayancestry:package",
2062
- "package:displayancestry:version",
2063
- "displayancestry:package:version",
2064
- "displayancestry:version:package"
2239
+ "package:version:create",
2240
+ "version:package:create",
2241
+ "version:create:package",
2242
+ "package:create:version",
2243
+ "create:package:version",
2244
+ "create:version:package"
2065
2245
  ]
2066
2246
  },
2067
- "package:version:list": {
2247
+ "package:version:delete": {
2068
2248
  "aliases": [
2069
- "force:package:version:list"
2249
+ "force:package:version:delete"
2070
2250
  ],
2071
2251
  "args": {},
2072
2252
  "deprecateAliases": true,
2073
- "description": "Description",
2253
+ "description": "Specify the ID or alias of the package version you want to delete.",
2074
2254
  "examples": [
2075
- "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",
2076
- "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",
2077
- "List all released package versions in your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --released",
2078
- "List package versions that were modified today in your default Dev Hub org; show limited details about each one:\n<%= config.bin %> <%= command.id %> --concise --modified-last-days 0",
2079
- "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",
2080
- "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"
2255
+ "Delete a package version with the specified alias using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\"",
2256
+ "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"
2081
2257
  ],
2082
2258
  "flags": {
2083
2259
  "json": {
@@ -2131,139 +2307,98 @@
2131
2307
  "multiple": false,
2132
2308
  "type": "option"
2133
2309
  },
2134
- "created-last-days": {
2310
+ "no-prompt": {
2135
2311
  "aliases": [
2136
- "createdlastdays"
2312
+ "noprompt"
2137
2313
  ],
2138
- "char": "c",
2314
+ "char": "n",
2139
2315
  "deprecateAliases": true,
2140
- "name": "created-last-days",
2141
- "summary": "Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.",
2142
- "hasDynamicHelp": false,
2143
- "multiple": false,
2144
- "type": "option"
2145
- },
2146
- "concise": {
2147
- "name": "concise",
2148
- "summary": "Display limited package version details.",
2149
- "allowNo": false,
2150
- "type": "boolean"
2151
- },
2152
- "show-conversions-only": {
2153
- "name": "show-conversions-only",
2154
- "summary": "Filter the list output to display only converted package version.",
2316
+ "name": "no-prompt",
2317
+ "summary": "Don’t prompt before deleting the package version.",
2155
2318
  "allowNo": false,
2156
2319
  "type": "boolean"
2157
2320
  },
2158
- "modified-last-days": {
2159
- "aliases": [
2160
- "modifiedlastdays"
2161
- ],
2162
- "char": "m",
2163
- "deprecateAliases": true,
2164
- "name": "modified-last-days",
2165
- "summary": "Number of days since the items were modified, starting at 00:00:00 of first day to now. Use 0 for today.",
2166
- "hasDynamicHelp": false,
2167
- "multiple": false,
2168
- "type": "option"
2169
- },
2170
- "packages": {
2321
+ "package": {
2171
2322
  "char": "p",
2172
- "name": "packages",
2173
- "summary": "Comma-delimited list of packages (aliases or 0Ho IDs) to list.",
2174
- "hasDynamicHelp": false,
2175
- "multiple": false,
2176
- "type": "option"
2177
- },
2178
- "released": {
2179
- "char": "r",
2180
- "name": "released",
2181
- "summary": "Display released versions only (IsReleased=true).",
2182
- "allowNo": false,
2183
- "type": "boolean"
2184
- },
2185
- "order-by": {
2186
- "aliases": [
2187
- "orderby"
2188
- ],
2189
- "char": "o",
2190
- "deprecateAliases": true,
2191
- "name": "order-by",
2192
- "summary": "Package version fields used to order the list.",
2323
+ "name": "package",
2324
+ "required": true,
2325
+ "summary": "ID (starts with 04t) or alias of the package version to delete.",
2193
2326
  "hasDynamicHelp": false,
2194
2327
  "multiple": false,
2195
2328
  "type": "option"
2196
2329
  },
2197
- "verbose": {
2198
- "name": "verbose",
2199
- "summary": "Display extended package version details.",
2330
+ "undelete": {
2331
+ "hidden": true,
2332
+ "name": "undelete",
2333
+ "summary": "Undelete a deleted package version.",
2200
2334
  "allowNo": false,
2201
2335
  "type": "boolean"
2202
2336
  }
2203
2337
  },
2204
2338
  "hasDynamicHelp": true,
2205
2339
  "hiddenAliases": [],
2206
- "id": "package:version:list",
2340
+ "id": "package:version:delete",
2207
2341
  "pluginAlias": "@salesforce/plugin-packaging",
2208
2342
  "pluginName": "@salesforce/plugin-packaging",
2209
2343
  "pluginType": "core",
2210
2344
  "strict": true,
2211
- "summary": "List all package versions in the Dev Hub org.",
2345
+ "summary": "Delete a package version.",
2212
2346
  "enableJsonFlag": true,
2347
+ "requiresProject": true,
2213
2348
  "isESM": true,
2214
2349
  "relativePath": [
2215
2350
  "lib",
2216
2351
  "commands",
2217
2352
  "package",
2218
2353
  "version",
2219
- "list.js"
2354
+ "delete.js"
2220
2355
  ],
2221
2356
  "aliasPermutations": [
2222
- "force:package:version:list",
2223
- "package:force:version:list",
2224
- "package:version:force:list",
2225
- "package:version:list:force",
2226
- "force:version:package:list",
2227
- "version:force:package:list",
2228
- "version:package:force:list",
2229
- "version:package:list:force",
2230
- "force:version:list:package",
2231
- "version:force:list:package",
2232
- "version:list:force:package",
2233
- "version:list:package:force",
2234
- "force:package:list:version",
2235
- "package:force:list:version",
2236
- "package:list:force:version",
2237
- "package:list:version:force",
2238
- "force:list:package:version",
2239
- "list:force:package:version",
2240
- "list:package:force:version",
2241
- "list:package:version:force",
2242
- "force:list:version:package",
2243
- "list:force:version:package",
2244
- "list:version:force:package",
2245
- "list:version:package:force"
2357
+ "force:package:version:delete",
2358
+ "package:force:version:delete",
2359
+ "package:version:force:delete",
2360
+ "package:version:delete:force",
2361
+ "force:version:package:delete",
2362
+ "version:force:package:delete",
2363
+ "version:package:force:delete",
2364
+ "version:package:delete:force",
2365
+ "force:version:delete:package",
2366
+ "version:force:delete:package",
2367
+ "version:delete:force:package",
2368
+ "version:delete:package:force",
2369
+ "force:package:delete:version",
2370
+ "package:force:delete:version",
2371
+ "package:delete:force:version",
2372
+ "package:delete:version:force",
2373
+ "force:delete:package:version",
2374
+ "delete:force:package:version",
2375
+ "delete:package:force:version",
2376
+ "delete:package:version:force",
2377
+ "force:delete:version:package",
2378
+ "delete:force:version:package",
2379
+ "delete:version:force:package",
2380
+ "delete:version:package:force"
2246
2381
  ],
2247
2382
  "permutations": [
2248
- "package:version:list",
2249
- "version:package:list",
2250
- "version:list:package",
2251
- "package:list:version",
2252
- "list:package:version",
2253
- "list:version:package"
2383
+ "package:version:delete",
2384
+ "version:package:delete",
2385
+ "version:delete:package",
2386
+ "package:delete:version",
2387
+ "delete:package:version",
2388
+ "delete:version:package"
2254
2389
  ]
2255
2390
  },
2256
- "package:version:promote": {
2391
+ "package:version:displayancestry": {
2257
2392
  "aliases": [
2258
- "force:package:version:promote"
2393
+ "force:package:version:displayancestry"
2259
2394
  ],
2260
2395
  "args": {},
2261
2396
  "deprecateAliases": true,
2262
- "description": "Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.",
2263
2397
  "examples": [
2264
- "Promote the package version with the specified ID to released; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
2265
- "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",
2266
- "Promote the package version with an alias that has spaces to released:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\""
2398
+ "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",
2399
+ "Similar to previous example, but display the output in DOT code:\n<%= config.bin %> <%= command.id %> --package package_version_alias --dot-code",
2400
+ "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",
2401
+ "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..."
2267
2402
  ],
2268
2403
  "flags": {
2269
2404
  "json": {
@@ -2319,33 +2454,40 @@
2319
2454
  },
2320
2455
  "package": {
2321
2456
  "char": "p",
2457
+ "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.",
2322
2458
  "name": "package",
2323
2459
  "required": true,
2324
- "summary": "ID (starts with 04t) or alias of the package version to promote.",
2460
+ "summary": "ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.",
2325
2461
  "hasDynamicHelp": false,
2326
2462
  "multiple": false,
2327
2463
  "type": "option"
2328
2464
  },
2329
- "no-prompt": {
2465
+ "dot-code": {
2330
2466
  "aliases": [
2331
- "noprompt"
2467
+ "dotcode"
2332
2468
  ],
2333
- "char": "n",
2334
2469
  "deprecateAliases": true,
2335
- "name": "no-prompt",
2336
- "summary": "Don't prompt to confirm setting the package version as released.",
2470
+ "description": "You can use the DOT code output in graph visualization software to create tree visualizations.",
2471
+ "name": "dot-code",
2472
+ "summary": "Display the ancestry tree in DOT code.",
2473
+ "allowNo": false,
2474
+ "type": "boolean"
2475
+ },
2476
+ "verbose": {
2477
+ "name": "verbose",
2478
+ "summary": "Display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.",
2337
2479
  "allowNo": false,
2338
2480
  "type": "boolean"
2339
2481
  }
2340
2482
  },
2341
2483
  "hasDynamicHelp": true,
2342
2484
  "hiddenAliases": [],
2343
- "id": "package:version:promote",
2485
+ "id": "package:version:displayancestry",
2344
2486
  "pluginAlias": "@salesforce/plugin-packaging",
2345
2487
  "pluginName": "@salesforce/plugin-packaging",
2346
2488
  "pluginType": "core",
2347
2489
  "strict": true,
2348
- "summary": "Promote a package version to released.",
2490
+ "summary": "Display the ancestry tree for a 2GP managed package version.",
2349
2491
  "enableJsonFlag": true,
2350
2492
  "requiresProject": true,
2351
2493
  "isESM": true,
@@ -2354,53 +2496,57 @@
2354
2496
  "commands",
2355
2497
  "package",
2356
2498
  "version",
2357
- "promote.js"
2499
+ "displayancestry.js"
2358
2500
  ],
2359
2501
  "aliasPermutations": [
2360
- "force:package:version:promote",
2361
- "package:force:version:promote",
2362
- "package:version:force:promote",
2363
- "package:version:promote:force",
2364
- "force:version:package:promote",
2365
- "version:force:package:promote",
2366
- "version:package:force:promote",
2367
- "version:package:promote:force",
2368
- "force:version:promote:package",
2369
- "version:force:promote:package",
2370
- "version:promote:force:package",
2371
- "version:promote:package:force",
2372
- "force:package:promote:version",
2373
- "package:force:promote:version",
2374
- "package:promote:force:version",
2375
- "package:promote:version:force",
2376
- "force:promote:package:version",
2377
- "promote:force:package:version",
2378
- "promote:package:force:version",
2379
- "promote:package:version:force",
2380
- "force:promote:version:package",
2381
- "promote:force:version:package",
2382
- "promote:version:force:package",
2383
- "promote:version:package:force"
2502
+ "force:package:version:displayancestry",
2503
+ "package:force:version:displayancestry",
2504
+ "package:version:force:displayancestry",
2505
+ "package:version:displayancestry:force",
2506
+ "force:version:package:displayancestry",
2507
+ "version:force:package:displayancestry",
2508
+ "version:package:force:displayancestry",
2509
+ "version:package:displayancestry:force",
2510
+ "force:version:displayancestry:package",
2511
+ "version:force:displayancestry:package",
2512
+ "version:displayancestry:force:package",
2513
+ "version:displayancestry:package:force",
2514
+ "force:package:displayancestry:version",
2515
+ "package:force:displayancestry:version",
2516
+ "package:displayancestry:force:version",
2517
+ "package:displayancestry:version:force",
2518
+ "force:displayancestry:package:version",
2519
+ "displayancestry:force:package:version",
2520
+ "displayancestry:package:force:version",
2521
+ "displayancestry:package:version:force",
2522
+ "force:displayancestry:version:package",
2523
+ "displayancestry:force:version:package",
2524
+ "displayancestry:version:force:package",
2525
+ "displayancestry:version:package:force"
2384
2526
  ],
2385
2527
  "permutations": [
2386
- "package:version:promote",
2387
- "version:package:promote",
2388
- "version:promote:package",
2389
- "package:promote:version",
2390
- "promote:package:version",
2391
- "promote:version:package"
2528
+ "package:version:displayancestry",
2529
+ "version:package:displayancestry",
2530
+ "version:displayancestry:package",
2531
+ "package:displayancestry:version",
2532
+ "displayancestry:package:version",
2533
+ "displayancestry:version:package"
2392
2534
  ]
2393
2535
  },
2394
- "package:version:report": {
2536
+ "package:version:list": {
2395
2537
  "aliases": [
2396
- "force:package:version:report"
2538
+ "force:package:version:list"
2397
2539
  ],
2398
2540
  "args": {},
2399
2541
  "deprecateAliases": true,
2400
- "description": "To update package version values, run \"<%= config.bin %> package version update\".",
2542
+ "description": "Description",
2401
2543
  "examples": [
2402
- "Retrieve details about the package version with the specified ID from your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
2403
- "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"
2544
+ "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",
2545
+ "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",
2546
+ "List all released package versions in your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --released",
2547
+ "List package versions that were modified today in your default Dev Hub org; show limited details about each one:\n<%= config.bin %> <%= command.id %> --concise --modified-last-days 0",
2548
+ "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",
2549
+ "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"
2404
2550
  ],
2405
2551
  "flags": {
2406
2552
  "json": {
@@ -2454,11 +2600,65 @@
2454
2600
  "multiple": false,
2455
2601
  "type": "option"
2456
2602
  },
2457
- "package": {
2603
+ "created-last-days": {
2604
+ "aliases": [
2605
+ "createdlastdays"
2606
+ ],
2607
+ "char": "c",
2608
+ "deprecateAliases": true,
2609
+ "name": "created-last-days",
2610
+ "summary": "Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.",
2611
+ "hasDynamicHelp": false,
2612
+ "multiple": false,
2613
+ "type": "option"
2614
+ },
2615
+ "concise": {
2616
+ "name": "concise",
2617
+ "summary": "Display limited package version details.",
2618
+ "allowNo": false,
2619
+ "type": "boolean"
2620
+ },
2621
+ "show-conversions-only": {
2622
+ "name": "show-conversions-only",
2623
+ "summary": "Filter the list output to display only converted package version.",
2624
+ "allowNo": false,
2625
+ "type": "boolean"
2626
+ },
2627
+ "modified-last-days": {
2628
+ "aliases": [
2629
+ "modifiedlastdays"
2630
+ ],
2631
+ "char": "m",
2632
+ "deprecateAliases": true,
2633
+ "name": "modified-last-days",
2634
+ "summary": "Number of days since the items were modified, starting at 00:00:00 of first day to now. Use 0 for today.",
2635
+ "hasDynamicHelp": false,
2636
+ "multiple": false,
2637
+ "type": "option"
2638
+ },
2639
+ "packages": {
2458
2640
  "char": "p",
2459
- "name": "package",
2460
- "required": true,
2461
- "summary": "ID (starts with 04t) or alias of the package to retrieve details for.",
2641
+ "name": "packages",
2642
+ "summary": "Comma-delimited list of packages (aliases or 0Ho IDs) to list.",
2643
+ "hasDynamicHelp": false,
2644
+ "multiple": false,
2645
+ "type": "option"
2646
+ },
2647
+ "released": {
2648
+ "char": "r",
2649
+ "name": "released",
2650
+ "summary": "Display released versions only (IsReleased=true).",
2651
+ "allowNo": false,
2652
+ "type": "boolean"
2653
+ },
2654
+ "order-by": {
2655
+ "aliases": [
2656
+ "orderby"
2657
+ ],
2658
+ "char": "o",
2659
+ "deprecateAliases": true,
2660
+ "name": "order-by",
2661
+ "summary": "Package version fields used to order the list.",
2462
2662
  "hasDynamicHelp": false,
2463
2663
  "multiple": false,
2464
2664
  "type": "option"
@@ -2472,63 +2672,67 @@
2472
2672
  },
2473
2673
  "hasDynamicHelp": true,
2474
2674
  "hiddenAliases": [],
2475
- "id": "package:version:report",
2675
+ "id": "package:version:list",
2476
2676
  "pluginAlias": "@salesforce/plugin-packaging",
2477
2677
  "pluginName": "@salesforce/plugin-packaging",
2478
2678
  "pluginType": "core",
2479
2679
  "strict": true,
2480
- "summary": "Retrieve details about a package version in the Dev Hub org.",
2680
+ "summary": "List all package versions in the Dev Hub org.",
2481
2681
  "enableJsonFlag": true,
2482
- "requiresProject": true,
2483
2682
  "isESM": true,
2484
2683
  "relativePath": [
2485
2684
  "lib",
2486
2685
  "commands",
2487
2686
  "package",
2488
2687
  "version",
2489
- "report.js"
2688
+ "list.js"
2490
2689
  ],
2491
2690
  "aliasPermutations": [
2492
- "force:package:version:report",
2493
- "package:force:version:report",
2494
- "package:version:force:report",
2495
- "package:version:report:force",
2496
- "force:version:package:report",
2497
- "version:force:package:report",
2498
- "version:package:force:report",
2499
- "version:package:report:force",
2500
- "force:version:report:package",
2501
- "version:force:report:package",
2502
- "version:report:force:package",
2503
- "version:report:package:force",
2504
- "force:package:report:version",
2505
- "package:force:report:version",
2506
- "package:report:force:version",
2507
- "package:report:version:force",
2508
- "force:report:package:version",
2509
- "report:force:package:version",
2510
- "report:package:force:version",
2511
- "report:package:version:force",
2512
- "force:report:version:package",
2513
- "report:force:version:package",
2514
- "report:version:force:package",
2515
- "report:version:package:force"
2691
+ "force:package:version:list",
2692
+ "package:force:version:list",
2693
+ "package:version:force:list",
2694
+ "package:version:list:force",
2695
+ "force:version:package:list",
2696
+ "version:force:package:list",
2697
+ "version:package:force:list",
2698
+ "version:package:list:force",
2699
+ "force:version:list:package",
2700
+ "version:force:list:package",
2701
+ "version:list:force:package",
2702
+ "version:list:package:force",
2703
+ "force:package:list:version",
2704
+ "package:force:list:version",
2705
+ "package:list:force:version",
2706
+ "package:list:version:force",
2707
+ "force:list:package:version",
2708
+ "list:force:package:version",
2709
+ "list:package:force:version",
2710
+ "list:package:version:force",
2711
+ "force:list:version:package",
2712
+ "list:force:version:package",
2713
+ "list:version:force:package",
2714
+ "list:version:package:force"
2516
2715
  ],
2517
2716
  "permutations": [
2518
- "package:version:report",
2519
- "version:package:report",
2520
- "version:report:package",
2521
- "package:report:version",
2522
- "report:package:version",
2523
- "report:version:package"
2717
+ "package:version:list",
2718
+ "version:package:list",
2719
+ "version:list:package",
2720
+ "package:list:version",
2721
+ "list:package:version",
2722
+ "list:version:package"
2524
2723
  ]
2525
2724
  },
2526
- "package:version:retrieve": {
2527
- "aliases": [],
2725
+ "package:version:promote": {
2726
+ "aliases": [
2727
+ "force:package:version:promote"
2728
+ ],
2528
2729
  "args": {},
2529
- "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.",
2730
+ "deprecateAliases": true,
2731
+ "description": "Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.",
2530
2732
  "examples": [
2531
- "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."
2733
+ "Promote the package version with the specified ID to released; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
2734
+ "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",
2735
+ "Promote the package version with an alias that has spaces to released:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\""
2532
2736
  ],
2533
2737
  "flags": {
2534
2738
  "json": {
@@ -2556,29 +2760,29 @@
2556
2760
  "multiple": false,
2557
2761
  "type": "option"
2558
2762
  },
2559
- "api-version": {
2763
+ "target-dev-hub": {
2560
2764
  "aliases": [
2561
- "apiversion"
2765
+ "targetdevhubusername",
2766
+ "target-hub-org"
2562
2767
  ],
2768
+ "char": "v",
2563
2769
  "deprecateAliases": true,
2564
- "description": "Override the api version used for api requests made by this command",
2565
- "name": "api-version",
2566
- "hasDynamicHelp": false,
2770
+ "name": "target-dev-hub",
2771
+ "noCacheDefault": true,
2772
+ "required": true,
2773
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2774
+ "hasDynamicHelp": true,
2567
2775
  "multiple": false,
2568
2776
  "type": "option"
2569
2777
  },
2570
- "target-org": {
2778
+ "api-version": {
2571
2779
  "aliases": [
2572
- "targetusername",
2573
- "u"
2780
+ "apiversion"
2574
2781
  ],
2575
- "char": "o",
2576
2782
  "deprecateAliases": true,
2577
- "name": "target-org",
2578
- "noCacheDefault": true,
2579
- "required": true,
2580
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2581
- "hasDynamicHelp": true,
2783
+ "description": "Override the api version used for api requests made by this command",
2784
+ "name": "api-version",
2785
+ "hasDynamicHelp": false,
2582
2786
  "multiple": false,
2583
2787
  "type": "option"
2584
2788
  },
@@ -2586,30 +2790,31 @@
2586
2790
  "char": "p",
2587
2791
  "name": "package",
2588
2792
  "required": true,
2589
- "summary": "Subscriber package version ID (starts with 04t).",
2793
+ "summary": "ID (starts with 04t) or alias of the package version to promote.",
2590
2794
  "hasDynamicHelp": false,
2591
2795
  "multiple": false,
2592
2796
  "type": "option"
2593
2797
  },
2594
- "output-dir": {
2595
- "char": "d",
2596
- "name": "output-dir",
2597
- "summary": "Path within your Salesforce DX project directory in which to download the metadata. This directory must be empty.",
2598
- "default": "force-app",
2599
- "hasDynamicHelp": false,
2600
- "multiple": false,
2601
- "type": "option"
2798
+ "no-prompt": {
2799
+ "aliases": [
2800
+ "noprompt"
2801
+ ],
2802
+ "char": "n",
2803
+ "deprecateAliases": true,
2804
+ "name": "no-prompt",
2805
+ "summary": "Don't prompt to confirm setting the package version as released.",
2806
+ "allowNo": false,
2807
+ "type": "boolean"
2602
2808
  }
2603
2809
  },
2604
2810
  "hasDynamicHelp": true,
2605
- "hidden": true,
2606
2811
  "hiddenAliases": [],
2607
- "id": "package:version:retrieve",
2812
+ "id": "package:version:promote",
2608
2813
  "pluginAlias": "@salesforce/plugin-packaging",
2609
2814
  "pluginName": "@salesforce/plugin-packaging",
2610
2815
  "pluginType": "core",
2611
2816
  "strict": true,
2612
- "summary": "Retrieve package metadata for a specified package version.",
2817
+ "summary": "Promote a package version to released.",
2613
2818
  "enableJsonFlag": true,
2614
2819
  "requiresProject": true,
2615
2820
  "isESM": true,
@@ -2618,29 +2823,53 @@
2618
2823
  "commands",
2619
2824
  "package",
2620
2825
  "version",
2621
- "retrieve.js"
2826
+ "promote.js"
2827
+ ],
2828
+ "aliasPermutations": [
2829
+ "force:package:version:promote",
2830
+ "package:force:version:promote",
2831
+ "package:version:force:promote",
2832
+ "package:version:promote:force",
2833
+ "force:version:package:promote",
2834
+ "version:force:package:promote",
2835
+ "version:package:force:promote",
2836
+ "version:package:promote:force",
2837
+ "force:version:promote:package",
2838
+ "version:force:promote:package",
2839
+ "version:promote:force:package",
2840
+ "version:promote:package:force",
2841
+ "force:package:promote:version",
2842
+ "package:force:promote:version",
2843
+ "package:promote:force:version",
2844
+ "package:promote:version:force",
2845
+ "force:promote:package:version",
2846
+ "promote:force:package:version",
2847
+ "promote:package:force:version",
2848
+ "promote:package:version:force",
2849
+ "force:promote:version:package",
2850
+ "promote:force:version:package",
2851
+ "promote:version:force:package",
2852
+ "promote:version:package:force"
2622
2853
  ],
2623
- "aliasPermutations": [],
2624
2854
  "permutations": [
2625
- "package:version:retrieve",
2626
- "version:package:retrieve",
2627
- "version:retrieve:package",
2628
- "package:retrieve:version",
2629
- "retrieve:package:version",
2630
- "retrieve:version:package"
2855
+ "package:version:promote",
2856
+ "version:package:promote",
2857
+ "version:promote:package",
2858
+ "package:promote:version",
2859
+ "promote:package:version",
2860
+ "promote:version:package"
2631
2861
  ]
2632
2862
  },
2633
- "package:version:update": {
2863
+ "package:version:report": {
2634
2864
  "aliases": [
2635
- "force:package:version:update"
2865
+ "force:package:version:report"
2636
2866
  ],
2637
2867
  "args": {},
2638
2868
  "deprecateAliases": true,
2639
- "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\".",
2869
+ "description": "To update package version values, run \"<%= config.bin %> package version update\".",
2640
2870
  "examples": [
2641
- "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",
2642
- "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",
2643
- "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\""
2871
+ "Retrieve details about the package version with the specified ID from your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 04t...",
2872
+ "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"
2644
2873
  ],
2645
2874
  "flags": {
2646
2875
  "json": {
@@ -2698,72 +2927,26 @@
2698
2927
  "char": "p",
2699
2928
  "name": "package",
2700
2929
  "required": true,
2701
- "summary": "ID (starts with 04t) or alias of the package to update a version of.",
2702
- "hasDynamicHelp": false,
2703
- "multiple": false,
2704
- "type": "option"
2705
- },
2706
- "version-name": {
2707
- "aliases": [
2708
- "versionname"
2709
- ],
2710
- "char": "a",
2711
- "deprecateAliases": true,
2712
- "name": "version-name",
2713
- "summary": "New package version name.",
2714
- "hasDynamicHelp": false,
2715
- "multiple": false,
2716
- "type": "option"
2717
- },
2718
- "version-description": {
2719
- "aliases": [
2720
- "versiondescription"
2721
- ],
2722
- "char": "e",
2723
- "deprecateAliases": true,
2724
- "name": "version-description",
2725
- "summary": "New package version description.",
2726
- "hasDynamicHelp": false,
2727
- "multiple": false,
2728
- "type": "option"
2729
- },
2730
- "branch": {
2731
- "char": "b",
2732
- "name": "branch",
2733
- "summary": "New package version branch.",
2734
- "hasDynamicHelp": false,
2735
- "multiple": false,
2736
- "type": "option"
2737
- },
2738
- "tag": {
2739
- "char": "t",
2740
- "name": "tag",
2741
- "summary": "New package version tag.",
2930
+ "summary": "ID (starts with 04t) or alias of the package to retrieve details for.",
2742
2931
  "hasDynamicHelp": false,
2743
2932
  "multiple": false,
2744
2933
  "type": "option"
2745
2934
  },
2746
- "installation-key": {
2747
- "aliases": [
2748
- "installationkey"
2749
- ],
2750
- "char": "k",
2751
- "deprecateAliases": true,
2752
- "name": "installation-key",
2753
- "summary": "New installation key for key-protected package (default: null)",
2754
- "hasDynamicHelp": false,
2755
- "multiple": false,
2756
- "type": "option"
2935
+ "verbose": {
2936
+ "name": "verbose",
2937
+ "summary": "Display extended package version details.",
2938
+ "allowNo": false,
2939
+ "type": "boolean"
2757
2940
  }
2758
2941
  },
2759
2942
  "hasDynamicHelp": true,
2760
2943
  "hiddenAliases": [],
2761
- "id": "package:version:update",
2944
+ "id": "package:version:report",
2762
2945
  "pluginAlias": "@salesforce/plugin-packaging",
2763
2946
  "pluginName": "@salesforce/plugin-packaging",
2764
2947
  "pluginType": "core",
2765
2948
  "strict": true,
2766
- "summary": "Update a package version.",
2949
+ "summary": "Retrieve details about a package version in the Dev Hub org.",
2767
2950
  "enableJsonFlag": true,
2768
2951
  "requiresProject": true,
2769
2952
  "isESM": true,
@@ -2772,53 +2955,49 @@
2772
2955
  "commands",
2773
2956
  "package",
2774
2957
  "version",
2775
- "update.js"
2958
+ "report.js"
2776
2959
  ],
2777
2960
  "aliasPermutations": [
2778
- "force:package:version:update",
2779
- "package:force:version:update",
2780
- "package:version:force:update",
2781
- "package:version:update:force",
2782
- "force:version:package:update",
2783
- "version:force:package:update",
2784
- "version:package:force:update",
2785
- "version:package:update:force",
2786
- "force:version:update:package",
2787
- "version:force:update:package",
2788
- "version:update:force:package",
2789
- "version:update:package:force",
2790
- "force:package:update:version",
2791
- "package:force:update:version",
2792
- "package:update:force:version",
2793
- "package:update:version:force",
2794
- "force:update:package:version",
2795
- "update:force:package:version",
2796
- "update:package:force:version",
2797
- "update:package:version:force",
2798
- "force:update:version:package",
2799
- "update:force:version:package",
2800
- "update:version:force:package",
2801
- "update:version:package:force"
2961
+ "force:package:version:report",
2962
+ "package:force:version:report",
2963
+ "package:version:force:report",
2964
+ "package:version:report:force",
2965
+ "force:version:package:report",
2966
+ "version:force:package:report",
2967
+ "version:package:force:report",
2968
+ "version:package:report:force",
2969
+ "force:version:report:package",
2970
+ "version:force:report:package",
2971
+ "version:report:force:package",
2972
+ "version:report:package:force",
2973
+ "force:package:report:version",
2974
+ "package:force:report:version",
2975
+ "package:report:force:version",
2976
+ "package:report:version:force",
2977
+ "force:report:package:version",
2978
+ "report:force:package:version",
2979
+ "report:package:force:version",
2980
+ "report:package:version:force",
2981
+ "force:report:version:package",
2982
+ "report:force:version:package",
2983
+ "report:version:force:package",
2984
+ "report:version:package:force"
2802
2985
  ],
2803
2986
  "permutations": [
2804
- "package:version:update",
2805
- "version:package:update",
2806
- "version:update:package",
2807
- "package:update:version",
2808
- "update:package:version",
2809
- "update:version:package"
2987
+ "package:version:report",
2988
+ "version:package:report",
2989
+ "version:report:package",
2990
+ "package:report:version",
2991
+ "report:package:version",
2992
+ "report:version:package"
2810
2993
  ]
2811
2994
  },
2812
- "package1:version:create": {
2813
- "aliases": [
2814
- "force:package1:version:create"
2815
- ],
2995
+ "package:version:retrieve": {
2996
+ "aliases": [],
2816
2997
  "args": {},
2817
- "deprecateAliases": true,
2818
- "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.",
2998
+ "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.",
2819
2999
  "examples": [
2820
- "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",
2821
- "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"
3000
+ "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."
2822
3001
  ],
2823
3002
  "flags": {
2824
3003
  "json": {
@@ -2846,21 +3025,6 @@
2846
3025
  "multiple": false,
2847
3026
  "type": "option"
2848
3027
  },
2849
- "target-org": {
2850
- "aliases": [
2851
- "targetusername",
2852
- "u"
2853
- ],
2854
- "char": "o",
2855
- "deprecateAliases": true,
2856
- "name": "target-org",
2857
- "noCacheDefault": true,
2858
- "required": true,
2859
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2860
- "hasDynamicHelp": true,
2861
- "multiple": false,
2862
- "type": "option"
2863
- },
2864
3028
  "api-version": {
2865
3029
  "aliases": [
2866
3030
  "apiversion"
@@ -2872,165 +3036,80 @@
2872
3036
  "multiple": false,
2873
3037
  "type": "option"
2874
3038
  },
2875
- "package-id": {
3039
+ "target-org": {
2876
3040
  "aliases": [
2877
- "packageid"
3041
+ "targetusername",
3042
+ "u"
2878
3043
  ],
2879
- "char": "i",
3044
+ "char": "o",
2880
3045
  "deprecateAliases": true,
2881
- "name": "package-id",
3046
+ "name": "target-org",
3047
+ "noCacheDefault": true,
2882
3048
  "required": true,
2883
- "summary": "ID of the metadata package (starts with 033) of which you’re creating a new version.",
2884
- "hasDynamicHelp": false,
3049
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3050
+ "hasDynamicHelp": true,
2885
3051
  "multiple": false,
2886
3052
  "type": "option"
2887
3053
  },
2888
- "name": {
2889
- "char": "n",
2890
- "name": "name",
3054
+ "package": {
3055
+ "char": "p",
3056
+ "name": "package",
2891
3057
  "required": true,
2892
- "summary": "Package version name.",
3058
+ "summary": "Subscriber package version ID (starts with 04t).",
2893
3059
  "hasDynamicHelp": false,
2894
3060
  "multiple": false,
2895
3061
  "type": "option"
2896
3062
  },
2897
- "description": {
3063
+ "output-dir": {
2898
3064
  "char": "d",
2899
- "name": "description",
2900
- "summary": "Package version description.",
2901
- "hasDynamicHelp": false,
2902
- "multiple": false,
2903
- "type": "option"
2904
- },
2905
- "version": {
2906
- "char": "v",
2907
- "name": "version",
2908
- "summary": "Package version in major.minor format, for example, 3.2.",
2909
- "hasDynamicHelp": false,
2910
- "multiple": false,
2911
- "type": "option"
2912
- },
2913
- "managed-released": {
2914
- "aliases": [
2915
- "managedrelease"
2916
- ],
2917
- "char": "m",
2918
- "deprecateAliases": true,
2919
- "description": "To create a beta version, don’t include this parameter.",
2920
- "name": "managed-released",
2921
- "summary": "Create a managed package version.",
2922
- "allowNo": false,
2923
- "type": "boolean"
2924
- },
2925
- "release-notes-url": {
2926
- "aliases": [
2927
- "releasenotesurl"
2928
- ],
2929
- "char": "r",
2930
- "deprecateAliases": true,
2931
- "description": "This link is displayed in the package installation UI to provide release notes for this package version to subscribers.",
2932
- "name": "release-notes-url",
2933
- "summary": "Release notes URL.",
2934
- "hasDynamicHelp": false,
2935
- "multiple": false,
2936
- "type": "option"
2937
- },
2938
- "post-install-url": {
2939
- "aliases": [
2940
- "postinstallurl"
2941
- ],
2942
- "char": "p",
2943
- "deprecateAliases": true,
2944
- "description": "The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.",
2945
- "name": "post-install-url",
2946
- "summary": "Post install URL.",
2947
- "hasDynamicHelp": false,
2948
- "multiple": false,
2949
- "type": "option"
2950
- },
2951
- "installation-key": {
2952
- "aliases": [
2953
- "installationkey"
2954
- ],
2955
- "char": "k",
2956
- "deprecateAliases": true,
2957
- "name": "installation-key",
2958
- "summary": "Installation key for key-protected package (default: null).",
3065
+ "name": "output-dir",
3066
+ "summary": "Path within your Salesforce DX project directory in which to download the metadata. This directory must be empty.",
3067
+ "default": "force-app",
2959
3068
  "hasDynamicHelp": false,
2960
3069
  "multiple": false,
2961
3070
  "type": "option"
2962
- },
2963
- "wait": {
2964
- "char": "w",
2965
- "name": "wait",
2966
- "summary": "Minutes to wait for the package version to be created (default: 2 minutes).",
2967
- "hasDynamicHelp": true,
2968
- "multiple": false,
2969
- "type": "option"
2970
3071
  }
2971
3072
  },
2972
3073
  "hasDynamicHelp": true,
3074
+ "hidden": true,
2973
3075
  "hiddenAliases": [],
2974
- "id": "package1:version:create",
3076
+ "id": "package:version:retrieve",
2975
3077
  "pluginAlias": "@salesforce/plugin-packaging",
2976
3078
  "pluginName": "@salesforce/plugin-packaging",
2977
3079
  "pluginType": "core",
2978
3080
  "strict": true,
2979
- "summary": "Create a first-generation package version in the release org.",
3081
+ "summary": "Retrieve package metadata for a specified package version.",
2980
3082
  "enableJsonFlag": true,
2981
3083
  "requiresProject": true,
2982
3084
  "isESM": true,
2983
3085
  "relativePath": [
2984
3086
  "lib",
2985
3087
  "commands",
2986
- "package1",
3088
+ "package",
2987
3089
  "version",
2988
- "create.js"
2989
- ],
2990
- "aliasPermutations": [
2991
- "force:package1:version:create",
2992
- "package1:force:version:create",
2993
- "package1:version:force:create",
2994
- "package1:version:create:force",
2995
- "force:version:package1:create",
2996
- "version:force:package1:create",
2997
- "version:package1:force:create",
2998
- "version:package1:create:force",
2999
- "force:version:create:package1",
3000
- "version:force:create:package1",
3001
- "version:create:force:package1",
3002
- "version:create:package1:force",
3003
- "force:package1:create:version",
3004
- "package1:force:create:version",
3005
- "package1:create:force:version",
3006
- "package1:create:version:force",
3007
- "force:create:package1:version",
3008
- "create:force:package1:version",
3009
- "create:package1:force:version",
3010
- "create:package1:version:force",
3011
- "force:create:version:package1",
3012
- "create:force:version:package1",
3013
- "create:version:force:package1",
3014
- "create:version:package1:force"
3090
+ "retrieve.js"
3015
3091
  ],
3092
+ "aliasPermutations": [],
3016
3093
  "permutations": [
3017
- "package1:version:create",
3018
- "version:package1:create",
3019
- "version:create:package1",
3020
- "package1:create:version",
3021
- "create:package1:version",
3022
- "create:version:package1"
3094
+ "package:version:retrieve",
3095
+ "version:package:retrieve",
3096
+ "version:retrieve:package",
3097
+ "package:retrieve:version",
3098
+ "retrieve:package:version",
3099
+ "retrieve:version:package"
3023
3100
  ]
3024
3101
  },
3025
- "package1:version:display": {
3102
+ "package:version:update": {
3026
3103
  "aliases": [
3027
- "force:package1:version:display"
3104
+ "force:package:version:update"
3028
3105
  ],
3029
3106
  "args": {},
3030
3107
  "deprecateAliases": true,
3108
+ "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\".",
3031
3109
  "examples": [
3032
- "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...",
3033
- "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com"
3110
+ "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",
3111
+ "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",
3112
+ "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\""
3034
3113
  ],
3035
3114
  "flags": {
3036
3115
  "json": {
@@ -3058,17 +3137,17 @@
3058
3137
  "multiple": false,
3059
3138
  "type": "option"
3060
3139
  },
3061
- "target-org": {
3140
+ "target-dev-hub": {
3062
3141
  "aliases": [
3063
- "targetusername",
3064
- "u"
3142
+ "targetdevhubusername",
3143
+ "target-hub-org"
3065
3144
  ],
3066
- "char": "o",
3145
+ "char": "v",
3067
3146
  "deprecateAliases": true,
3068
- "name": "target-org",
3147
+ "name": "target-dev-hub",
3069
3148
  "noCacheDefault": true,
3070
3149
  "required": true,
3071
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3150
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
3072
3151
  "hasDynamicHelp": true,
3073
3152
  "multiple": false,
3074
3153
  "type": "option"
@@ -3084,15 +3163,63 @@
3084
3163
  "multiple": false,
3085
3164
  "type": "option"
3086
3165
  },
3087
- "package-version-id": {
3166
+ "package": {
3167
+ "char": "p",
3168
+ "name": "package",
3169
+ "required": true,
3170
+ "summary": "ID (starts with 04t) or alias of the package to update a version of.",
3171
+ "hasDynamicHelp": false,
3172
+ "multiple": false,
3173
+ "type": "option"
3174
+ },
3175
+ "version-name": {
3088
3176
  "aliases": [
3089
- "packageversionid"
3177
+ "versionname"
3090
3178
  ],
3091
- "char": "i",
3179
+ "char": "a",
3092
3180
  "deprecateAliases": true,
3093
- "name": "package-version-id",
3094
- "required": true,
3095
- "summary": "ID (starts with 04t) of the metadata package version whose details you want to display.",
3181
+ "name": "version-name",
3182
+ "summary": "New package version name.",
3183
+ "hasDynamicHelp": false,
3184
+ "multiple": false,
3185
+ "type": "option"
3186
+ },
3187
+ "version-description": {
3188
+ "aliases": [
3189
+ "versiondescription"
3190
+ ],
3191
+ "char": "e",
3192
+ "deprecateAliases": true,
3193
+ "name": "version-description",
3194
+ "summary": "New package version description.",
3195
+ "hasDynamicHelp": false,
3196
+ "multiple": false,
3197
+ "type": "option"
3198
+ },
3199
+ "branch": {
3200
+ "char": "b",
3201
+ "name": "branch",
3202
+ "summary": "New package version branch.",
3203
+ "hasDynamicHelp": false,
3204
+ "multiple": false,
3205
+ "type": "option"
3206
+ },
3207
+ "tag": {
3208
+ "char": "t",
3209
+ "name": "tag",
3210
+ "summary": "New package version tag.",
3211
+ "hasDynamicHelp": false,
3212
+ "multiple": false,
3213
+ "type": "option"
3214
+ },
3215
+ "installation-key": {
3216
+ "aliases": [
3217
+ "installationkey"
3218
+ ],
3219
+ "char": "k",
3220
+ "deprecateAliases": true,
3221
+ "name": "installation-key",
3222
+ "summary": "New installation key for key-protected package (default: null)",
3096
3223
  "hasDynamicHelp": false,
3097
3224
  "multiple": false,
3098
3225
  "type": "option"
@@ -3100,65 +3227,66 @@
3100
3227
  },
3101
3228
  "hasDynamicHelp": true,
3102
3229
  "hiddenAliases": [],
3103
- "id": "package1:version:display",
3230
+ "id": "package:version:update",
3104
3231
  "pluginAlias": "@salesforce/plugin-packaging",
3105
3232
  "pluginName": "@salesforce/plugin-packaging",
3106
3233
  "pluginType": "core",
3107
3234
  "strict": true,
3108
- "summary": "Display details about a first-generation package version.",
3235
+ "summary": "Update a package version.",
3109
3236
  "enableJsonFlag": true,
3237
+ "requiresProject": true,
3110
3238
  "isESM": true,
3111
3239
  "relativePath": [
3112
3240
  "lib",
3113
3241
  "commands",
3114
- "package1",
3242
+ "package",
3115
3243
  "version",
3116
- "display.js"
3244
+ "update.js"
3117
3245
  ],
3118
3246
  "aliasPermutations": [
3119
- "force:package1:version:display",
3120
- "package1:force:version:display",
3121
- "package1:version:force:display",
3122
- "package1:version:display:force",
3123
- "force:version:package1:display",
3124
- "version:force:package1:display",
3125
- "version:package1:force:display",
3126
- "version:package1:display:force",
3127
- "force:version:display:package1",
3128
- "version:force:display:package1",
3129
- "version:display:force:package1",
3130
- "version:display:package1:force",
3131
- "force:package1:display:version",
3132
- "package1:force:display:version",
3133
- "package1:display:force:version",
3134
- "package1:display:version:force",
3135
- "force:display:package1:version",
3136
- "display:force:package1:version",
3137
- "display:package1:force:version",
3138
- "display:package1:version:force",
3139
- "force:display:version:package1",
3140
- "display:force:version:package1",
3141
- "display:version:force:package1",
3142
- "display:version:package1:force"
3247
+ "force:package:version:update",
3248
+ "package:force:version:update",
3249
+ "package:version:force:update",
3250
+ "package:version:update:force",
3251
+ "force:version:package:update",
3252
+ "version:force:package:update",
3253
+ "version:package:force:update",
3254
+ "version:package:update:force",
3255
+ "force:version:update:package",
3256
+ "version:force:update:package",
3257
+ "version:update:force:package",
3258
+ "version:update:package:force",
3259
+ "force:package:update:version",
3260
+ "package:force:update:version",
3261
+ "package:update:force:version",
3262
+ "package:update:version:force",
3263
+ "force:update:package:version",
3264
+ "update:force:package:version",
3265
+ "update:package:force:version",
3266
+ "update:package:version:force",
3267
+ "force:update:version:package",
3268
+ "update:force:version:package",
3269
+ "update:version:force:package",
3270
+ "update:version:package:force"
3143
3271
  ],
3144
3272
  "permutations": [
3145
- "package1:version:display",
3146
- "version:package1:display",
3147
- "version:display:package1",
3148
- "package1:display:version",
3149
- "display:package1:version",
3150
- "display:version:package1"
3273
+ "package:version:update",
3274
+ "version:package:update",
3275
+ "version:update:package",
3276
+ "package:update:version",
3277
+ "update:package:version",
3278
+ "update:version:package"
3151
3279
  ]
3152
3280
  },
3153
- "package1:version:list": {
3281
+ "package1:version:create:get": {
3154
3282
  "aliases": [
3155
- "force:package1:version:list"
3283
+ "force:package1:version:create:get"
3156
3284
  ],
3157
3285
  "args": {},
3158
3286
  "deprecateAliases": true,
3159
3287
  "examples": [
3160
- "List all first-generation package versions in your default org:\n<%= config.bin %> <%= command.id %>",
3161
- "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"
3288
+ "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...",
3289
+ "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com"
3162
3290
  ],
3163
3291
  "flags": {
3164
3292
  "json": {
@@ -3212,15 +3340,15 @@
3212
3340
  "multiple": false,
3213
3341
  "type": "option"
3214
3342
  },
3215
- "package-id": {
3343
+ "request-id": {
3216
3344
  "aliases": [
3217
- "packageid"
3345
+ "requestid"
3218
3346
  ],
3219
3347
  "char": "i",
3220
3348
  "deprecateAliases": true,
3221
- "description": "If not specified, shows all versions for all packages (managed and unmanaged) in the org.",
3222
- "name": "package-id",
3223
- "summary": "Metadata package ID (starts with 033) whose package versions you want to list.",
3349
+ "name": "request-id",
3350
+ "required": true,
3351
+ "summary": "ID of the PackageUploadRequest (starts with 0HD).",
3224
3352
  "hasDynamicHelp": false,
3225
3353
  "multiple": false,
3226
3354
  "type": "option"
@@ -3228,12 +3356,12 @@
3228
3356
  },
3229
3357
  "hasDynamicHelp": true,
3230
3358
  "hiddenAliases": [],
3231
- "id": "package1:version:list",
3359
+ "id": "package1:version:create:get",
3232
3360
  "pluginAlias": "@salesforce/plugin-packaging",
3233
3361
  "pluginName": "@salesforce/plugin-packaging",
3234
3362
  "pluginType": "core",
3235
3363
  "strict": true,
3236
- "summary": "List package versions for the specified first-generation package or for the org.",
3364
+ "summary": "Retrieve the status of a package version creation request.",
3237
3365
  "enableJsonFlag": true,
3238
3366
  "isESM": true,
3239
3367
  "relativePath": [
@@ -3241,41 +3369,156 @@
3241
3369
  "commands",
3242
3370
  "package1",
3243
3371
  "version",
3244
- "list.js"
3372
+ "create",
3373
+ "get.js"
3245
3374
  ],
3246
3375
  "aliasPermutations": [
3247
- "force:package1:version:list",
3248
- "package1:force:version:list",
3249
- "package1:version:force:list",
3250
- "package1:version:list:force",
3251
- "force:version:package1:list",
3252
- "version:force:package1:list",
3253
- "version:package1:force:list",
3254
- "version:package1:list:force",
3255
- "force:version:list:package1",
3256
- "version:force:list:package1",
3257
- "version:list:force:package1",
3258
- "version:list:package1:force",
3259
- "force:package1:list:version",
3260
- "package1:force:list:version",
3261
- "package1:list:force:version",
3262
- "package1:list:version:force",
3263
- "force:list:package1:version",
3264
- "list:force:package1:version",
3265
- "list:package1:force:version",
3266
- "list:package1:version:force",
3267
- "force:list:version:package1",
3268
- "list:force:version:package1",
3269
- "list:version:force:package1",
3270
- "list:version:package1:force"
3376
+ "force:package1:version:create:get",
3377
+ "package1:force:version:create:get",
3378
+ "package1:version:force:create:get",
3379
+ "package1:version:create:force:get",
3380
+ "package1:version:create:get:force",
3381
+ "force:version:package1:create:get",
3382
+ "version:force:package1:create:get",
3383
+ "version:package1:force:create:get",
3384
+ "version:package1:create:force:get",
3385
+ "version:package1:create:get:force",
3386
+ "force:version:create:package1:get",
3387
+ "version:force:create:package1:get",
3388
+ "version:create:force:package1:get",
3389
+ "version:create:package1:force:get",
3390
+ "version:create:package1:get:force",
3391
+ "force:version:create:get:package1",
3392
+ "version:force:create:get:package1",
3393
+ "version:create:force:get:package1",
3394
+ "version:create:get:force:package1",
3395
+ "version:create:get:package1:force",
3396
+ "force:package1:create:version:get",
3397
+ "package1:force:create:version:get",
3398
+ "package1:create:force:version:get",
3399
+ "package1:create:version:force:get",
3400
+ "package1:create:version:get:force",
3401
+ "force:create:package1:version:get",
3402
+ "create:force:package1:version:get",
3403
+ "create:package1:force:version:get",
3404
+ "create:package1:version:force:get",
3405
+ "create:package1:version:get:force",
3406
+ "force:create:version:package1:get",
3407
+ "create:force:version:package1:get",
3408
+ "create:version:force:package1:get",
3409
+ "create:version:package1:force:get",
3410
+ "create:version:package1:get:force",
3411
+ "force:create:version:get:package1",
3412
+ "create:force:version:get:package1",
3413
+ "create:version:force:get:package1",
3414
+ "create:version:get:force:package1",
3415
+ "create:version:get:package1:force",
3416
+ "force:package1:create:get:version",
3417
+ "package1:force:create:get:version",
3418
+ "package1:create:force:get:version",
3419
+ "package1:create:get:force:version",
3420
+ "package1:create:get:version:force",
3421
+ "force:create:package1:get:version",
3422
+ "create:force:package1:get:version",
3423
+ "create:package1:force:get:version",
3424
+ "create:package1:get:force:version",
3425
+ "create:package1:get:version:force",
3426
+ "force:create:get:package1:version",
3427
+ "create:force:get:package1:version",
3428
+ "create:get:force:package1:version",
3429
+ "create:get:package1:force:version",
3430
+ "create:get:package1:version:force",
3431
+ "force:create:get:version:package1",
3432
+ "create:force:get:version:package1",
3433
+ "create:get:force:version:package1",
3434
+ "create:get:version:force:package1",
3435
+ "create:get:version:package1:force",
3436
+ "force:package1:version:get:create",
3437
+ "package1:force:version:get:create",
3438
+ "package1:version:force:get:create",
3439
+ "package1:version:get:force:create",
3440
+ "package1:version:get:create:force",
3441
+ "force:version:package1:get:create",
3442
+ "version:force:package1:get:create",
3443
+ "version:package1:force:get:create",
3444
+ "version:package1:get:force:create",
3445
+ "version:package1:get:create:force",
3446
+ "force:version:get:package1:create",
3447
+ "version:force:get:package1:create",
3448
+ "version:get:force:package1:create",
3449
+ "version:get:package1:force:create",
3450
+ "version:get:package1:create:force",
3451
+ "force:version:get:create:package1",
3452
+ "version:force:get:create:package1",
3453
+ "version:get:force:create:package1",
3454
+ "version:get:create:force:package1",
3455
+ "version:get:create:package1:force",
3456
+ "force:package1:get:version:create",
3457
+ "package1:force:get:version:create",
3458
+ "package1:get:force:version:create",
3459
+ "package1:get:version:force:create",
3460
+ "package1:get:version:create:force",
3461
+ "force:get:package1:version:create",
3462
+ "get:force:package1:version:create",
3463
+ "get:package1:force:version:create",
3464
+ "get:package1:version:force:create",
3465
+ "get:package1:version:create:force",
3466
+ "force:get:version:package1:create",
3467
+ "get:force:version:package1:create",
3468
+ "get:version:force:package1:create",
3469
+ "get:version:package1:force:create",
3470
+ "get:version:package1:create:force",
3471
+ "force:get:version:create:package1",
3472
+ "get:force:version:create:package1",
3473
+ "get:version:force:create:package1",
3474
+ "get:version:create:force:package1",
3475
+ "get:version:create:package1:force",
3476
+ "force:package1:get:create:version",
3477
+ "package1:force:get:create:version",
3478
+ "package1:get:force:create:version",
3479
+ "package1:get:create:force:version",
3480
+ "package1:get:create:version:force",
3481
+ "force:get:package1:create:version",
3482
+ "get:force:package1:create:version",
3483
+ "get:package1:force:create:version",
3484
+ "get:package1:create:force:version",
3485
+ "get:package1:create:version:force",
3486
+ "force:get:create:package1:version",
3487
+ "get:force:create:package1:version",
3488
+ "get:create:force:package1:version",
3489
+ "get:create:package1:force:version",
3490
+ "get:create:package1:version:force",
3491
+ "force:get:create:version:package1",
3492
+ "get:force:create:version:package1",
3493
+ "get:create:force:version:package1",
3494
+ "get:create:version:force:package1",
3495
+ "get:create:version:package1:force"
3271
3496
  ],
3272
3497
  "permutations": [
3273
- "package1:version:list",
3274
- "version:package1:list",
3275
- "version:list:package1",
3276
- "package1:list:version",
3277
- "list:package1:version",
3278
- "list:version:package1"
3498
+ "package1:version:create:get",
3499
+ "version:package1:create:get",
3500
+ "version:create:package1:get",
3501
+ "version:create:get:package1",
3502
+ "package1:create:version:get",
3503
+ "create:package1:version:get",
3504
+ "create:version:package1:get",
3505
+ "create:version:get:package1",
3506
+ "package1:create:get:version",
3507
+ "create:package1:get:version",
3508
+ "create:get:package1:version",
3509
+ "create:get:version:package1",
3510
+ "package1:version:get:create",
3511
+ "version:package1:get:create",
3512
+ "version:get:package1:create",
3513
+ "version:get:create:package1",
3514
+ "package1:get:version:create",
3515
+ "get:package1:version:create",
3516
+ "get:version:package1:create",
3517
+ "get:version:create:package1",
3518
+ "package1:get:create:version",
3519
+ "get:package1:create:version",
3520
+ "get:create:package1:version",
3521
+ "get:create:version:package1"
3279
3522
  ]
3280
3523
  },
3281
3524
  "package:version:create:list": {
@@ -3793,250 +4036,7 @@
3793
4036
  "report:create:package:version",
3794
4037
  "report:create:version:package"
3795
4038
  ]
3796
- },
3797
- "package1:version:create:get": {
3798
- "aliases": [
3799
- "force:package1:version:create:get"
3800
- ],
3801
- "args": {},
3802
- "deprecateAliases": true,
3803
- "examples": [
3804
- "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...",
3805
- "Same as previous example, but use the specified org:\n<%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com"
3806
- ],
3807
- "flags": {
3808
- "json": {
3809
- "description": "Format output as json.",
3810
- "helpGroup": "GLOBAL",
3811
- "name": "json",
3812
- "allowNo": false,
3813
- "type": "boolean"
3814
- },
3815
- "flags-dir": {
3816
- "helpGroup": "GLOBAL",
3817
- "name": "flags-dir",
3818
- "summary": "Import flag values from a directory.",
3819
- "hasDynamicHelp": false,
3820
- "multiple": false,
3821
- "type": "option"
3822
- },
3823
- "loglevel": {
3824
- "deprecated": {
3825
- "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."
3826
- },
3827
- "hidden": true,
3828
- "name": "loglevel",
3829
- "hasDynamicHelp": false,
3830
- "multiple": false,
3831
- "type": "option"
3832
- },
3833
- "target-org": {
3834
- "aliases": [
3835
- "targetusername",
3836
- "u"
3837
- ],
3838
- "char": "o",
3839
- "deprecateAliases": true,
3840
- "name": "target-org",
3841
- "noCacheDefault": true,
3842
- "required": true,
3843
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3844
- "hasDynamicHelp": true,
3845
- "multiple": false,
3846
- "type": "option"
3847
- },
3848
- "api-version": {
3849
- "aliases": [
3850
- "apiversion"
3851
- ],
3852
- "deprecateAliases": true,
3853
- "description": "Override the api version used for api requests made by this command",
3854
- "name": "api-version",
3855
- "hasDynamicHelp": false,
3856
- "multiple": false,
3857
- "type": "option"
3858
- },
3859
- "request-id": {
3860
- "aliases": [
3861
- "requestid"
3862
- ],
3863
- "char": "i",
3864
- "deprecateAliases": true,
3865
- "name": "request-id",
3866
- "required": true,
3867
- "summary": "ID of the PackageUploadRequest (starts with 0HD).",
3868
- "hasDynamicHelp": false,
3869
- "multiple": false,
3870
- "type": "option"
3871
- }
3872
- },
3873
- "hasDynamicHelp": true,
3874
- "hiddenAliases": [],
3875
- "id": "package1:version:create:get",
3876
- "pluginAlias": "@salesforce/plugin-packaging",
3877
- "pluginName": "@salesforce/plugin-packaging",
3878
- "pluginType": "core",
3879
- "strict": true,
3880
- "summary": "Retrieve the status of a package version creation request.",
3881
- "enableJsonFlag": true,
3882
- "isESM": true,
3883
- "relativePath": [
3884
- "lib",
3885
- "commands",
3886
- "package1",
3887
- "version",
3888
- "create",
3889
- "get.js"
3890
- ],
3891
- "aliasPermutations": [
3892
- "force:package1:version:create:get",
3893
- "package1:force:version:create:get",
3894
- "package1:version:force:create:get",
3895
- "package1:version:create:force:get",
3896
- "package1:version:create:get:force",
3897
- "force:version:package1:create:get",
3898
- "version:force:package1:create:get",
3899
- "version:package1:force:create:get",
3900
- "version:package1:create:force:get",
3901
- "version:package1:create:get:force",
3902
- "force:version:create:package1:get",
3903
- "version:force:create:package1:get",
3904
- "version:create:force:package1:get",
3905
- "version:create:package1:force:get",
3906
- "version:create:package1:get:force",
3907
- "force:version:create:get:package1",
3908
- "version:force:create:get:package1",
3909
- "version:create:force:get:package1",
3910
- "version:create:get:force:package1",
3911
- "version:create:get:package1:force",
3912
- "force:package1:create:version:get",
3913
- "package1:force:create:version:get",
3914
- "package1:create:force:version:get",
3915
- "package1:create:version:force:get",
3916
- "package1:create:version:get:force",
3917
- "force:create:package1:version:get",
3918
- "create:force:package1:version:get",
3919
- "create:package1:force:version:get",
3920
- "create:package1:version:force:get",
3921
- "create:package1:version:get:force",
3922
- "force:create:version:package1:get",
3923
- "create:force:version:package1:get",
3924
- "create:version:force:package1:get",
3925
- "create:version:package1:force:get",
3926
- "create:version:package1:get:force",
3927
- "force:create:version:get:package1",
3928
- "create:force:version:get:package1",
3929
- "create:version:force:get:package1",
3930
- "create:version:get:force:package1",
3931
- "create:version:get:package1:force",
3932
- "force:package1:create:get:version",
3933
- "package1:force:create:get:version",
3934
- "package1:create:force:get:version",
3935
- "package1:create:get:force:version",
3936
- "package1:create:get:version:force",
3937
- "force:create:package1:get:version",
3938
- "create:force:package1:get:version",
3939
- "create:package1:force:get:version",
3940
- "create:package1:get:force:version",
3941
- "create:package1:get:version:force",
3942
- "force:create:get:package1:version",
3943
- "create:force:get:package1:version",
3944
- "create:get:force:package1:version",
3945
- "create:get:package1:force:version",
3946
- "create:get:package1:version:force",
3947
- "force:create:get:version:package1",
3948
- "create:force:get:version:package1",
3949
- "create:get:force:version:package1",
3950
- "create:get:version:force:package1",
3951
- "create:get:version:package1:force",
3952
- "force:package1:version:get:create",
3953
- "package1:force:version:get:create",
3954
- "package1:version:force:get:create",
3955
- "package1:version:get:force:create",
3956
- "package1:version:get:create:force",
3957
- "force:version:package1:get:create",
3958
- "version:force:package1:get:create",
3959
- "version:package1:force:get:create",
3960
- "version:package1:get:force:create",
3961
- "version:package1:get:create:force",
3962
- "force:version:get:package1:create",
3963
- "version:force:get:package1:create",
3964
- "version:get:force:package1:create",
3965
- "version:get:package1:force:create",
3966
- "version:get:package1:create:force",
3967
- "force:version:get:create:package1",
3968
- "version:force:get:create:package1",
3969
- "version:get:force:create:package1",
3970
- "version:get:create:force:package1",
3971
- "version:get:create:package1:force",
3972
- "force:package1:get:version:create",
3973
- "package1:force:get:version:create",
3974
- "package1:get:force:version:create",
3975
- "package1:get:version:force:create",
3976
- "package1:get:version:create:force",
3977
- "force:get:package1:version:create",
3978
- "get:force:package1:version:create",
3979
- "get:package1:force:version:create",
3980
- "get:package1:version:force:create",
3981
- "get:package1:version:create:force",
3982
- "force:get:version:package1:create",
3983
- "get:force:version:package1:create",
3984
- "get:version:force:package1:create",
3985
- "get:version:package1:force:create",
3986
- "get:version:package1:create:force",
3987
- "force:get:version:create:package1",
3988
- "get:force:version:create:package1",
3989
- "get:version:force:create:package1",
3990
- "get:version:create:force:package1",
3991
- "get:version:create:package1:force",
3992
- "force:package1:get:create:version",
3993
- "package1:force:get:create:version",
3994
- "package1:get:force:create:version",
3995
- "package1:get:create:force:version",
3996
- "package1:get:create:version:force",
3997
- "force:get:package1:create:version",
3998
- "get:force:package1:create:version",
3999
- "get:package1:force:create:version",
4000
- "get:package1:create:force:version",
4001
- "get:package1:create:version:force",
4002
- "force:get:create:package1:version",
4003
- "get:force:create:package1:version",
4004
- "get:create:force:package1:version",
4005
- "get:create:package1:force:version",
4006
- "get:create:package1:version:force",
4007
- "force:get:create:version:package1",
4008
- "get:force:create:version:package1",
4009
- "get:create:force:version:package1",
4010
- "get:create:version:force:package1",
4011
- "get:create:version:package1:force"
4012
- ],
4013
- "permutations": [
4014
- "package1:version:create:get",
4015
- "version:package1:create:get",
4016
- "version:create:package1:get",
4017
- "version:create:get:package1",
4018
- "package1:create:version:get",
4019
- "create:package1:version:get",
4020
- "create:version:package1:get",
4021
- "create:version:get:package1",
4022
- "package1:create:get:version",
4023
- "create:package1:get:version",
4024
- "create:get:package1:version",
4025
- "create:get:version:package1",
4026
- "package1:version:get:create",
4027
- "version:package1:get:create",
4028
- "version:get:package1:create",
4029
- "version:get:create:package1",
4030
- "package1:get:version:create",
4031
- "get:package1:version:create",
4032
- "get:version:package1:create",
4033
- "get:version:create:package1",
4034
- "package1:get:create:version",
4035
- "get:package1:create:version",
4036
- "get:create:package1:version",
4037
- "get:create:version:package1"
4038
- ]
4039
4039
  }
4040
4040
  },
4041
- "version": "2.4.0"
4041
+ "version": "2.4.2"
4042
4042
  }