Skip to content

docs(cli): document --publish flag for gt translate#250

Merged
moss-bryophyta merged 1 commit intomainfrom
dx-feedback/document-publish-flag
Apr 28, 2026
Merged

docs(cli): document --publish flag for gt translate#250
moss-bryophyta merged 1 commit intomainfrom
dx-feedback/document-publish-flag

Conversation

@moss-bryophyta
Copy link
Copy Markdown
Collaborator

What changed

Added the --publish flag to the gt translate CLI reference page, including:

  • Flag entry in both the flags table and key flags table
  • A new "Publishing to the CDN" section explaining usage and the CDN enable prerequisite

Why

DX Feedback Loop Run 4 (2026-04-21): A naive sub-agent building a gt-next app tried gt translate --publish to enable runtime CDN translations and got:

CDN must be enabled for this project. Please enable CDN in your project settings.

The agent spent the rest of its 10-minute time limit trying to figure out the right approach and eventually timed out. The --publish flag wasn't documented anywhere in the CLI reference, and the CDN prerequisite isn't mentioned in any docs.

Requested by Ernest in #ernest-moss.

@moss-bryophyta moss-bryophyta requested a review from a team as a code owner April 22, 2026 00:54
@moss-bryophyta moss-bryophyta enabled auto-merge (squash) April 22, 2026 00:54
@moss-bryophyta moss-bryophyta merged commit 962314e into main Apr 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants