Schema define the payload structure and validation rules for workflow and event trigger. You can use CLI command to manage schemas - list, pull, push, commit.

Syntax

suprsend schema [flags]

Commands

CommandDescription
schema listList schemas in a workspace
schema pullPull schemas from workspace to local
schema pushPush local schemas to workspace
schema commitCommit a schema to make it draft changes live

Inherited Global Flags

This command also supports Global Flags, such as:
  • -w, --workspace – Workspace to use (default: staging)
  • -s, --service-token – Service token for authentication (default: $SUPRSEND_SERVICE_TOKEN)
  • -v, --verbosity – Log level (debug, info, warn, error, fatal, panic) (default info)
  • --config – Config file path (default: $HOME/.suprsend.yaml)
  • -n, --no-color – Disable color output (default: $NO_COLOR)