/docman-cli

CLI management tool of DocMan. Give you ability to quick create and manage your DocMan instance.

Primary LanguageJavaScriptMIT LicenseMIT

DocMan CLI - 命令行 DocMan 脚手架工具

DocMan CLI 是一款命令行 DocMan 脚手架工具,赋予您快速创建和管理 DocMan 实例的能力。

相关链接 / 参与贡献

快速开始

安装 DocMan CLI :

$ npm install docman-cli -g
$ docman --help

创建 DocMan 实例:

$ docman create hello-world

进入 DocMan 实例,安装 NPM 依赖,然后开始构建:

$ cd hello-world
$ npm install
$ npm run build

构造得到的 HTML 站点文件将会输出至 DocMan 实例的 dist 目录下,您可以使用 Web 服务器进行发布。