Open MercatoDocsSearch docsAPI reference

CLI

mercato feature_toggles toggle-update

Update an existing toggle by its identifier. Check which tenants have overrides before deciding what a change to the default will affect.

yarn mercato feature_toggles toggle-update updates the properties of an existing feature toggle.

Usage

yarn mercato 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

Previous: mercato feature_toggles toggle-delete · Next: yarn initialize