命名错误

This commit is contained in:
qcqcqc@wsl 2025-10-28 17:38:45 +08:00
parent aa01f36cd5
commit c951c37b68
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ oak-builder haina-cn --env=prod
# 包含内部 SDK
oak-builder haina-cn --include-internal
# 添加额外模型
# 添加额外依赖
oak-builder haina-cn --extra=model1 --extra=model2
# 自定义配置
@ -43,7 +43,7 @@ npm run dev -- haina-cn --help
- `--include-internal`: 包含 oak-internal-sdk 到镜像中
- `--env=<environment>`: 环境类型 (dev|prod|staging),默认: dev
- `--extra=<model>`: 额外的模型目录(可多次使用)
- `--extra=<model>`: 额外的依赖目录(可多次使用)
- `--registry=<url>`: npm 镜像站地址
- `--port=<port>`: 暴露的端口号,默认: 3001
- `--node-version=<ver>`: Node.js 版本,默认: 20

View File

@ -72,7 +72,7 @@ function parseCliArgs(): ParsedArgs | null {
:
--env=<environment> (dev|prod|staging)默认: dev
--extra=<model> 使
--extra=<model> 使
--registry=<url> npm 默认: https://registry.npmmirror.com
--port=<port> 默认: 3001
--node-version=<ver> Node.js 默认: 20
@ -335,7 +335,7 @@ function main(): void {
console.log(` 项目目录: ${projectDir}`);
console.log(` 环境: ${options.env}`);
console.log(
` 额外模型: ${options.extra.length > 0 ? options.extra.join(", ") : "无"}`
` 额外依赖: ${options.extra.length > 0 ? options.extra.join(", ") : "无"}`
);
console.log(` npm 镜像站: ${options.registry}`);
console.log(` 端口: ${options.port}`);