A configuration file preprocessor
src | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
rust-toolchain.toml |
oink 🐷
A configuration file preprocessor written in Rust.
Usage
# process config files
oink build
# apply processed configs
oink apply
# build and apply
oink full
Configuration
Variables are split into two sections for ease-of-use: vars
and colors
.
Targets need two fields, name
and path
, containing a unique name and their
destination file respectively. They should go into the target
array.
[vars]
name = "Test User"
[colors]
example = "1A1A1A"
[[target]]
name = "oink"
path = "/home/test/.config/oink/oink.toml"