Repository navigation
docs(cli): drop the web and github commands from the translated CLI docs - #58209
LuisAlbertoMK wants to merge 1 commit into
Conversation
Neither command exists in v2: \opencode --help\ lists no \web\ and no \github\ entry, and the web interface is served by \opencode serve\, which anomalyco#58016 documents in the English page. This carries that removal to the 17 translated cli.mdx files. The locales never documented \pr\ or \db\, so there is nothing else of that class to drop there. Part of anomalyco#57957.
There was a problem hiding this comment.
Looks good. opencode web and opencode github aren't registered in packages/cli/src/commands/commands.ts, so removing these sections from the 17 translated cli.mdx files is correct. The separators stay consistent (29 --- per file, none doubled), and nothing in the locale docs links to the removed #web/#github anchors.
Public API: unchanged (docs only).
No blocking concerns. For a follow-up (out of scope here), the locales still document opencode export/opencode import, which on dev are now opencode session export/opencode session import (noted on #57957).
|
Thanks for the PR! The — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
Issue for this PR
Part of #57957. This is the second of the translated-docs PRs; #58207 handles
attach, and #58016 handles the English page.Type of change
What does this PR do?
Neither
opencode webnoropencode githubexists in v2:opencode --helplists nowebentry and nogithubentry. The browser interface comes fromopencode serve, and the GitHub agent has its own page at/docs/github.#58016 removes both sections from the English
cli.mdx, so this PR leaves that file alone and removes them from the 17 translatedcli.mdxfiles, deletions only.While checking the other translated rows of #57957: the locales never documented
prordb, sowebandgithubare the only two of that class left there.mcpandacpdo exist and are untouched.How did you verify your code works?
Against a source build of
dev(cdf1c200a6), frompackages/cli,bun run src/index.ts --help:web,github,db,pr,attach,exportandimportappear nowhere in the command list.mcpandacpare listed, so those sections stay.For the diff itself:
---separator is doubled or lost: each removed block keeps the---that precedes the next section.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, #51574