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

not_path for skip #77

Closed yorinasub17 closed 2 years ago

yorinasub17 commented 2 years ago

This implements not_path for the skip directive, which is the inverse of path. That is, not_path can be used to express "skip everything but the files that match".

This is useful for https://github.com/gruntwork-io/terraform-aws-architecture-catalog/pull/439, where we want to express "skip all files but the envcommon config".

yorinasub17 commented 2 years ago

Thanks for review. Will open a follow up PR to address the docs.