CCloud Releases
Home
Following

Cloud Releases

Service catalogues and updates come from each provider's public product listing and announcements.

Explore

  • Home
  • Latest updates
  • Following

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Use

Providers

  • Amazon Web Services
  • Microsoft Azure
  • Google Cloud
  • Cloudflare

Not affiliated with any cloud provider. Product names and logos belong to their owners.

  1. Providers
  2. ›Cloudflare
  3. ›Flagship
  4. ›Update

Feature•Jul 16, 2026

Manage Flagship from the command line with Wrangler

FlagshipCloudflare · Developer platform

Wrangler now includes wrangler flagship, a command suite for managing Flagship apps and feature flags from your terminal.

Create an app and, if you use it from a Worker, add it to your wrangler.json or wrangler.jsonc file as a binding:

wrangler flagship apps create "My Worker App" \ --binding FLAGS \ --update-config

Then create flags for the behavior you want to control. Flags can be booleans, strings, numbers, or JSON values:

wrangler flagship flags create <APP_ID> new-checkout wrangler flagship flags create <APP_ID> checkout-flow \ --variation control=old-checkout \ --variation treatment=new-checkout \ --default control \ --type string

After a flag exists, change its default variation or use enable and disable commands as kill switches. Existing targeting rules continue to apply unless you change or clear them explicitly:

wrangler flagship flags update <APP_ID> checkout-flow --default treatment wrangler flagship flags disable <APP_ID> checkout-flow wrangler flagship flags enable <APP_ID> checkout-flow

For release workflows, use rollout, split, and rules to change exposure without redeploying your Worker:

wrangler flagship flags rollout <APP_ID> new-checkout \ --to on \ --percentage 25 \ --by user_id wrangler flagship flags split <APP_ID> checkout-flow \ --weight control=80 \ --weight treatment=20 \ --by user_id wrangler flagship flags rules update <APP_ID> checkout-flow \ --priority 1 \ --when "country equals US"

These commands can also be used from CI/CD pipelines, scripts, and AI agents to inspect Flagship state, update flag behavior, or roll back changes through Wrangler.

Refer to the wrangler flagship command reference for the full command guide.

Read the original announcement↗

More from Flagship

All Flagship updates →
  1. Create app-scoped API tokens for Flagship

    You can now create app-scoped API tokens for Flagship. These tokens grant access only to the Flagship apps you select, instead of every app in the account.

    Flagship•Feature•Aug 26, 2026
  2. Flagship API reference now available

    The Flagship API reference is now available. You can use the Cloudflare API to create and update apps, and to create, update, delete, and list feature flags without using the dashboard.

    Flagship•Feature•Jun 10, 2026
  3. Flagship now in public beta

    Flagship is now in public beta. Evaluate feature flags directly from Cloudflare Workers with no outbound HTTP calls, using globally distributed flag configuration backed by Workers KV and Durable Objects.

    Flagship•Preview•May 26, 2026