Files
Tianyi Cui 231d5a311e fix(cli): bound CLI help alias discovery and document plugin option placement
`collectCliHelp` stops propagating an alias when it reaches a page
already on the current path, so a `help [command]` row that prints its
parent's help no longer recurses until the stack overflows. `serve|s`
command rows are split into separately collected names.

The CLI reference and upgrade guide describe the forwarded-argument
boundary that Commander applies, including a leading pnpm option, and
args.spec.ts pins that `--profile` placed after a leading pnpm option is
forwarded. Generated pages use the repository's two-line generated
header, and docs/AGENTS.md lists the CLI help among the generated
references.

Refs #4114
2026-10-05 17:45:17 +08:00

35 lines
993 B
YAML

# Bilingual-pair consistency record for cli-help.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/cli-help.md
/:
en: d11ca88bdc409249
zh: d11ca88bdc409249
/dsh-cli-help:
en: b7174eab3476579d
zh: 5ddab967320e3cff
/dsh-cli-help/contents:
en: 00308bcc6dc90afd
zh: 16f7442b76686a02
/dsh-cli-help/dsh:
en: e0695abcf7d8b521
zh: 712c23b3c8a115ca
/dsh-cli-help/dsh-plugin:
en: adad99c125d0ac51
zh: f11024971184f737
/dsh-cli-help/dsh-acp:
en: bcb0f84577ce5f03
zh: 4382e617006849db
/dsh-cli-help/dsh-headless:
en: 878a1dd78017964d
zh: bb43d91b4beb9bda
/dsh-cli-help/dsh-sdk:
en: 701f239c5157dedb
zh: ee11be2932b05ce4
/dsh-cli-help/dsh-sdk-minimal:
en: 8f0d7548d299ffd3
zh: fa2262e70d6819a0
/dsh-cli-help/dsh-web:
en: 5d073104e8954cc8
zh: 91cd28f7c6ac96ac