mirror of
https://github.com/larksuite/cli.git
synced 2026-07-03 14:02:43 +08:00
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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 "客户台账"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user