hset

Summary

Sets a value for an attribute on an asset. If the attribute does not already exist for that asset, hset creates it before setting its value.

Return Value

Returns the new value for the attribute.

Usage

hset <attribute name> <new attribute value> [-name <target name>]

Where:

  • <attribute name> = The name of the attribute to set.
  • <new attribute value> = The value to set the attribute to.
  • <target name> = The name of the asset or task to set the attribute on. Defaults to your current asset.