0.0.6 • Published 4 years ago

tong-cli v0.0.6

Weekly downloads
11
License
ISC
Repository
github
Last release
4 years ago

trx-cli

命令行工具

指令

一、使用

在项目中使用trx-cli

一、安装

npm install trx-cli -S

二、使用

trx generate

二、generate解析meakdown文件,解析ymal文件

解析目标项目下source/_posts中的markdown文件,在 src/db 下 生成 posts.json 解析项目根目录下的 _config.yml文件, 在 src/db 下 生成 config.json

postsPath 默认值 source/_posts ymlPath 默认值 _config.yml targetPath 默认值 src/db

trx generate [postsPath] [ymlPath] [targetPath]
0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago