Skip to main content
Download event definitions from a workspace to local files. Saves event data and an event_schema_mapping.json file to the output 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.

Syntax

suprsend event pull [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-d, --dir stringDirectory to save event files to./suprsend/event
-f, --forceSkip directory confirmation prompt, use default path

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