Skip to main content

load_builtin_template

Function load_builtin_template 

Source
pub fn load_builtin_template(id: &str, version: &str) -> Result<TemplatePackage>
Expand description

Load one exact built-in template from bytes embedded in the core binary.

Exact matching avoids fallback upgrades, and embedding keeps an installed CLI independent of a source checkout or current working directory.