Skip to content

fix: 更新linux cli安装解压并进入目录的说明#19

Open
Saramanda9988 wants to merge 1 commit intoLLOneBot:mainfrom
Saramanda9988:fix-doc
Open

fix: 更新linux cli安装解压并进入目录的说明#19
Saramanda9988 wants to merge 1 commit intoLLOneBot:mainfrom
Saramanda9988:fix-doc

Conversation

@Saramanda9988
Copy link
Copy Markdown

@Saramanda9988 Saramanda9988 commented Apr 27, 2026

image image

当前 Linux 步骤默认压缩包内自带顶层目录,但实际包内容是直接散落在根目录,如果不添加 -d 参数会解压到当前目录中

调整了相关命令和描述

image

Summary by Sourcery

Documentation:

  • 明确 Linux CLI 解压说明:先创建一个目录,将压缩包解压到该目录中,然后再切换到该目录。
Original summary in English

Summary by Sourcery

Documentation:

  • Clarify Linux CLI extraction instructions to create a directory and unzip the archive into it before changing directories.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Apr 27, 2026

审阅者指南(在小型 PR 上折叠)

审阅者指南

更新 Linux CLI 安装说明,使得在进入目录之前,先将不带顶级目录的压缩包安全地解压到一个专用文件夹中。

文件级变更

变更 详情 文件
调整 Linux CLI 解压说明,使其先解压到专用目录后再执行 cd。
  • 更新步骤描述,说明先创建目录,将压缩包解压到该目录中,然后再进入该目录
  • 将原先简单的 unzip 和 cd 命令替换为 mkdir、带 -d 参数解压到新目录,以及 cd 进入该目录
components/installation-methods.tsx

提示与命令

与 Sourcery 交互

  • 触发新的审阅: 在 pull request 上评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 从审阅评论生成 GitHub issue: 通过回复审阅评论,让 Sourcery 从该评论创建一个 issue。你也可以在审阅评论中回复 @sourcery-ai issue 来从该评论创建 issue。
  • 生成 pull request 标题: 在 pull request 标题的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 pull request 上评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文任意位置写上 @sourcery-ai summary,即可在你想要的位置生成 PR 摘要。你也可以在 pull request 上评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成审阅者指南: 在 pull request 上评论 @sourcery-ai guide,即可随时(重新)生成审阅者指南。
  • 解决所有 Sourcery 评论: 在 pull request 上评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 撤销所有 Sourcery 审阅: 在 pull request 上评论 @sourcery-ai dismiss,即可撤销所有现有的 Sourcery 审阅。若你想从头开始一次新的审阅,这尤其有用——别忘了再评论 @sourcery-ai review 来触发新的审阅!

自定义你的体验

访问你的控制面板以:

  • 启用或禁用审阅功能,例如 Sourcery 生成的 pull request 摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、移除或编辑自定义审阅指引。
  • 调整其他审阅设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the Linux CLI installation instructions so that archives without a top-level directory are safely extracted into a dedicated folder before changing into it.

File-Level Changes

Change Details Files
Adjust Linux CLI unzip instructions to extract into a dedicated directory before cd.
  • Update step description to explain creating a directory, extracting the archive into it, and then entering it
  • Replace the simple unzip and cd commands with mkdir, unzip -d to the new directory, and cd into that directory
components/installation-methods.tsx

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - 我给出了一些高层次的反馈:

  • 建议使用 mkdir -p LLBot-CLI-linux,这样这组命令就是幂等的,如果目录已存在也不会报错。
AI Agents 提示词
Please address the comments from this code review:

## Overall Comments
- Consider using `mkdir -p LLBot-CLI-linux` so the command sequence is idempotent and does not fail if the directory already exists.

Sourcery 对开源项目是免费的 —— 如果你觉得我们的评审有帮助,请考虑分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的评审。
Original comment in English

Hey - I've left some high level feedback:

  • Consider using mkdir -p LLBot-CLI-linux so the command sequence is idempotent and does not fail if the directory already exists.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider using `mkdir -p LLBot-CLI-linux` so the command sequence is idempotent and does not fail if the directory already exists.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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.

1 participant