gn

Crates.iogn
lib.rsgn
version0.1.5
sourcesrc
created_at2022-08-14 10:28:27.317574
updated_at2022-09-19 05:03:58.662273
descriptionA gron-like tool made in Rust
homepage
repositoryhttps://github.com/masinc/gn
max_upload_size
id645346
size49,504
(masinc)

documentation

README

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

Commit count: 40

cargo fmt