Skip to main content
Promote preference categories from draft to live mode. Also pushes any local translation files from the translations subdirectory before committing. You don’t need to run this command if you already used the --commit=true flag with the category push command.

Syntax

suprsend category commit [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
--commit-message stringMessage describing the changes being committed
-d, --dir stringDirectory containing category and translation files./suprsend/category

Example

# Commit categories in staging workspace (default)
suprsend category commit

# Commit categories in production workspace
suprsend category commit --workspace production

# Commit categories with a descriptive message
suprsend category commit --commit-message "Added new preference categories"