List notification preference categories in a workspace. Returns a flattened table with root_category, section, category_name, default_preference, and mandatory channels. Use --mode to switch between draft and live.
Syntax
suprsend category list [flags]
Flags
| Flag | Description | Default |
|---|
-h, --help | Show help for the command | – |
-m, --mode string | Version mode (draft or live) | live |
-o, --output string | Output format (pretty, json, yaml) | pretty |
Use -o json for machine-readable JSON output, -o yaml for YAML. Default -o pretty outputs a human-friendly table.
Example
# List categories in staging workspace (default)
suprsend category list
# List categories in production workspace
suprsend category list --workspace production
# List categories in draft mode
suprsend category list --mode draft
# List categories in JSON format
suprsend category list --output json