6 releases
0.1.5 | Sep 19, 2022 |
---|---|
0.1.4 | Sep 3, 2022 |
0.1.3 | Aug 28, 2022 |
#838 in Command-line interface
24 downloads per month
19KB
549 lines
gn
A gron-like tool made in Rust.
Support format for JSON, JSON5, YAML and TOML.
Inspired by gron
Usage
This reads FILEPATH and outputs it in gron format.
gn <FILEPATH>
If there is no argument or "-", it reads from stdin.
cat Cargo.toml | gn
To determine the format, first try to determine by extension. Next, if it cannot be determined by extension, it attempts to deserialize to each format.
License
MIT or Apache-2.0
Dependencies
~9–22MB
~266K SLoC