Skip to content

Commit 5307673

Browse files
authored
docs(skills): add rename prompt for import without --name (#1461)
When --name is omitted, remind user that the title defaults to the source filename and may duplicate content headings, causing visual redundancy. Ask whether to rename before executing the import.
1 parent a3bee13 commit 5307673

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

skills/lark-drive/references/lark-drive-import.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
> 这是 Drive 导入场景,不是 `lark-base` 的建表 / 写记录场景。
1010
> 只有导入完成并拿到新文档的 `token` / `url` 后,后续字段、记录、视图等表内操作才切换到 `lark-cli base +...`
1111
12+
## 导入后标题确认
13+
14+
> [!IMPORTANT]
15+
> 当用户**未传 `--name`** 时,文档标题默认取源文件名(去掉扩展名)。在执行导入前,先友好提示用户:「当前未指定文档标题,默认将使用"xxx"作为标题。如果文件内容中也包含相同标题,导入后可能造成视觉重复。是否需要重命名?」让用户确认后再继续。
16+
1217
## 命令
1318

1419
```bash

0 commit comments

Comments
 (0)