emanual-gitbook-cli
v1.2.4
Published
EManual :heart: GitBook with cli
Downloads
7
Readme
EManual-gitbook-cli
EManual :heart: GitBook with cli
安装
$ npm install -g emanual-gitbook-cli
使用
根据SUMMARY.md
创建summary.json
详情:issue #1
$ gitbook-ext summary [-f --format] [-o --out] summary.json SUMMARY.md
压缩给定目录下的html/css/js
详情:issue #2
$ gitbook-ext minify <folder>
合并多个json文件
详情:issue #6
$ cd test/fixtures
$ gitbook-ext jsonmerge json/a.json json/c.json > result.json
$ gitbook-ext jsonmerge json/a.json json/b.json > result.json
$ gitbook-ext jsonmerge json/*.json > result.json
开发
$ cd path/to/EManual-Gitbook-cli
$ nvm use
$ npm link .
#remove
$ npm unlink .