A configuration file preprocessor
Find a file
2024-07-22 15:32:59 -04:00
man updated man, version, and allow more data types in config variables 2024-07-05 14:36:31 -04:00
src failures now report time too 2024-07-22 15:32:59 -04:00
.gitignore initial implementation of functionality 2023-08-08 10:59:55 -04:00
Cargo.toml version bump 2024-07-22 13:02:17 -04:00
README.md added ANSI formatting for better output readability 2023-08-26 00:00:55 -04:00

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"

Libraries