Skip to content

singh1469/dead-mans-snitch-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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

About

CLI utility to check your snitches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published