Module project_init::render

source ·
Expand description

Module containing functions for rendering templates

Traits

Trait allowing us to create dirs/templates/files.

Functions

Function to write a file from a static string
Render a list of directories, substituting in templates
Render a static string and write it to file
Create all the files, and return a list of files that have been created suitable for insertion into a HashBuilder
render a <Vec<String>> of templates, doing nothing if it’s empty.
Write a file from a static string