Skip to main content
Sync notification assets from one workspace to another. Pulls assets from the source workspace and pushes them to the destination. Supports syncing all asset types or a specific type (workflow, schema, event, category, translation). Source and destination workspaces must be different.

Syntax

suprsend sync [flags]

Flags

FlagDescriptionDefault
-a, --assets stringAsset types to sync: all, workflow, template, schema, event, category, or translationall
-f, --from stringSource workspace to pull assets fromstaging
-m, --mode stringVersion mode: draft or livelive
-t, --to stringDestination workspace to push assets toproduction
-d, --dir stringLocal directory for intermediate file storage during sync
-h, --helpShow help for the command

Example

# Sync all assets from staging to production
suprsend sync

# Sync all assets between custom workspaces
suprsend sync --from dev-staging --to dev-production

# Sync workflows from staging to production
suprsend sync --assets workflow

# Sync draft schemas from staging to production
suprsend sync --assets schema --mode draft