Performs the application of given key/value pairs to a source template, with generated results written to an output file.
Functions applyTemplate
accepts three arguments:
- Source template file.
- Target output file generated.
- List of key/value pairs as an array.
With the given source template: