sfdx force:package:version:displayancestry

Display the ancestry tree for a 2GP managed package version

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-v, --targetdevhubusername <targetdevhubusername>Username or alias for the dev hub org; overrides default dev hub org
--apiversion <apiversion>Override the api version used for api requests made by this command
-p, --package <package>ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for
--dotcodeDisplay the ancestry tree in DOT code
--verboseDisplay both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree