Skip to content

docs: add shell completion setup guide for CLI Reference and Installation (#639) - #652

Merged
lizhengfeng101 merged 1 commit into
alibaba:mainfrom
Ritvvvik:fix-docs-translations
Aug 6, 2026
Merged

docs: add shell completion setup guide for CLI Reference and Installation (#639)#652
lizhengfeng101 merged 1 commit into
alibaba:mainfrom
Ritvvvik:fix-docs-translations

Conversation

@Ritvvvik

Copy link
Copy Markdown
Contributor

Documents the ocr completion command (bash/zsh/fish/powershell), which is implemented but has zero documentation.

CLI Reference (en, zh, ja)

  • New ## ocr completion section alongside the existing command sections
  • Command format: ocr completion [bash|zsh|fish|powershell]
  • Per-shell one-shot and persistent setup instructions, matching the help text in cmd/opencodereview/completion.go

Installation (en, zh, ja, ru)

  • New "Enable Shell Completion" section after "Verifying the install"
  • One-line explanation, quick shell example, and a link to the CLI Reference for full details

Content verified against the shells and setup steps in cmd/opencodereview/completion.go. Docs site renders correctly locally via cd pages && npm run dev.

@github-actions

Copy link
Copy Markdown
Contributor

OpenCodeReview: No supported files changed.

@lizhengfeng101 lizhengfeng101 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lizhengfeng101
lizhengfeng101 merged commit cbdd77e into alibaba:main Aug 6, 2026
10 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