Module update

Module update 

Source
Expand description

Self-update module.

This module provides self-update functionality for CLI tools, including:

  • Checking for latest releases on GitHub
  • Downloading release binaries
  • Verifying checksums
  • Replacing the current binary

Functionsยง

get_latest_version
Get the latest version from GitHub releases.
run_update
Run update command to install latest or specified version.