Module update

Module update 

Source
Expand description

Self-update module.

This module provides self-update functionality for CLI tools by delegating to the install script (install.sh), which handles:

  • Checking for latest releases on GitHub
  • Downloading release binaries
  • Verifying checksums (mandatory)
  • Version comparison and upgrade logic
  • Replacing the current binary

Functionsยง

run_update
Run update command to install latest or specified version.