Vercel CLI now controls feature flag targeting rules. The new `vercel flags rules` command lets engineers and automation agents add rules, reorder them, and inspect the full rule set without touching the dashboard.

The CLI rule model is identical to the dashboard. Conditions target entities or reusable segments, outcomes support single variants, weighted splits, or progressive rollouts, and rules evaluate top to bottom. For scripted pipelines, `vercel flags rules ls --json` outputs the complete rule set in a machine-readable format. The inheritance behavior is worth reading closely: when you modify a rule in an environment that inherits its flag config from another, the CLI automatically forks that environment into its own configuration, leaving the source environment untouched.

Update to the latest Vercel CLI version and run `vercel flags rules` to start. The full breakdown of condition types, outcome models, and inheritance mechanics is in the Vercel Flags CLI documentation.

[READ ORIGINAL →]