Repository navigation
use-family 0.10.0: install every missing CLI with one command - #33
Merged
Merged
Conversation
A new user had to copy a dozen installer lines one by one, and on an Intel Mac two of them (wechat-use, discord-use) just stopped with an error. - install-clis.sh (new): installs each *-use CLI this machine is missing through its own install.sh. Skips what doesn't run here (wechat-use on Intel) and what's installed, carries on past a failure and reports it, and lists the one-time setup (memory-use init, a mailbox, Full Disk Access, DISCORD_TOKEN). `sh -s -- <names>` installs just those. - doctor.sh and install-use-family.sh lead with that one line. discord-use (Intel binary since v0.2.1) and image-use (install.sh since #49) now use the standard installer line, so the special cases are gone. - README and the routing skill point to it. - tests/install-clis.test.sh (in CI) with a fake curl and uname; the other two tests follow the new hints. Checked end to end with real installers in a fresh HOME on an Intel Mac: 12 of 13 installed; image-use needed a fix for macOS's Python 3.9 (leeguooooo/image-use, fix/install-old-python). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A new user had to copy a dozen
curl … install.sh | shlines one at a time. On an Intel Mac two of them stopped with an error: wechat-use is Apple Silicon only, and discord-use had no Intel binary until v0.2.1.Change
install-clis.sh(new):curl -fsSL https://raw.githubusercontent.com/leeguooooo/plugins/main/install-clis.sh | sh*-useCLI's own installer. It downloads each installer before running it, so a failed download counts as a failure, not an empty script that "succeeds".memory-use init,mail-use apple-mail import, Full Disk Access for message-use,DISCORD_TOKEN.| sh -s -- mail-use ocsinstalls just those, including iphone-use, which isn't in the default set because it needs an iPhone.doctor.shandinstall-use-family.sh: lead with that one line. discord-use and image-use now get the standard installer line, so their special cases from use-family 0.9.1: right install hints on Intel Macs, and check image-use #32 are gone.Tests
tests/install-clis.test.sh(added to CI) with a fakecurlanduname. It covers the default set on Intel and on Apple Silicon, skipping on re-run, carrying on past a failure, and named-only installs.doctor.test.shandinstall-use-family.test.share updated for the new hints.HOMEand the system PATH: 12 of 13 installed. image-use failed because macOS'spython3is 3.9; that's fixed in leeguooooo/image-use (fix/install-old-python).🤖 Generated with Claude Code