feat: add update-token command to replace API token in-place

This commit is contained in:
Joel Male
2026-02-26 21:36:41 +10:00
parent 28a555c1de
commit 541c239b7e
2 changed files with 63 additions and 5 deletions
+6 -5
View File
@@ -42,11 +42,12 @@ ## What It Collects
## CLI Commands
```bash
sudo pulsewise-collector version # show version, check for updates
sudo pulsewise-collector update # download and install latest version
sudo pulsewise-collector status # show config, service state, last pulse
sudo pulsewise-collector dump # print full metrics payload as JSON
sudo pulsewise-collector uninstall # remove binary, config, and service
sudo pulsewise-collector version # show version, check for updates
sudo pulsewise-collector update # download and install latest version
sudo pulsewise-collector update-token <new-token> # replace the API token and restart
sudo pulsewise-collector status # show config, service state, last pulse
sudo pulsewise-collector dump # print full metrics payload as JSON
sudo pulsewise-collector uninstall # remove binary, config, and service
```
## Configuration