Skip to main content
Retrieve preference categories and their translations from a workspace. Returns the full category structure along with translations for all non-English locales. Use --mode to switch between draft and live versions.

Syntax

suprsend category get [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
--mode stringVersion mode (draft or live)live
-o, --output stringOutput format (json, yaml)json
Use -o json for machine-readable JSON output, -o yaml for YAML.

Example

# Get all categories and translations
suprsend category get

# Get draft categories
suprsend category get --mode draft

# Get categories in YAML format
suprsend category get --output yaml

# Get categories from production workspace
suprsend category get --workspace production