Public | Automated Build

Last pushed: 2 years ago
Short Description
CLI tool for https://deadmanssnitch.com
Full Description

##About
CLI utility to check your snitches.

Uses dead-mans-snitch library.
Powered by NodeJS harmony

##Why
Purpose of this project was two fold;

  • Need a CLI utility to check my snitches.
  • Play around with NodeJS --Harmony

##Usage

  • Download project (git clone)
  • Run npm install
  • Assign key to an environment variable named DEAD_MANS_SNITCH_KEY.
  • In project directory run node --harmony index.js --help

#####Only tested on OSX & Ubuntu 14:04

##Docker support
This utility can also run as a Docker container.
https://hub.docker.com/r/singh1469/dead-mans-snitch-cli/

#grab your api key
docker run -e DEAD_MANS_SNITCH_KEY=<API_KEY>  singh1469/dead-mans-snitch-cli ./run.sh --list

##Example usage

  • List all snitches: node --harmony index.js --list
  • List healthy snitches: node --harmony index.js --healthy
  • List unhealthy snitches: node --harmony index.js --unhealthy

##Todo

#####output errors to var/log

#####tests

Docker Pull Command
Owner
singh1469
Source Repository