Add wrangler flagship command documentation#31825
Draft
akshitsinha wants to merge 3 commits into
Draft
Conversation
Contributor
Review
Code ReviewThis code review is in beta and may not always be helpful — use your judgment. Warnings (2)
ConventionsChecks PR title, description, and redirect checklist. No convention issues found. Style Guide ReviewWarnings (2)
RedirectsNo missing redirect entries found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
irvinebroque
reviewed
Jul 1, 2026
irvinebroque
left a comment
Contributor
There was a problem hiding this comment.
Changelog?
@MattieTK for review
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for the new
wrangler flagshipCLI command group, which manages Flagship apps and feature flags from the command line.This change adds:
flagship/reference/wrangler-commands, covering authentication, binding a Flagship app to a Worker, creating and inspecting apps and flags, targeting rules (including the compact rule syntax and--rule-json), rollouts and traffic splits, enabling and disabling flags, evaluating flags, changelog history, and scripting with--jsonoutput.workers/wrangler/commands/flagship, consistent with how other Wrangler command groups are documented, that links to the fuller Flagship reference guide for complete workflows.Every
wrangler flagship flagscommand takes the app ID as an explicit argument, so the documentation reflects that throughout rather than describing any implicit binding-based resolution.Documentation checklist