Clone assets between different workspaces. This command fetches assets from the source workspace, validates them, and pushes them to the destination workspace. Assets failing validation are not pushed to target workspace.

Syntax

suprsend sync [flags]

Flags

FlagDescriptionDefault
-a, --assets stringAssets to sync (all, workflow, schema, event, category)all
-f, --from stringSource workspace (required)staging
-m, --mode stringMode to sync assets (draft, live)live
-t, --to stringDestination workspace (required)production
-d, --directory stringcustom directory path to sync to locally save pulled assetssuprsend
-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