TRIGGER LIST

Description

Lists the triggers of a given type on a server.

Usage

cm trigger | tr list | ls [<subtype-type>] [--server=<repserverspec>] [--format=<str_format>]

Options

Option / ArgumentDescription
--serverLists the triggers on the specified server. If no server is specified, executes the command on the one configured on the client. (Use 'cm help objectspec' to learn more about server specs.)
--formatRetrieves the output message in a specific format. See Remarks for more info.
subtype-typeTrigger execution and trigger operation. (Use 'cm showtriggertypes' to see a list of trigger types.)

Help

Remarks

If the type is not specified, lists all the triggers on the server.

Output format parameters (--format option)

This command accepts a format string to show the output.

The output parameters of this command are the following

Option / ArgumentDescription
{0}Trigger position.
{1}Trigger name.
{2}Trigger path.
{3}Trigger owner.
{4}Trigger type.
{5}Trigger filter.

Examples

cm trigger list after-mklabel

(Lists all triggers of type 'after-mklabel' on the server configured on the client.)

cm tr ls before-mkbranch --server=myserver:8084

(Lists all triggers of type 'before-mkbranch' on server 'myserver:8084'.)