| Crates.io | reify |
| lib.rs | reify |
| version | 0.5.8 |
| created_at | 2021-11-24 21:51:11.911848+00 |
| updated_at | 2025-02-09 22:12:34.171368+00 |
| description | Write configuration files from templates using env variables |
| homepage | |
| repository | https://github.com/dghilardi/reify |
| max_upload_size | |
| id | 487328 |
| size | 61,347 |
Install using cargo:
cargo install reify
Write a template:
{
"host": "{{hostname}}",
"features": {
"showBetaBadge": "{{showBetaBadge}}",
"onlyBetaUsers": "{{onlyBetaUsers}}"
}
}
Write a configuration file:
[[mounts]]
source = "templates/environment.json"
destination = "out/environment.json"
processor = "handlebars"
Invoke the command to generate filled files:
dev_hostname=dev.com reify -c reify.toml -e dev
copy simply copy source file to destination pathhandlebars rust implementation of handlebars templating languagetera tera templating engine