Cherry.Commands.Upgrade (cherry v0.6.0)

Copy Markdown View Source

Upgrades the standalone cherry binary in place (ADR 0007).

Usage

cherry upgrade [--check] [--version vX.Y.Z] [--json]

Resolves the latest stable GitHub release (or --version for a specific tag, prereleases included), downloads this platform's binary, verifies it against the release's SHA256SUMS, and swaps the running executable — rustup/deno style.

--check only reports whether an upgrade is due and works anywhere; the swap itself needs the standalone binary. Mix users upgrade with mix deps.update cherry as ever.

--api-base URL retargets the GitHub API for mirrors and tests.