List workflows in a workspace with pagination. Returns workflow slug, name, status, and version info. Use --mode to switch between draft and live versions.
Syntax
suprsend workflow list [flags]
Flags
| Flag | Description | Default |
|---|
-h, --help | Show help for the command | – |
-l, --limit int | Maximum number of workflows to return | 20 |
-f, --offset int | Number of workflows to skip for pagination | 0 |
-m, --mode string | Version mode: draft or live | live |
-o, --output string | Output format: pretty, json, or yaml | pretty |
Use -o json for machine-readable JSON output, -o yaml for YAML. Default -o pretty outputs a human-friendly table.
Example
# List live workflows in staging workspace
suprsend workflow list
# List with custom limit and workspace
suprsend workflow list --limit 50 --workspace production
# List draft workflows
suprsend workflow list --mode draft
# piping JSON output to jq
suprsend workflow list --output json | jq '.[].slug'