hget attr

Summary

Gets the value of one or more attributes.

Return Value

If one attribute is requested, its value will be returned. If more than one attribute is requested, a Tcl list of the attribute values will be returned, with the same order specified in the list you provided when calling hget.

Usage

hget attr <attr name> [-name <asset name>|<task name>|<log entry name>] [-inherit]

Where:

  • <attr name> = the name(s) of the attribute to get the value of. If specifying more than one name, it must be in a comma-separated list.
  • <asset name>|<task name>|<log entry name> = the identifier of the asset, task, or log entry that has the attribute you wish to get. Defaults to your current asset.
  • -inherit = If this argument is given, and the attribute requested is not found on the asset specified, hget will try to find the attribute on the parent, working its way all the way back to the root asset if it is not found.