Skip to main content
Download preference categories and their translations from a workspace to local files. Saves categories_preferences.json and locale-specific translation files to the output directory.

By default, pulled categories are stored in the suprsend/category/ directory, but you can change the destination using the -d, --dir flag.

Syntax

suprsend category pull [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-d, --dir stringDirectory to save category files to./suprsend/category
-f, --forceSkip directory confirmation prompt, use default path
-m, --mode stringVersion mode (draft or live)live

Example

# Pull all live categories to default directory
suprsend category pull

# Pull categories into custom directory path
suprsend category pull --dir categories

# Pull categories from production workspace
suprsend category pull --workspace production

# Pull draft categories
suprsend category pull --mode draft