0.0.1 • Published 2 years ago

tgnotify v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

tgnotify A simple utility command to send message to Telegram via CLI. This can be handy if you have a long running task and want to know when it's done.

python3 train.py && tgnotify -m "Done!" \
  -i <chat_id> \
  -t <token>

Installation

npm install -g tgnotify@latest

Help

Usage
  
  $ tgnotify

Options
  
  --message, -m Message to send.
  --token, -t Telegram bot token.
  --id, -i  Chat/Channel ID to send the message to.
  --verbose, -v Print debug messages

Examples
  
  $ tgnotify listen - to listen for ChatID by sending /id command to the bot.
0.0.1

2 years ago

1.0.0

5 years ago