The feishu module enables users to send text and interactive rich text messages to Feishu groups via bot webhooks.
When to Activate
- When sending automated status updates to a Feishu group.
- When creating rich text notifications with clickable links and titles.
- When integrating Feishu alerts into terminal-based automation scripts.
Core Principles & Rules
- Webhook Required: Configure the
webhookurl viainitor--cfg. - Rich Text Support: Use
--richtextto include titles, links, and structured text.
Patterns & Examples
Send Simple Text
# Send a basic text message to Feishu
x feishu send --text "New version released"
Send Rich Text
# Send a message with a title and an embedded link
x feishu send --richtext --title "Project Update" --text "Check details here:" --url "website" "https://x-cmd.com"
Checklist
- Verify the Feishu webhook URL is set up.
- Confirm if rich text formatting is required for the message.