Expand description
zenith update — self-update by piping the published install script to sh.
This is the system-facing edge of the CLI: it spawns processes and mutates
the install directory. It therefore lives outside commands/, which is pure
and never touches the environment. lib.rs owns the stdout/stderr edge; this
module owns the process plumbing and returns a plain Result.
Zenith has no project domain, so the install script is fetched straight from
GitHub’s raw endpoint on the default branch — the same script the
curl … | sh one-liner uses.
Functions§
- run
- Download and run the install script, forwarding the channel/version flags.