pip install git+ssh://[email protected]/Benoitdw/warnme.git
.env file is needed for secrets. It has to be in $HOME/.config/.warnme
See the Wiki for informations how to create the file.
You can take the .env file as a template.
Usage: warnme [OPTIONS] [MESSAGE]
Options:
--level [warning|info|fail|success]
Indicate the level of the message
--help Show this message and exit.
from warnme.telegram_messager import TelegramMessager
TelegramMessager().send('hello ! :rocket:')
if you want to make your message mroe Fancy
from warnme.telegram_messager import TelegramMessager
from warnme.message import Message, LevelType
TelegramMessager().send(Message('fail', level=LevelType.FAIL)