VCB-Studio Draft Generator 发布稿生成器
Project description
# VDG (VCB-S Draft Gen)
![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) [![Deploy to PyPI](https://github.com/diazchika/vdg/actions/workflows/python-publish.yml/badge.svg)](https://github.com/diazchika/vdg/actions/workflows/python-publish.yml)
## Introduction
主要是使用 Jinja2 对 HTML 模版进行填充以达到生成发布稿的效果。只需要把发布信息填写在 YAML 文件里就可以轻松生成三分发布稿(并不是终稿)✌️。
[生成样品](https://github.com/diazchika/vdg/tree/main/test)
## Installation pip install vdg
## Usage
### 生成新 YAML 文件
vdg new –path <path>
会在`<path>`路径下生成 config.yaml,里面很多发布信息要填…
<path> 默认为 config.yaml
YAML 里具体有什么看[这里](https://github.com/diazchika/vdg/blob/main/vdg/templates/yaml.template)。
### 生成发布稿件
vdg gen –path <path-to-yaml>
会读取`<path-to-yaml>`指定的 yaml 文件,并根据它生成发布稿。
<path> 默认为 config.yaml
### 其他
vdg -h
## 点评
diazchika: 总之就是一道大型填空题
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.