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.
Parameters
Section titled “Parameters”package2Id
Section titled “package2Id”string
A 0Ho package ID, e.g. a package version report’s Package2Id.
devHubAliasOrUsername
Section titled “devHubAliasOrUsername”string
The Dev Hub that owns the package. Must already be authenticated.
Returns
Section titled “Returns”Promise<Package2Info>
Throws
Section titled “Throws”If the Dev Hub has no package with that ID.