@2890594972
2017-10-29T12:45:18.000000Z
字数 396
阅读 1374
工具
npm install -g i5ting_toc
tocmd.npm git:(master) ✗ i5ting_toc -h
Usage: i5ting_toc a node npm wrapper of i5ting_ztree_toc https://github.com/i5ting/i5ting_ztree_toc
Options:
-h, --help output usage information
-V, --version output the version number
-f, --file [filename] default is README.md
-o, --open open in browser
-v, --verbose 打印详细日志
i5ting_toc -f sample.md -o
这个版本的命令比较简单,只有一个-f参数,如果没有填写,默认使用README.md,常见用法