saasframe feature_toggles toggle-update
yarn saasframe feature_toggles toggle-update updates the properties of an existing feature toggle.
Usage
yarn saasframe feature_toggles toggle-update --identifier <id> [options]
Options
| Option | Description | Required | Default |
|---|---|---|---|
--identifier | Unique identifier of the toggle to update. | Yes | - |
--name | New name for the toggle. | No | - |
--defaultValue | New default value. Must match the toggle's type. | No | - |
--category | New category. | No | - |
--description | New description. | No | - |
Behavior
- Finds the toggle by
identifierand updates the specified fields. - If successful, outputs:
✅ Feature toggle updated: <identifier>. - If the toggle is not found, outputs an error message.