Gitbook常用命令

npm install gitbook-cli -g

gitbook ls :列出本地安装版本;

gitbook current :列出当前使用版本;

gitbook ls-remote :列出远程可使用版本;

gitbook fetch 2.6.9 :安装2.6.9版本;

gitbook uninstall 2.6.9 :卸载指定版本;

gitbook update 2.6.9 :更新到指定版本,没有指定版本则到最新;

gitbook install :安装当前项目所需插件;

gitbook build :构建成Html文件,默认在_book目录下;

gitbook serve:启动服务;

gitbook pdf :输出pdf电子书;

gitbook epub:输出epub电子书;

gitbook mobi :输出mobi电子书;

posted @ 2019-11-21 16:11  那钢绕指柔  阅读(2145)  评论(0编辑  收藏  举报