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 details)

Uploaded Source

File details

Details for the file naf-0.3.2.tar.gz.

File metadata

  • Download URL: naf-0.3.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for naf-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b44eccba3408152266ab834fd5af8c7f4742f297e55d1d47600bd5a61f307308
MD5 e4f0bed57ea4ea8b0f519932cdaa3590
BLAKE2b-256 93d558693716ef8017a5b7b6fa8654f23aa084a2b68040d39056a52f71a7d298

See more details on using hashes here.

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