Crates.io | tigerturtle |
lib.rs | tigerturtle |
version | 0.1.2 |
source | src |
created_at | 2024-09-13 20:17:14.706893 |
updated_at | 2024-10-17 07:57:59.756851 |
description | Safely parse and evaluate toml files as bash variables |
homepage | |
repository | https://github.com/ArielHorwitz/tigerturtle |
max_upload_size | |
id | 1374124 |
size | 22,676 |
tigerturtle lets you safely parse and evaluate toml files as bash variables.
I use bash scripts a lot. I like to load configurations. I dislike the idea of simply running eval $(cat some_file)
. This allows me to parse a TOML file and safely evaluate just the keys I want.
Install using cargo install tigerturtle
.
Run tigerturtle --generate >> some_script.sh
for the most basic use case. Check out the example script to learn more.
Feel free to report an issue.