From 8ec95a4e393c629d9cced98fe22e1ee64d990a4f Mon Sep 17 00:00:00 2001 From: fangshuyu-768 Date: Mon, 27 Apr 2026 15:25:30 +0800 Subject: [PATCH] docs(lark-drive): add missing import command examples (#669) Add example commands for file types declared in the supported-conversions table but absent from the command examples section: .docx/.doc, .txt, .html, .xls -> sheet, and .csv -> sheet. Co-authored-by: Claude Opus 4.7 (1M context) --- .../lark-drive/references/lark-drive-import.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/skills/lark-drive/references/lark-drive-import.md b/skills/lark-drive/references/lark-drive-import.md index 4fb3049f..feb581f0 100644 --- a/skills/lark-drive/references/lark-drive-import.md +++ b/skills/lark-drive/references/lark-drive-import.md @@ -12,12 +12,28 @@ ## 命令 ```bash +# 导入 Word 为新版文档 (docx) +lark-cli drive +import --file ./report.docx --type docx +lark-cli drive +import --file ./legacy.doc --type docx + # 导入 Markdown 为新版文档 (docx) lark-cli drive +import --file ./README.md --type docx +# 导入纯文本为新版文档 (docx) +lark-cli drive +import --file ./notes.txt --type docx + +# 导入 HTML 为新版文档 (docx) +lark-cli drive +import --file ./page.html --type docx + # 导入 Excel 为电子表格 (sheet) lark-cli drive +import --file ./data.xlsx --type sheet +# 导入 Excel 97-2003 (.xls) 为电子表格 (sheet) +lark-cli drive +import --file ./legacy.xls --type sheet + +# 导入 CSV 为电子表格 (sheet) +lark-cli drive +import --file ./data.csv --type sheet + # 导入 Excel 为多维表格 / Base (bitable) lark-cli drive +import --file ./crm.xlsx --type bitable --name "客户台账"