Skip to content

getPackage2Info

getPackage2Info(package2Id, devHubAliasOrUsername): Promise<Package2Info>

Defined in: packages/simply-cicd-core/src/sfPackages.ts:426

The name and namespace of the package a 0Ho ID identifies, read from the Dev Hub that owns it.

string

A 0Ho package ID, e.g. a package version report’s Package2Id.

string

The Dev Hub that owns the package. Must already be authenticated.

Promise<Package2Info>

If the Dev Hub has no package with that ID.