1.0.3 • Published 2 years ago
task-alert v1.0.3
task-alert
task-alert is a simple command-line tool that executes a specified command and sends a notification when the command completes successfully. It uses the node-notifier package to send desktop notifications.
Installation
To use task-alert, you'll need to have Node.js installed on your system. You can install task-alert globally using npm:
npm install -g task-alertUsage
task-alert -c <command> [-m <message>]The -c option specifies the command to execute, and the -m option specifies the notification message to display (optional). For example:
task-alert -c "echo 'Hello, world!'" -m "Test notification"This command will execute the echo 'Hello, world!' command and display a notification with the message "Test notification" when it completes successfully.
License
task-alert is released under the MIT License.
Demo
