Skip to main content

Notify At Finish allows you to pass an arbitrary shell command as an argument and get a nice notification when the command finishes.

Project description

Why?!

Daily programming tasks, such as code compilation and running automated tests, often consumes a lot of time even on rather small projects.

While alt-tabbing away from the command you just started, this simple tool will help you to get back on your development track as soon as possible.

Saving you minutes every day :)

Installation

On Linux with pip:

sudo pip install naf

On Mac OS X with pip (with Growl installed):

sudo pip install growl-py
sudo pip install naf

On Windows: In theory, naf should work on Windows wth Growl for Windows (http://www.growlforwindows.com/) and growl-py installed. I would highly appreciate any feedback on this.

From source:

git clone git://github.com/knutz3n/naf.git
cd naf
sudo python setup.py install

Usage

naf mvn clean install

This will run mvn clean install and notify you when the command has exited with the exit code it returned.

Customization

Customizations can be made by creating a file ~/.naf.conf.

Default configuration:

[Success]
description = finished successfully
 in %s
timeout     = -1
show        = true

[Failed]
description = failed with return code %s
 in %s
timeout     = -1
show        = true

[Aborted]
description = was aborted after
 %s
timeout     = -1
show        = true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

naf-0.3.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page