1 Star 0 Fork 19

各类常用技术,算法-工具的服务化 / loppo

forked from hiekay / loppo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
commands.md 924 Bytes
一键复制 编辑 原始数据 按行查看 历史
ruanyf 提交于 2017-01-07 23:52 . docs: edit README

Commands

Loppo supports several commands.

loppo server

loppo server builds the document site at first, and thereafter launch a web server on 8080 port for dist sub-directory.

$ loppo server

After running the comand, you could visit http://127.0.0.1:8080 in your browser.

This command is helpful for preview when you develop your documents.

loppo count

loppo count will output statistic information of your documents.

$ loppo count

[Files] 56
[Lines] 8885
[Words] 51555
[Chars] 362931

Attention, before using this command, chapters.yml must already be existed. Otherwise you will get an error.

loppo count has two options.

# output every markdown file's statistic information
$ loppo count --detail

# output a specified markdown file's statistic information
# the file path should be same as the corresponding item in chapters.yml
$ loppo count -f some.md
NodeJS
1
https://gitee.com/Component_Technology/loppo.git
git@gitee.com:Component_Technology/loppo.git
Component_Technology
loppo
loppo
master

搜索帮助