Generate a new directory from a template, given a predefined context
generate_files(
template_dir,
output_dir,
context = list(),
context_prefix = NA,
exclude = c(),
overwrite = FALSE
)
Template directory to copy
Target directory to copy to (defaults to project directory)
Data available in templates
Prefix key to apply to context data (see description)
Files to exclude, as an array of paths with respect to the template directory
Whether to overwrite existing files