Templates
templates
Template path resolution for Copier scaffold templates.
TemplateInfo
Bases: BaseModel
Template metadata.
Note: type: ignore[explicit-any] flags pydantic BaseModel
internals (third-party).
Source code in packages/axm-init/src/axm_init/core/templates.py
TemplateType
get_template_path(template_type=TemplateType.STANDALONE)
Return path to a bundled Copier template.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
template_type
|
TemplateType
|
Type of template to look up. |
STANDALONE
|
Returns:
| Type | Description |
|---|---|
Path
|
Path to the bundled template directory. |