Skip to content

EManual/EManual-GitBook-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EManual-gitbook-cli v dep devDep

EManual ❤️ 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 .

About

EManual ❤️ GitBook with cli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published