#!/bin/bash # App Updater Commands Header # Shows available `libreportal updater` subcommands. cliShowUpdaterHelp() { echo "" echo "Available App Updater Commands:" echo "" echo " libreportal updater check [auto] - Refresh per-app version & vulnerability data" echo " (auto = background mode: only scans when the data is" echo " older than CFG_UPDATER_SCAN_INTERVAL minutes)" echo " libreportal updater apply - Update one app (snapshots it first; auto-rollback on failure)" echo " libreportal updater apply-all [a,b] - Update a comma-list of apps (each snapshotted first)" echo " libreportal updater rollback - Restore an app's most recent pre-update snapshot" echo "" echo "Every update takes a recovery snapshot via the Backup engine before" echo "touching the app, so any update is reversible. These commands back the" echo "WebUI Updates page (features/updater); actions run through the task system." echo "" }