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
160 stars 12 forks source link

Add templateFolder and outputFolder helpers #27

Closed brikis98 closed 7 years ago

brikis98 commented 7 years ago

These two helpers are useful for building relative file paths. For example, you may want to use the shell helper to call packer to build an AMI from a Packer template. That Packer template may have been one of the outputs of the boilerplate code generation, so to build a relative file path to it, you can use the outputFolder helper.

brikis98 commented 7 years ago

@josh-padnick Auto-merging so I can try this out with some changes in usage-patterns. Feedback welcome.