yesmeck / waque

[不再维护]同步本地 Markdown 文档到语雀

Home Page:https://github.com/yesmeck/waque/blob/master/docs/getting-started.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

能通过命令行参数指定不同的 yuque.yml 么?

coanor opened this issue · comments

在当前目录下,由于要发布测试文档到不同的 repo,故其配置可能不同:

repo: 'production/repo'
# repo: 'testing/repo'

如果能通过命令行参数指定不同的 yaml 配置就好了:

waque -conf testing.yaml upload  path/to/doc/*.md