feat: AUTO_UPDATE config option, null next_update_check when disabled

- AUTO_UPDATE=false in config file disables auto-updating
- --no-auto-update flag still works as an override
- next_update_check is omitted from pulses when auto-update is disabled
- status command shows auto-update enabled/disabled state
- config.example documents the new option
This commit is contained in:
Joel Male
2026-02-25 14:54:07 +10:00
parent ac607c2757
commit c9f6f282a6
2 changed files with 32 additions and 13 deletions
+3
View File
@@ -9,5 +9,8 @@ TOKEN=your-token-here
# Optional — defaults to https://pulsewise.app/api/collect
# URL=http://localhost:8000/api/collect
# Optional — set to false to disable automatic updates (default: true)
# AUTO_UPDATE=false
# Optional — logs full response body from the server
# DEBUG=true