{"repo":"schneidexe/tpl","free":true,"listed":false,"github":"https://github.com/schneidexe/tpl","clone":"git clone https://github.com/schneidexe/tpl.git","description":"Use go templates with simple and complex environment variables","language":"Go","stars":21,"topics":["template","environment"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"tpl tpl is build for generating config files from templates using simple or complex (lists, maps, objects) shell environment variables. Since the binary has zero dependencies it is build for docker but you can use it across all platform and operating systems. tpl uses sprig to extend golang's template capabilities. Check the test section and have a look at test.tpl (template) and text.txt (result) in test folder for examples. setup Just download the binary for your OS and arch from the releases page. If you want to use it inside your docker image you can add this to your Dockerfile : build Local: X-Platform: test","default_branch":null,"files":null,"tree":[],"storefront":"/r/schneidexe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/schneidexe/tpl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}