KScript 文档
ZH

变更内容

文件

之前 现在
以 <kscript> 开头的 hello.ks,或普通的 hello.xml hello.ks.xml 用于 XML 形式,hello.kscript 用于默认形式
name.test.xml name.test.ks.xml 或 name.test.kscript
由 kscript make 写入、在 snake_case 中指定的文件 kebab-case 文件名:middleware/request-id.kscript、lib/notes-client.kscript

kscript convert 可将脚本在两种形式之间转换,并重命名指向它的导入。参见 .kscript 格式。