BlPackage - getDBKeyByGroupAndName
BlPackage - getDBKeyByGroupAndName
Description :
This command returns a handle to a BLPackage, given its parent group and the package's name.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
parentGroup | String | Fully qualified depot group name where the package is located. |
packageName | String | Name of the package. |
Example
The following example gets the handle of a BLPackage:
Script
PACKAGE_GROUP="/parent/group1"
PACKAGE_NAME="blpgk1"
PACKAGE_DBKEY=`blcli BlPackage getDBKeyByGroupAndName $PACKAGE_GROUP $PACKAGE_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*