Simple API client for Dead Man's Snitch
To check in for one of your snitches:
Snitcher.snitch("c2354d53d2")
You also may provide a message with the check in:
Snitcher.snitch("c2354d53d2", message: "Finished in 23.8 seconds.")
The default timeout of 2 seconds can be overridden:
Snitcher.snitch("c2354d53d2", timeout: 10)
You can also check in from the command line:
$ snitch c2354d53d2
If you want to include a message, use the -m
or --message
flag.
$ snitch c2354d53d2 -m "Finished in 23.8 seconds."
$ snitch c2354d53d2 --message "Finished in 23.8 seconds."
Snitcher is open source and contributions from the community are encouraged! No contribution is too small. Please consider:
- adding features
- squashing bugs
- updating documentation
- fixing typos
For the best chance of having your changes merged, please:
- fork the project
- push your changes, with tests
- submit a pull request with at least one animated GIF
A big thank you to Randy Schmidt for dreaming up Dead Man's Snitch in the first place and for entrusting its future to Collective Idea.
See LICENSE.txt for details.