Command-line TOML parser
src | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
tomcat
– a minimal TOML parser for the command line.
Installation
From Source
- Run
cargo --install --git https://git.tebibyte.media/emma/tomcat.git
- ???
- Profit
Usage
To get the value of key
from the main
table in file.toml
:
tomcat main.key file.toml
To get the top-level key notable
from file.toml
:
tomcat notable file.toml
To get index 3
in array arr
inside the main
table in file.toml
:
tomcat main.arr[3] file.toml