tg - Telegram CLI
tg sends messages and files to a pre-configured Telegram chat.
Setup
Ask the user to run tg setup once to configure the bot token and chat ID.
You cannot do the setup alone.
Sending messages
# Positional arguments
tg "Hello, World!"
tg hello world
# From stdin
echo "build done" | tg
cat log.txt | tg
# Escape sequences
tg -e "line one\nline two"
# Parse modes
tg -m markdown "*bold* _italic_"
tg -m html "<b>bold</b>"
# Silent (no notification)
tg -s "lo
[Description truncada. Veja o README completo no GitHub.]