Skip to main content

Module update

Module update 

Source
Expand description

Application self-update command.

Handles checking for and installing newer versions of kasl from GitHub releases with automatic binary replacement and backup capabilities.

§Features

  • GitHub Integration: Checks latest releases via GitHub API
  • Cross-Platform Support: Works on Windows, macOS, and Linux
  • Safe Updates: Creates backups before replacing binaries
  • Watcher Management: Automatically stops and restarts monitoring daemon
  • Version Detection: Compares current version with latest available

§Usage

# Check for and install updates
kasl update

Functions§

cmd
Executes the application update process.