Add one-line install script; refresh README - #3
Merged
Conversation
- add install.sh: detects OS/arch, downloads the matching prebuilt binary from the latest GitHub release, installs to BINDIR (default /usr/local/bin, falls back to ~/.local/bin), then runs `mail-cli install-skill` - README: replace the multi-line curl|grep|mv snippet with a single `curl -fsSL .../install.sh | sh`; add an agent copy-paste one-liner - README: drop dead PLAN.md link (point at AGENTS.md), fix License to MIT Co-authored by PeakBot!
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.
What
Replaces the ugly multi-line install snippet with a proper installer and a single copy-paste command.
install.sh(new)A POSIX
shscript that:linux-amd64,macos-amd64,macos-arm64) and fails loudly on anything unsupported./releases/latestAPI — version-agnostic, so it keeps working across future releases.BINDIR(default/usr/local/bin,sudoif needed, falls back to~/.local/bin), warns if the target dir isn't onPATH.mail-cli install-skillautomatically. Overridable viaBINDIR=...andINSTALL_SKILL=0.README
curl -fsSL https://raw.githubusercontent.com/patch-notes/mail-cli/master/install.sh | shPLAN.mdlink → points atAGENTS.md.See repository→ MIT).cargo build/installto an optional "Build from source" note.Testing
sh -n install.sh— clean.linux-amd64release URL.Note: the
curl | shraw URL works once this lands onmaster.Co-authored by PeakBot!