flowpipe trigger

Manage Flowpipe triggers in the current mod and its direct dependents.

Usage

flowpipe trigger [command] [flags]

Sub-Commands

CommandDescription
listList triggers from the current mod.
runRun a trigger from the current mod or its direct dependents or from a Flowpipe server instance.
showList a trigger from the current mod.

Flags

FlagApplies toDescription
--arg string=stringrunSpecify the value of a trigger argument. Multiple --arg arguments may be passed.
--detachrunStart the trigger and return immediately. By default, flowpipe trigger run will run the trigger and wait for the results. You may only use --detach when running a trigger from a server instance (by specifying --host, for example).
--var string=stringrunSpecify the value of a variable. Multiple --var arguments may be passed.
--var-file stringsrunSpecify an .fpvar file containing variable values.
--verboserunView detailed event information, including step arguments and attributes.

Examples

List triggers:

flowpipe trigger list

View trigger details:

flowpipe trigger show my_trigger

List triggers in JSON format:

flowpipe trigger list --output json

Run a trigger in the current mod:

flowpipe trigger run schedule.my_trigger

Run a trigger with verbose output:

flowpipe trigger run schedule.my_trigger --verbose

Run a trigger and pass parameters:

flowpipe trigger run schedule.my_trigger --arg my_string_param="my name" --arg 'my_list_param=["Owner","Application","Environment"]'