deploy_tools.templater#

Members

TemplateType

Enumerates the template files used to generate deployment output.

Templater

Abstracts the specifics of jinja2 templating and our particular template files.

class deploy_tools.templater.TemplateType(*values)[source]#

Enumerates the template files used to generate deployment output.

class deploy_tools.templater.Templater[source]#

Abstracts the specifics of jinja2 templating and our particular template files.

File permissions are also managed here to ensure consistency of output between different Application types.

create(output_file: Path, template: TemplateType, parameters: dict[str, Any], executable: bool = False, overwrite: bool = False, create_parents: bool = False) None[source]#

Create an output file, using the given template and template parameters.