创建一个新的插件骨架后,里面没有任何内容doc/main.md
,
并且插件 sdk 文档没有概述要保存在该文件中的特定数据格式。
它的目的是什么?
它是否应该包含与每个.js
文件相关的特定数据?
还是完全由开发人员决定格式和/或内容?
rob@workLaptop:~/test$ cfx init
* lib directory created
* data directory created
* test directory created
* doc directory created
* README.md written
* generated jID automatically: jid1-hDoBEUyOVCBwuw
* package.json written
* test/test-main.js written
* lib/main.js written
* doc/main.md written
Your sample add-on is now ready.
Do "cfx test" to test it and "cfx run" to try it. Have fun!
rob@workLaptop:~/test$ ls
data doc lib package.json README.md test
rob@workLaptop:~/test$ cat doc/main.md
rob@workLaptop:~/test$