#!/bin/bash # Notification Commands Header # Shows available `libreportal notify` subcommands. cliShowNotifyHelp() { echo "" echo "Available Notification Commands:" echo "" echo " libreportal notify test - Send a test message to every enabled channel" echo " libreportal notify send <body> - Send one message now (sev: info|high)" echo " libreportal notify task <task-id> - Notify about a finished task (used by the task processor)" echo "" echo "Channels (email, ntfy, Gotify, Discord, Slack, Telegram, Pushover) are" echo "configured under Settings → Notifications. The default policy notifies" echo "on FAILED background tasks only — a failed automatic update or backup" echo "reaches you without the WebUI being open. Cancelled tasks never notify." echo "" }