guidon is a french word for handlebars.
guidon is a small library which aims to speed up project initialization with templates.
toml
[dependencies]
guidon = "0.1"
guidon performs templating based on handlebars templating system.
Files to be handles needs to have an .hbs
extension. Folders can be templatized too : {{folder/subfolder}}
```rust use guidon::Guidon;
fn main() { let mut guidon = Guidon::withconf("path/to/template.toml").unwrap(); guidon.applytemplate("path/to/template/dir", "path/to/destination").unwrap(); } ```
The configuration file is structured as follows : ```toml
usetemplatedir = true
usestrictmode = true
[variables] test1 = "test 1" test2 = "test 2" ```
TODO
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in guidon by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.