Interface: Template¶
A scaffoldable file tree declared by an Extension.
idNamespaced identifier:<extension>/<name>.labelHuman-friendly name shown in UIs.kindPrimary Kind this template scaffolds (may span multiple kinds in the file tree, but this is the headline one for filtering/grouping).descriptionOne-line description.filesRootAbsolute path to the root of the template tree on disk (typically resolved viafileURLToPathfrom the Extension'simport.meta.url).ownerExtensionName of the Extension that owns this template.postInitHintOptional shell/cli snippet shown after scaffold (e.g. "cd .dna//programs/research && bun install"). upstreamRefOptional upstream pin (e.g. a git sha of the source repo the template was cloned from).