Line data Source code
1 : use anyhow::Result; 2 : use std::path::Path; 3 : 4 49 : #[ctor::ctor] 5 49 : fn init() { 6 49 : env_logger::init(); 7 : } 8 : 9 8 : pub fn new_template(path: &Path) -> Result<()> { 10 8 : crate::packaging::new_template(path)?; 11 8 : crate::packaging::use_local_packages(path)?; 12 8 : Ok(()) 13 8 : }