Fork of https://github.com/znx3p0/vielsprachig, with extra functionality
cargo install slate-rs
# Convert yml -> toml
slate $HOME/.config/alacritty.yml -o $HOME/.config/alacritty.toml
- Convert between different input and output serialized data formats
- Tera templating
- Special modes for generating systemd timers and quadlet files (see examples)
The current input options and their inferred extensions are:
Input | Output | Extensions |
---|---|---|
Json | Json | .json |
PrettyJson | .hjson |
|
Yaml | Yaml | .yaml , .yml |
Cbor | Cbor | .cb , .cbor |
Ron | Ron | .ron |
PrettyRon | .hron |
|
Toml | Toml | .toml |
Bson | Bson | .bson , .bs |
Pickle | .pickle , .pkl |
|
Bincode | .bc , .bincode |
|
Postcard | .pc , .postcard |
|
Flexbuffers | .fb , .flexbuffers |
|
Systemd | (use --to systemd ) |
|
Quadlet | (use --to quadlet ) |