gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
158 stars 12 forks source link

Introduce sprig #49

Closed yorinasub17 closed 5 years ago

yorinasub17 commented 5 years ago

This integrates sprig into boilerplate so that the sprig functions are available in the templates rendered by `boilerplate.

Note that this isn't a straightforward integration. There are many functions that boilerplate provides that overlap with sprig that have conflicting behavior. To address these, I created an alias for the boilerplate and sprig versions so that both are available, with notes on which ones are supported and which ones are deprecated. See the README update for more details.

This PR also has a few miscellaneous improvements:

yorinasub17 commented 5 years ago

Going to merge and release this!