Skip to main content

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

OptionDescriptionRequiredDefault
--identifierUnique identifier of the toggle to update.Yes-
--nameNew name for the toggle.No-
--defaultValueNew default value. Must match the toggle's type.No-
--categoryNew category.No-
--descriptionNew description.No-

Behavior

  • Finds the toggle by identifier and updates the specified fields.
  • If successful, outputs: ✅ Feature toggle updated: <identifier>.
  • If the toggle is not found, outputs an error message.