Repository navigation
docs(cli): drop the export and import commands from the translated CLI docs - #58210
LuisAlbertoMK wants to merge 1 commit into
Conversation
…I docs \opencode export\ and \opencode import\ are not v2 commands; \opencode --help\ lists neither, and session export/import live under \opencode session\. anomalyco#58016 moves them there in the English page. This removes the two top-level sections from the 17 translated cli.mdx files as deletions only. The locales can document \session export\ and \session import\ in a later translation pass; they already lag behind the English page. Part of anomalyco#57957.
There was a problem hiding this comment.
Looks good. It removes the v1-only top-level export/import sections from all 17 translated CLI pages. I checked the diff per locale: every file loses exactly the two sections (26 lines, no additions), each ends with 15 ### headings, no --- separator is doubled or lost, and no page links to the removed anchors. On the latest dev the v2 equivalents are opencode session export/session import, as described.
Public API is unchanged (documentation only).
One note: the description says the three locale PRs can merge in any order, but this one and #58209 conflict in all 17 files. The removed ### import block sits right next to ### web, so the hunks touch. #58207 merges cleanly with it. Whichever of this PR and #58209 lands second will need a rebase; keeping both deletions resolves it.
Related: #57957
|
Thanks for the PR! The — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
Issue for this PR
Part of #57957. Third and last of the translated-docs PRs; #58207 covers
attach, #58209 coverswebandgithub, and #58016 covers the English page.Type of change
What does this PR do?
opencode exportandopencode importare not v2 commands:opencode --helplists neither, and session export/import are subcommands ofopencode session. #58016 moves them undersessionon the English page.This removes the two top-level sections from the 17 translated
cli.mdxfiles. It is deletions only, with no new translated prose: the locales already lag behind the English page, andsession export/session importcan be documented there in a later translation pass rather than in this cleanup.The three locale PRs touch different sections of the same files, so they can merge in any order.
How did you verify your code works?
Against a source build of
dev(cdf1c200a6), frompackages/cli,bun run src/index.ts --help:exportandimportappear nowhere in the command list.sessionis listed;bun run src/index.ts session --helpshowsexportandimportunder it.For the diff itself:
###headings per file and adds no lines.exportandimport), and no---separator is doubled or lost.prettier --checkreports the same result for theorigin/devfile and the patched file, so the deletion does not change formatting.Screenshots / recordings
Not a UI change.
Checklist
Added by the opencode bot (AI-generated).
Related: #57957