Function project_init::read_toml_dir
[−]
[src]
pub fn read_toml_dir(template_path: &str, home: PathBuf) -> (Project, bool)
Given a filepath, read the .toml file there as containing the directories/templates.
If no such file is found, read from global template directory in $HOME/.pi_templates/
.