Skip to content

fix(install-use-family): 缺失 CLI 检查补上 image-use - #26

Merged
leeguooooo merged 1 commit into
mainfrom
fix/25-image-use-cli-hint
Oct 5, 2026
Merged

leeguooooo merged 1 commit into
mainfrom
fix/25-image-use-cli-hint

Conversation

@leeguooooo

Copy link
Copy Markdown
Owner

Fixes #25

  • install-use-family.sh:CLIS 加入 image-use;缺失时提示 sudo install "$BASE/image-use/image-use" /usr/local/bin/image-use(与 image-use README 的 Standalone CLI 方式一致),不再生成不存在的 install.sh URL。
  • install-use-family.ps1:缺失检查加入 image-use,并给出 py <checkout>\image-use 的运行方式。
  • tests/install-use-family.test.sh:用假 git + 隔离 HOME/PATH 端到端运行安装器,覆盖:缺失时被提示、走单文件指引而非 install.sh、其他 CLI 仍是 install.sh 指引、已在 PATH 时不提示。旧代码下该测试失败,新代码通过。
  • .github/workflows/test.yml:PR/main 上跑上述测试,并解析检查 ps1(本机没有 pwsh,ps1 只靠 CI 验证)。

image-use 没有 install.sh,CLI 是仓库根目录的单文件,提示改为从安装器已 clone 的
checkout 安装。PowerShell 版同步补上。新增端到端回归测试(假 git + 隔离 PATH)及 CI。

Fixes #25
@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f0d35692-9e30-48ee-9a4c-e1131fd1a873
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@leeguooooo
leeguooooo merged commit f144d34 into main Oct 5, 2026
2 checks passed
@leeguooooo
leeguooooo deleted the fix/25-image-use-cli-hint branch October 5, 2026 09:43
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.

安装器遗漏 image-use 缺失 CLI 检查及对应安装指引

1 participant