template
¶
| CLASS | DESCRIPTION |
|---|---|
Template |
A collection of templated files and things to do with them. |
Template
¶
Template(
ctx: CliContext,
template_uri: Path | str,
src_excludes: list[str] | None = None,
*,
template_name: TemplateName | str | None = None,
ref: str | None = None,
)
A collection of templated files and things to do with them.
Represents both the current state of a template (akin to copier's
Template) and some operational logic against it (akin to copier's
Worker).
| ATTRIBUTE | DESCRIPTION |
|---|---|
commit |
The value that will be saved in the answers file.
TYPE:
|
Source code in nava/platform/templates/template.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | |