Pull events from a SuprSend workspace into your local directory. This action does not delete existing events; instead, it overwrites events with the same name or creates new ones.

By default, pulled events are stored in the suprsend/event/ directory, but you can change the destination using the -d flag. We recommend specifying a directory when working with multiple production or staging workspaces.

Syntax

suprsend event pull [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-d, --dir stringDirectory to pull events tosuprsend/event
-w, --workspace stringWorkspace to pull events fromstaging

Example

# Pull all events to default directory
suprsend event pull

# Pull events into custom directory path
suprsend event pull --dir dev-environment/events

# Pull events from production workspace
suprsend event pull --workspace production