Project

notis

0.0
No commit activity in last 3 years
No release in over 3 years
notis is a Mac OSX utility that allows you to display a standard OSX toast message notification at the completion of a long-running command with the option to emit an audio signal.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
~> 0.9.2

Runtime

 Project Readme

Notis Gem Version

Mac OSX Command Line Application Notifier

notis is a Mac OSX utility that allows you to display a standard OSX toast message notification at the completion of a long-running command with the option to emit an audio signal.

Installation

Install the Ruby gem with the following command:

gem install notis

Usage

You can run the command that is to be tracked as an argument to notis or you can pipe the standard output from the command to notis. The way that you run it influences the level of detail that you receive in the notification text.

Run Command as an Argument to notis

Use the command to be tracked as an argument to notis and enclose it in quotes if it includes spaces or special shell characters. For example, if you are running the command longrunner bigfile.baf:

notis "longrunner bigfile.baf"

When you run notis with this syntax, you will receive a notification that identifies the completed command with up to 20 characters of the original command string.

Pipe Standard Output from Command to notis

You can also use notis by piping the standard output stream of another command to the notis standard input stream. Assuming that you are running the command longrunner bigfile.baf:

longrunner bigfile.baf | notis

With the latter syntax, notis displays a generic completion message.

Options

This utility provides the option to mute the standard output from the original command and to emit an audio signal that the command completed along with the notification toast message. These options can combined.

Mute Standard Output from the Tracked Command (-m, --mute)

notis -m "longrunner bigfile.baf"

or

longrunner bigfile.baf | notis -m

Emit Audio Signal as Part of the Notification (-b, --bell)

notis -b "longrunner bigfile.baf"

or

longrunner bigfile.baf | notis -b