Skip to content

use-family 0.10.0: install every missing CLI with one command - #33

Merged
leeguooooo merged 1 commit into
mainfrom
feat/install-clis
Oct 9, 2026
Merged

leeguooooo merged 1 commit into
mainfrom
feat/install-clis

Conversation

@leeguooooo

Copy link
Copy Markdown
Owner

Problem

A new user had to copy a dozen curl … install.sh | sh lines 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
    • Runs each missing *-use CLI's own installer. It downloads each installer before running it, so a failed download counts as a failure, not an empty script that "succeeds".
    • Skips what doesn't run on this machine (wechat-use on Intel Macs, motion-use on Windows) and what's already installed. If one install fails, it carries on with the rest and exits non-zero.
    • At the end it lists the one-time setup some CLIs need: memory-use init, mail-use apple-mail import, Full Disk Access for message-use, DISCORD_TOKEN.
    • | sh -s -- mail-use ocs installs just those, including iphone-use, which isn't in the default set because it needs an iPhone.
  • doctor.sh and install-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.
  • README and the routing skill mention it. use-family version 0.9.1 → 0.10.0.

Tests

  • New tests/install-clis.test.sh (added to CI) with a fake curl and uname. 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.sh and install-use-family.test.sh are updated for the new hints.
  • End to end on an Intel Mac, with real installers, a fresh HOME and the system PATH: 12 of 13 installed. image-use failed because macOS's python3 is 3.9; that's fixed in leeguooooo/image-use (fix/install-old-python).

🤖 Generated with Claude Code

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>
@coderabbitai

coderabbitai Bot commented Oct 9, 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: 027cf75e-36b6-4d7e-a861-0a0a581bc439
  • 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 e9525bc into main Oct 9, 2026
2 checks passed
@leeguooooo
leeguooooo deleted the feat/install-clis branch October 9, 2026 01:14
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