Crates.io | eonfmt |
lib.rs | eonfmt |
version | 0.2.0 |
created_at | 2025-08-01 10:06:12.127825+00 |
updated_at | 2025-08-01 10:06:12.127825+00 |
description | A binary for formatting .eon config files. |
homepage | https://github.com/emilk/eon |
repository | https://github.com/emilk/eon |
max_upload_size | |
id | 1776406 |
size | 24,736 |
See https://github.com/emilk/eon for info about Eon.
cargo install eonfmt
You can format individual files, or a whole folder recursively.
When given a folder, only .eon
files will be formatted,
and .gitignore
will be respected.
eonfmt file.rs
eonfmt folder/
eonfmt .
You can also check whether or not files are formatted:
# Error if there is an unformatted .eon file that is not in `.gitignore`.
eonfmt --check .