Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 721 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 721 Bytes

#改自slackcat-> Feishucat

A simple way of sending messages from the CLI output to your Feishu with webhook.

Installation

  • If you have go1.13+ compiler installed: go build -o feishucat main.go

Configuration

1 (optional): Set FEISHU_WEBHOOK_URL environment variable.

export FEISHU_WEBHOOK_URL="https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxx"

Usage

It's very simple!

echo -e "Hello,\nworld!" | ./feishucat

Flags

Usage of slackcat:
  -1    Send message line-by-line
  -u string
        Slack Webhook URL
  -v    Verbose mode

Workaround

The goal is to get automated alerts for interesting stuff!

echo 123| feishucat -1