Closed brikis98 closed 2 years ago
My mind went to a .boilerplateignore
file that has the same syntax as .gitignore
, but I dislike having more than one file beyond boilerplate.yml
, so the first option you suggested looks good.
Agreed. That said, a --ignore
command line flag could be useful too, as sometimes, you may not want to tweak the entire template for a single use case.
This is implemented now with the skip_files
config.
boilerplate
should support some way of specifying files in the template-folder to ignore while generating. Some of the ways ignores could be specified include:A new top-level section in
boilerplate.yml
calledignores
. Example:A
--ignore
flag that can be specified one or more times on the command-line. Example: