0.0.2 • Published 3 years ago

trx-file-cli v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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.2

3 years ago

0.0.1

3 years ago