2025-07-16 19:18:07 +08:00

21 lines
395 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## data.json
`deno run -A https://esm.xiongxiao.me/@kevisual/easy-tools/ai-cli/gen/data.ts`
##
列出当前文件夹的所有的文件列表然后生成一个json的数组。
数据格式是:
data.json的格式是
{
"files": [
{
"name": "文件名",
"path": "文件路径",
"preview": false
}]
}
文件路径默认是相对运行的路径preview默认为false