【文件属性】:
文件名称:bash-templater:Ever最简单的模板引擎(15行BASH)
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-09 09:17:06
bash awesome simple templates minimalist
重击模板
有史以来最简单的模板引擎(用BASH编写)
TL; DR
正在安装:
bpkg install vicentebolea/bash-templater
使用它:
templater vars < file>
这个rules文件:
NAME=LEOPOLDO WINSTON
EMAIL=leothewinston \@ leoserver.com
您执行以下命令:
templater rules < file>
唯一的规则
在规则文件中转
【文件预览】:
bash-templater-master
----package.json(163B)
----.travis.yml(198B)
----LICENSE(1KB)
----README.md(1011B)
----templater(267B)
----test()
--------output(109B)
--------test-runner.sh(92B)
--------vars(59B)
--------input.template(81B)