ATTRIBUTE EDIT
Description
Edits the comment of an attribute.
Usage
cm attribute | att edit <att_spec> <new_comment>
Options
Option / Argument | Description |
---|---|
att_spec | Attribute to change its comment. (Use 'cm help objectspec' to learn more about attribute specs.) |
new_comment | New comment for the attribute. You can also specify a default list of values for the attribute. See Remarks for more info. |
Help
Remarks
This command changes the comment of an attribute.
To specify a default list of values for the attribute, you just need to include a line like the following in the attribute comment: 'default: value_one, "value two", value3, "Final value"'.
Examples
cm attribute edit att:status "The status of a branch in the CI pipeline."
(Edits the comment of the attribute 'status'.)
cm attribute edit att:status "Status of a branch. default: open, resolved, reviewed"
(Edits the comment of the attribute 'status'. And also specifies a list of values. So when you set the attribute 'status' to an object, you can select one of the following values: "open", "resolved", or "reviewed".)