Open jon-ward-unmind opened 2 months ago
Oh, interesting. More generally, I think a rename
feature that supports file paths and patterns might be handy. A PR to add something along those lines is very welcome.
This sounds similar to gomplate
and its --output-map
.
I'd like to be able to specify a file extension for my templates that will be removed from the rendered files in the output directory. For example,
main.tf.tmpl
would be rendered tomain.tf
.This would allow me to see at a glance whether a file is a template or not, and also avoid having to configure linting tools to ignore specific files or directories.