Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 919 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 919 Bytes

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