fd CLI (Feishu Document Reader)¶
The fd command reads Feishu documents and converts them to Markdown. Only available for Feishu bots.
Installation¶
Installed automatically by the MetaBot installer to ~/.local/bin/fd.
Commands¶
fd read <feishu-url> # read document by URL (docx or wiki)
fd read-id <docId> # read document by ID
fd info <feishu-url> # get document metadata
Options¶
| Flag | Description |
|---|---|
--bot <name> |
Specify which bot's credentials to use |
Supported URL Formats¶
https://xxx.feishu.cn/docx/xxxxx— Standalone docxhttps://xxx.feishu.cn/wiki/xxxxx— Wiki pagehttps://xxx.larksuite.com/docx/xxxxx— Lark docxhttps://xxx.larksuite.com/wiki/xxxxx— Lark wiki
Example¶
Output is Markdown text printed to stdout.