Summary
Add a self-update command to the Surfpool CLI (e.g. surfpool update or surfpool upgrade) that checks for the latest release and updates the binary in place.
Motivation
Modern CLIs like bun upgrade and claude update provide a frictionless self-update experience. Surfpool should offer the same — users shouldn't need to manually download new releases or re-run an install script.
Proposed Behavior
surfpool update — check for the latest GitHub release, download and replace the current binary if a newer version is available
- If already on the latest version, print a message and exit
- Show download progress
- The command should appear in the
--help menu
Acceptance Criteria
Summary
Add a self-update command to the Surfpool CLI (e.g.
surfpool updateorsurfpool upgrade) that checks for the latest release and updates the binary in place.Motivation
Modern CLIs like
bun upgradeandclaude updateprovide a frictionless self-update experience. Surfpool should offer the same — users shouldn't need to manually download new releases or re-run an install script.Proposed Behavior
surfpool update— check for the latest GitHub release, download and replace the current binary if a newer version is available--helpmenuAcceptance Criteria
update(orupgrade) subcommand added to the CLIsurfpool --helpoutput