Skip to content

docs(cli): drop the web and github commands from the translated CLI docs - #58209

Closed
LuisAlbertoMK wants to merge 1 commit into
anomalyco:devfrom
LuisAlbertoMK:cli-locale-web-github
Closed

LuisAlbertoMK wants to merge 1 commit into
anomalyco:devfrom
LuisAlbertoMK:cli-locale-web-github

Conversation

@LuisAlbertoMK

@LuisAlbertoMK LuisAlbertoMK commented Oct 22, 2026 •

Copy link
Copy Markdown

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

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Neither opencode web nor opencode github exists in v2: opencode --help lists no web entry and no github entry. The browser interface comes from opencode 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 translated cli.mdx files, deletions only.

While checking the other translated rows of #57957: the locales never documented pr or db, so web and github are the only two of that class left there. mcp and acp do exist and are untouched.

How did you verify your code works?

Against a source build of dev (cdf1c200a6), from packages/cli, bun run src/index.ts --help:

  • web, github, db, pr, attach, export and import appear nowhere in the command list.
  • mcp and acp are listed, so those sections stay.

For the diff itself:

  • All 17 files are deletions only (0 insertions), so there is no encoding or line-ending churn.
  • Heading count goes 17 → 15 in every locale, and no --- separator is doubled or lost: each removed block keeps the --- that precedes the next section.
  • Code fences stay balanced (74 per file).
  • prettier --check reports the same result for the origin/dev file and the patched file, so the deletion does not change formatting.

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Added by the opencode bot (AI-generated).

Related: #57957, #51574

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.

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Related: #57957, #51574

@Tarquinen

Copy link
Copy Markdown
Member

Thanks for the PR! The /docs pages are the legacy docs for OpenCode 1 users, and these commands still exist in 1.x, so we're keeping them there. The OpenCode 2 CLI is documented at https://opencode.ai/v2/docs/cli. Closing this PR.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

@Tarquinen Tarquinen closed this Nov 2, 2026
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