5 ms·
If anyone uses this, please share. As a newb, I would love to see some real use examples to learn from.
by learning_still 11y ago
If anyone uses this, please share. As a newb, I would love to see some real use examples to learn from.
- nextrevision 11y agoSure thing, I'm currently using it in docker as a lightweight way to set config files from environment variables. I'll put together a write up of how/why we are doing that and post the link in reply to this.
- TomFrost 11y agoJust today I made a suggestion in a Github issue[0] to use sed for a similar use case. There, it was to generate an Amazon ECS task definition file from a CI tool's environment variables. Using this, populating the list of environment variables by looping through the output of env and including anything that matches a given prefix would be a breeze. Thanks for the excellent tool! [0]: https://github.com/1science/wercker-aws-ecs/issues/4#issuecomment-146541641 https://github.com/1science/wercker-aws-ecs/issues/4#issueco...
- nextrevision 11y agoHere's the write up. Let me know if there's anything unclear! http://nextrevision.github.io/2015/sempl-templating-with-bash/ http://nextrevision.github.io/2015/sempl-templating-with-bas...
- learning_still 11y agoThis is perfect! Thank you for taking the time to make this. It gave me a much better understanding of what sempl is, how to use it, and what it can be used for.