@@ -49,6 +49,7 @@ See [DEVELOPING.md](DEVELOPING.md)
4949- [ ` sf package version create report ` ] ( #sf-package-version-create-report )
5050- [ ` sf package version delete ` ] ( #sf-package-version-delete )
5151- [ ` sf package version displayancestry ` ] ( #sf-package-version-displayancestry )
52+ - [ ` sf package version displaydependencies ` ] ( #sf-package-version-displaydependencies )
5253- [ ` sf package version list ` ] ( #sf-package-version-list )
5354- [ ` sf package version promote ` ] ( #sf-package-version-promote )
5455- [ ` sf package version report ` ] ( #sf-package-version-report )
@@ -153,7 +154,7 @@ FLAG DESCRIPTIONS
153154 --installation-key-bypass flag is required.
154155```
155156
156- _ See code: [ src/commands/package/convert.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/convert.ts ) _
157+ _ See code: [ src/commands/package/convert.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/convert.ts ) _
157158
158159## ` sf package create `
159160
@@ -232,7 +233,7 @@ FLAG DESCRIPTIONS
232233 Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
233234```
234235
235- _ See code: [ src/commands/package/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/create.ts ) _
236+ _ See code: [ src/commands/package/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/create.ts ) _
236237
237238## ` sf package delete `
238239
@@ -274,7 +275,7 @@ EXAMPLES
274275 $ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
275276```
276277
277- _ See code: [ src/commands/package/delete.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/delete.ts ) _
278+ _ See code: [ src/commands/package/delete.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/delete.ts ) _
278279
279280## ` sf package install `
280281
@@ -373,7 +374,7 @@ FLAG DESCRIPTIONS
373374 - Delete: Delete removed components, except for custom objects and custom fields, that don't have dependencies.
374375```
375376
376- _ See code: [ src/commands/package/install.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/install.ts ) _
377+ _ See code: [ src/commands/package/install.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/install.ts ) _
377378
378379## ` sf package install report `
379380
@@ -406,7 +407,7 @@ EXAMPLES
406407 $ sf package install report --request-id 0Hf... --target-org me@example.com
407408```
408409
409- _ See code: [ src/commands/package/install/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/install/report.ts ) _
410+ _ See code: [ src/commands/package/install/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/install/report.ts ) _
410411
411412## ` sf package installed list `
412413
@@ -438,7 +439,7 @@ EXAMPLES
438439 $ sf package installed list --target-org me@example.com
439440```
440441
441- _ See code: [ src/commands/package/installed/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/installed/list.ts ) _
442+ _ See code: [ src/commands/package/installed/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/installed/list.ts ) _
442443
443444## ` sf package list `
444445
@@ -476,7 +477,7 @@ EXAMPLES
476477 $ sf package list --target-dev-hub devhub@example.com --verbose
477478```
478479
479- _ See code: [ src/commands/package/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/list.ts ) _
480+ _ See code: [ src/commands/package/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/list.ts ) _
480481
481482## ` sf package push-upgrade abort `
482483
@@ -515,7 +516,7 @@ EXAMPLES
515516 $ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
516517```
517518
518- _ See code: [ src/commands/package/push-upgrade/abort.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/push-upgrade/abort.ts ) _
519+ _ See code: [ src/commands/package/push-upgrade/abort.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/push-upgrade/abort.ts ) _
519520
520521## ` sf package push-upgrade list `
521522
@@ -574,7 +575,7 @@ EXAMPLES
574575 $ sf package push-upgrade list --package 033xyz –-status Failed
575576```
576577
577- _ See code: [ src/commands/package/push-upgrade/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/push-upgrade/list.ts ) _
578+ _ See code: [ src/commands/package/push-upgrade/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/push-upgrade/list.ts ) _
578579
579580## ` sf package push-upgrade report `
580581
@@ -616,7 +617,7 @@ EXAMPLES
616617 $ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
617618```
618619
619- _ See code: [ src/commands/package/push-upgrade/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/push-upgrade/report.ts ) _
620+ _ See code: [ src/commands/package/push-upgrade/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/push-upgrade/report.ts ) _
620621
621622## ` sf package push-upgrade schedule `
622623
@@ -703,7 +704,7 @@ FLAG DESCRIPTIONS
703704 Overrides the value of the target-dev-hub configuration variable, if set.
704705```
705706
706- _ See code: [ src/commands/package/push-upgrade/schedule.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/push-upgrade/schedule.ts ) _
707+ _ See code: [ src/commands/package/push-upgrade/schedule.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/push-upgrade/schedule.ts ) _
707708
708709## ` sf package uninstall `
709710
@@ -751,7 +752,7 @@ EXAMPLES
751752 $ sf package uninstall --package "Undesirable Package Alias"
752753```
753754
754- _ See code: [ src/commands/package/uninstall.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/uninstall.ts ) _
755+ _ See code: [ src/commands/package/uninstall.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/uninstall.ts ) _
755756
756757## ` sf package uninstall report `
757758
@@ -784,7 +785,7 @@ EXAMPLES
784785 $ sf package uninstall report --request-id 06y... --target-org me@example.com
785786```
786787
787- _ See code: [ src/commands/package/uninstall/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/uninstall/report.ts ) _
788+ _ See code: [ src/commands/package/uninstall/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/uninstall/report.ts ) _
788789
789790## ` sf package update `
790791
@@ -839,7 +840,7 @@ FLAG DESCRIPTIONS
839840 associated with your package.
840841```
841842
842- _ See code: [ src/commands/package/update.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/update.ts ) _
843+ _ See code: [ src/commands/package/update.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/update.ts ) _
843844
844845## ` sf package version create `
845846
@@ -1014,7 +1015,7 @@ FLAG DESCRIPTIONS
10141015 periods of no output from commands.
10151016```
10161017
1017- _ See code: [ src/commands/package/version/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/create.ts ) _
1018+ _ See code: [ src/commands/package/version/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/create.ts ) _
10181019
10191020## ` sf package version create list `
10201021
@@ -1075,7 +1076,7 @@ EXAMPLES
10751076 $ sf package version create list --created-last-days 0 --status Success
10761077```
10771078
1078- _ See code: [ src/commands/package/version/create/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/create/list.ts ) _
1079+ _ See code: [ src/commands/package/version/create/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/create/list.ts ) _
10791080
10801081## ` sf package version create report `
10811082
@@ -1118,7 +1119,7 @@ EXAMPLES
11181119 $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
11191120```
11201121
1121- _ See code: [ src/commands/package/version/create/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/create/report.ts ) _
1122+ _ See code: [ src/commands/package/version/create/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/create/report.ts ) _
11221123
11231124## ` sf package version delete `
11241125
@@ -1159,7 +1160,7 @@ EXAMPLES
11591160 $ sf package version delete --package 04t... --target-org devhub@example.com
11601161```
11611162
1162- _ See code: [ src/commands/package/version/delete.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/delete.ts ) _
1163+ _ See code: [ src/commands/package/version/delete.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/delete.ts ) _
11631164
11641165## ` sf package version displayancestry `
11651166
@@ -1219,7 +1220,69 @@ FLAG DESCRIPTIONS
12191220 You can use the DOT code output in graph visualization software to create tree visualizations.
12201221```
12211222
1222- _ See code: [ src/commands/package/version/displayancestry.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4/src/commands/package/version/displayancestry.ts ) _
1223+ _ See code: [ src/commands/package/version/displayancestry.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0/src/commands/package/version/displayancestry.ts ) _
1224+
1225+ ## ` sf package version displaydependencies `
1226+
1227+ Display the dependency graph for an unlocked or 2GP managed package version.
1228+
1229+ ```
1230+ USAGE
1231+ $ sf package version displaydependencies -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [--edge-direction
1232+ root-first|root-last] [--verbose]
1233+
1234+ FLAGS
1235+ -p, --package=<value> (required) ID or alias of the package version (starts with 04t) or the package version
1236+ create request (starts with 08c) to display the dependency graph for.
1237+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
1238+ configuration variable is already set.
1239+ --api-version=<value> Override the api version used for api requests made by this command
1240+ --edge-direction=<option> [default: root-first] Order (root-first or root-last) in which the dependencies are
1241+ displayed.
1242+ <options: root-first|root-last>
1243+ --verbose Display both the package version ID (starts with 04t) and the version number
1244+ (major.minor.patch.build) in each node.
1245+
1246+ GLOBAL FLAGS
1247+ --flags-dir=<value> Import flag values from a directory.
1248+ --json Format output as json.
1249+
1250+ EXAMPLES
1251+ Display the dependency graph for a package version with the specified alias, using your default Dev Hub org and the
1252+ default edge-direction:
1253+
1254+ $ sf package version displaydependencies --package package_version_alias
1255+
1256+ Display the dependency graph for a package version with the specified ID and display the graph using a root-last
1257+ edge direction. Use the Dev Hub org with username devhub@example.com:
1258+
1259+ $ sf package version displaydependencies --package 04t... --edge-direction root-last --target-dev-hub \
1260+ devhub@example.com
1261+
1262+ Display the dependency graph of a version create request with the specified ID, using your default Dev Hub org and
1263+ the default edge-direction:
1264+
1265+ $ sf package version displaydependencies --package 08c...
1266+
1267+ FLAG DESCRIPTIONS
1268+ -p, --package=<value>
1269+
1270+ ID or alias of the package version (starts with 04t) or the package version create request (starts with 08c) to
1271+ display the dependency graph for.
1272+
1273+ Before running this command, update your sfdx-project.json file to specify the calculateTransitiveDependencies
1274+ attribute, and set the value to true. This command returns GraphViz code, which can be compiled to a graph using DOT
1275+ code or another graph visualization software.
1276+
1277+ --edge-direction=root-first|root-last Order (root-first or root-last) in which the dependencies are displayed.
1278+
1279+ A root-first graph declares the root as the package that must be installed last. A root-last graph is the reverse
1280+ order of root-first. If you specify "--edge-direction root-last", the graph displays the packages in the order they
1281+ must be installed. The root starts with the farthest leaf of the package dependencies and ends with the base
1282+ package, which must be installed last.
1283+ ```
1284+
1285+ _ See code: [ src/commands/package/version/displaydependencies.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0/src/commands/package/version/displaydependencies.ts ) _
12231286
12241287## ` sf package version list `
12251288
@@ -1295,7 +1358,7 @@ EXAMPLES
12951358 $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
12961359```
12971360
1298- _ See code: [ src/commands/package/version/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/list.ts ) _
1361+ _ See code: [ src/commands/package/version/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/list.ts ) _
12991362
13001363## ` sf package version promote `
13011364
@@ -1339,7 +1402,7 @@ EXAMPLES
13391402 $ sf package version promote --package "Awesome Package Alias"
13401403```
13411404
1342- _ See code: [ src/commands/package/version/promote.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/promote.ts ) _
1405+ _ See code: [ src/commands/package/version/promote.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/promote.ts ) _
13431406
13441407## ` sf package version report `
13451408
@@ -1379,7 +1442,7 @@ EXAMPLES
13791442 $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
13801443```
13811444
1382- _ See code: [ src/commands/package/version/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/report.ts ) _
1445+ _ See code: [ src/commands/package/version/report.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/report.ts ) _
13831446
13841447## ` sf package version update `
13851448
@@ -1432,7 +1495,7 @@ EXAMPLES
14321495 $ sf package version update --package 04t... --version-description "New Package Version Description"
14331496```
14341497
1435- _ See code: [ src/commands/package/version/update.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package/version/update.ts ) _
1498+ _ See code: [ src/commands/package/version/update.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package/version/update.ts ) _
14361499
14371500## ` sf package1 version create `
14381501
@@ -1499,7 +1562,7 @@ FLAG DESCRIPTIONS
14991562 subscribers.
15001563```
15011564
1502- _ See code: [ src/commands/package1/version/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package1/version/create.ts ) _
1565+ _ See code: [ src/commands/package1/version/create.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package1/version/create.ts ) _
15031566
15041567## ` sf package1 version create get `
15051568
@@ -1532,7 +1595,7 @@ EXAMPLES
15321595 $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
15331596```
15341597
1535- _ See code: [ src/commands/package1/version/create/get.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package1/version/create/get.ts ) _
1598+ _ See code: [ src/commands/package1/version/create/get.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package1/version/create/get.ts ) _
15361599
15371600## ` sf package1 version display `
15381601
@@ -1566,7 +1629,7 @@ EXAMPLES
15661629 $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
15671630```
15681631
1569- _ See code: [ src/commands/package1/version/display.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package1/version/display.ts ) _
1632+ _ See code: [ src/commands/package1/version/display.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package1/version/display.ts ) _
15701633
15711634## ` sf package1 version list `
15721635
@@ -1604,6 +1667,6 @@ FLAG DESCRIPTIONS
16041667 If not specified, shows all versions for all packages (managed and unmanaged) in the org.
16051668```
16061669
1607- _ See code: [ src/commands/package1/version/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.18.4 /src/commands/package1/version/list.ts ) _
1670+ _ See code: [ src/commands/package1/version/list.ts] ( https://github.com/salesforcecli/plugin-packaging/blob/2.19.0 /src/commands/package1/version/list.ts ) _
16081671
16091672<!-- commandsstop -->
0 commit comments