megachangelog
Feature

Manage Vercel Flags targeting rules from the CLI

You can now manage targeting rules for Vercel Flags directly from the CLI using the vercel flags rules command. Create new rules, reorder existing ones, and inspect rule sets without leaving your terminal, with support for entity targeting, segments, variant splits, and progressive rollouts.

You can now manage targeting rules for through the . With the command, you and your agents can add new rules, move existing ones, and inspect the current ordering without leaving your terminal.Vercel FlagsVercel CLIvercel flags rules

Rules you create from the CLI use the same model as the dashboard. Conditions can target or reusable , outcomes can serve a single variant, a weighted split, or a progressive rollout, and rules evaluate top to bottom. For scripts and agents, prints the full rule set.entitiessegmentsvercel flags rules ls --json

An environment can inherit its flag configuration from another environment. When you add or update a rule in an inheriting environment, the CLI switches that environment to its own configuration, so your rule applies there without changing the environment it inherited from.

Update to the latest Vercel CLI version and run to get started. Learn more in the .vercel flags rulesVercel Flags CLI documentation

Read more

cliflagsfeature-managementautomation

Source: original entry ↗