Skip to content

CLI Reference

FlagDescription
--config <path>Path to config file (default: ~/.config/sznuper/config.yml or /etc/sznuper/config.yml)
-v, --verboseEnable debug logging

Start the daemon. Runs healthchecks on their configured schedules and sends notifications.

FlagDescription
--dry-runSimulate alerts without sending notifications

Generate a config file. Launches an interactive TUI by default.

FlagDescription
--from <path|url>Base config to start from
--add-service <name:url>Add a notification service (non-interactive mode, repeatable)
--forceOverwrite existing config
-o, --output <path>Output path (overrides default location)

Run alerts once and exit. Runs all alerts if no name is given.

FlagDescription
--dry-runSimulate without sending notifications

Validate the config file and verify all healthchecks are reachable.

Print version information.

Print the SHA-256 hash of a file. Useful for pinning healthcheck integrity in config.