- Rust 100%
|
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
|
||
|---|---|---|
| src | ||
| .gitignore | ||
| .woodpecker.yaml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Puwusher - A Pushover CLI
I needed a simple way to send messages to my phone when a build finished, and I use Pushover already for other things (I use an iPhone so Ntfy is sadly not an option) so I built a small API wrapper.
Examples
Send a message: puwusher --application-token XXXX --user-key XXX Hello World!
For a full list of possible flags, check out puwusher --help.
If you want to use puwusher in a pipeline (I know I want to) then you can use --silent to suppress any messages from being written to stdout and stderr. You can still use the exit code to determine if a message has been sent (0 being success, -1 being a config error and -2 being a message send error)
If you want to configure a default application token and user key, you can do that in $XDG_CONFIG_HOME/Puwusher.toml:
application_token = "XXX"
user_key = "XXX"