【文件属性】:
文件名称:自动结构:使用yaml创建自动结构项目的简单脚本
文件大小:3KB
文件格式:ZIP
更新时间:2021-03-01 16:35:06
Python
使用yaml创建自动结构项目的简单脚本
例子:
结构项目的Yaml文件:
# pattern.yml
- dir :
contents :
- dir :
name : services
contents :
- file :
prefix : " - "
ext : services.module.js
- file :
prefix : " - "
ext : services.service.js
- file :
ext : component.js
- file :
ext : module.js
- file :
ext : scss
- file :
【文件预览】:
auto-structure-master
----__init__.py(0B)
----utils()
--------__init__.py(32B)
--------read_yaml.py(90B)
--------__pycache__()
----README.md(1KB)
----auto.py(992B)