convfmt 0.1.1

cli tool which can convert different formats
convfmt-0.1.1 is not a library.
Visit the last successful build: convfmt-2.1.0

convfmt

Actions Status dependency status Crates.io

convfmt is a command line tool which can convert between formats:

  • json
  • yaml
  • toml

Usage:

$ convfmt < cfg.yml > cfg.toml --from yaml --to toml
$ cat cfg.toml | convfmt -f toml -t json --compact > cfg.json
$ curl https://api.github.com/users/oriontvv | convfmt --from json --to yaml

Some formats allow to use compact and pretty(default) options

Installation:

cargo install convfmt

Many thanks to:

This tool stands on the shoulders of such giants: