Skip to content

docs: clarify CLI invocation in quick start - #522

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-cli-invocation
Sep 26, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-cli-invocation

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

The quick start lists rs commands without clearly showing how to invoke the project-local CLI from a terminal, which contributed to the confusion in #518.

Changes

Reorganize the English and Chinese guides into available commands, package scripts, and direct terminal usage. Use dev examples with package manager tabs and explain the rstack alias separately.

Validated formatting, spelling, and the documentation build.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-26T11:48:33.326167Z 42c7148 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 42c7148
Status: ✅  Deploy successful!
Preview URL: https://8d1f78ea.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-docs-cli-invocati.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit d2b9550 into main Sep 26, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/docs-cli-invocation branch September 26, 2026 11:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 42c7148daf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


<PackageManagerTabs
command={{
pnpm: 'pnpm rs dev',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use pnpm exec to bypass package-script dispatch

For an existing project that already defines an rs script, pnpm rs dev dispatches that package script instead of the installed node_modules/.bin/rs, so this “direct” example can execute the wrong command. I confirmed this with pnpm 10.28.1; pnpm help run describes it as running a defined package script, while pnpm help exec explicitly runs a command in the project context. Use pnpm exec rs dev here, update the later alias example similarly, and mirror both corrections in the Chinese guide.

AGENTS.md reference: AGENTS.md:L44-L44

Useful? React with 👍 / 👎.

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