@ravvdevv/ding
v1.0.0
Published
Minimal CLI tool for Discord notifications and command wrapping.
Readme
ding
Simple CLI tool to send Discord notifications.
Features
- Send messages to Discord from terminal.
- Pipe command output directly to Discord.
- Run commands and get notified when they finish.
- Automatic duration tracking and host identification.
Installation
Install globally using bun:
bun add -g @ravvdevv/dingUsage
Send a message
ding -m "Task finished"Pipe input
echo "Backup complete" | dingRun a command
ding run "npm test"The tool sends a notification when the command completes. It includes the exit status, duration, and host name.
Configuration
On first run, the tool asks for a Discord Webhook URL.
- Global Config:
~/.ding/config.json - Local Override:
.ding/config.jsonin current directory
