import_draft: Import multiple patterns into a single draft object
Description
When working with multiple patterns that will be woven into a template,
it makes sense to have all patterns stored in a central object. This
function creates that object from a named vector of filenames to be used
in further generation, importing the files via
import_pattern.
Usage
import_draft(...)
Arguments
...
A named vector of filenames which will be imported as
patterns stored in the returned draft, with the names used as indices.
Files should be plain text.
Value
Returns a list (the same length as ...)
containing the imported patterns.