1.0.3 • Published 8 years ago

noe v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Notify on Exit (NOE)

Have you ever wanted an SMS notification when a particular command exits? Notify on Exit can help!

Example:

$ noe -r 'node import.js'

In this example noe will run node import.js and notify the configured recipient of the exit code.

Note: if you are running a command with 1 or more arguments it must be wrapped in quotes.

Installation

Prerequisites

  • Twilio account
  • Twilio phone number
  • Node.js
  • NPM

Install

  • $ sudo npm install noe -g
  • $ noe

The first time you run noe it will ask you to enter your Twilio SID, Twilio auth token, Twilio phone number and recipient phone number(s), which will be saved into .noe-config.json of your home directory.

It is recommended to test your config file before using noe, simply run noe --test.

You may edit the config file directly or run noe --init to initialize a new config file.

Options

OptionDescription
-h, --helpoutput usage information
-V, --versionoutput the version number
--initInitiate new config file
-t, --testSend test message
-r, --runCommand to exacute and watch
-p, --phonesPhone number(s) to notify (comma separated)
-l, --labelCustom label for task
1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago