Skip to content

ruby-native/pingrb-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pingrb cli

Send yourself a push notification from anything that can shell out.

Install

brew install ruby-native/tap/pingrb

Or build from source:

go install github.com/ruby-native/pingrb-cli@latest

Usage

pingrb configure <your-token>
pingrb "deploy failed"
pingrb "job done" --body "backfill finished" --url https://example.com/jobs/42
some-long-job && pingrb "$?" --body "done"

Get the token by adding a CLI source on https://pingrb.com.

Config is stored at the platform's standard user config dir (~/.config/pingrb on Linux, ~/Library/Application Support/pingrb on macOS).

Set PINGRB_HOST to point at a non-production instance (defaults to https://pingrb.com).

Develop

go test ./...
go build -o pingrb .
./pingrb --help

Release

Tag and push:

git tag v0.1.0
git push --tags

GitHub Actions builds binaries for darwin and linux on amd64 and arm64 via goreleaser, then publishes them as a GitHub Release.

About

Companion CLI for pingrb.com, a tiny push notification app to get alerts on anything.

Resources

Stars

Watchers

Forks

Contributors

Languages