tag-add
Command Reference
Description
Add a tag to an object
Associates the tags to the specified object.
static: This command can be run outside of an object context.
Usage
ctl -m modelutil -c tag-add -depot <> -name <> -tags <> -type <>
Options
| Option | Description | Type | Default |
|---|---|---|---|
| depot | project depot name | string | ${context.depot} |
| name | object name | string | |
| tags |
Tags to add
Tag lists are specified as comma separated |
string | |
| type | the type | string |
Examples
Define a tag for an object in the model.
ctl -p demo -m modelutil -c tag-add -- -name centos2 -type Node \ -tags mytag
More than one tag can be applied by comma separating them.
ctl -p demo -m modelutil -c tag-add -- -name centos2 -type Node \ -tags mytag,othertag


