Skip to content

A command-line tool that provides multi-channel notifications (desktop, phone, email, popup) based on command outcomes (success, failure, user input required, crash).

Notifications You must be signed in to change notification settings

rusty3699/terminal_notifier

Repository files navigation

Terminal Notifier

Terminal Notifier is a Python package designed to provide simple notifications about command execution in the terminal environment. It offers the capability to display notifications and play sounds upon completion of commands, enhancing user experience and workflow.

Installation

You can install Terminal Notifier via pip:

pip install terminal-notifier

https://pypi.org/project/terminal-notifier/

Usage

from terminal_notifier import notify_execution

notify_execution(scenario="success")
notify_execution(scenario="failure")
notify_execution(scenario="user_input_required")
notify_execution(scenario="crash")
notify_execution(scenario="unknown")




Custom Messages

notify_execution(scenario="failure", custom_message="Command failed to execute!")
notify_execution(scenario="custom", custom_message="Custom message here")

Made with ❤️ Anish

About

A command-line tool that provides multi-channel notifications (desktop, phone, email, popup) based on command outcomes (success, failure, user input required, crash).

Resources

Stars

Watchers

Forks

Languages