Follow

好久不更新了,今天继续。
今天介绍的小工具叫jinja2-cli。这个工具接受一个json/yaml类的数据作为数据源,然后渲染一个template文件。从名字里就能看出来,渲染引擎是Python的jinja2。
关键注意一点。这个引擎不仅能渲染html,而且能渲染txt。所以他可以作为从简单设定生成复杂配置的工具。 twitter.com/shell909090/status

t.me/private_channel_c14370a/4

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.