Blog content source CLI
What is this
Get content by issue on Git service, then transfer to Markdown file.
Support
- [x] Github
- [ ] Bitbucket
- [ ] GitLab
Install
$ yarn add @ivanwei/blog-content-source-cli
How do use
Get current version
$ b.content --version
Refresh contents
$ b.content refresh
Option | Required | Default | Description |
---|---|---|---|
-G, --git-service <gitService> | github | Choose git service | |
-u, --username <username> | Username or user's id on git service | ||
-R, --repository | Repository's name | ||
-l, --label | |||
-o, --output | ./ | 輸出時的資料夾 | |
--git-token | Git service's token |
Option "-G" is finish yet.