#改自slackcat-> Feishucat
A simple way of sending messages from the CLI output to your Feishu with webhook.
- If you have go1.13+ compiler installed:
go build -o feishucat main.go
1 (optional): Set FEISHU_WEBHOOK_URL
environment variable.
export FEISHU_WEBHOOK_URL="https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxx"
It's very simple!
▶ echo -e "Hello,\nworld!" | ./feishucat
Usage of slackcat:
-1 Send message line-by-line
-u string
Slack Webhook URL
-v Verbose mode
The goal is to get automated alerts for interesting stuff!
▶ echo 123| feishucat -1