#markup-language #json #yaml #converting #command-line-tool #toml #cargo

bin+lib rscribe

command line tool for converting between markup languages

2 releases

0.1.1 Jan 15, 2023
0.1.0 Jan 15, 2023

#73 in #converting

40 downloads per month

MIT license

8KB
169 lines

rscribe

A tool to convert between different notations and markup languages.

Currently supported filetype:

  • JSON
  • YAML
  • TOML

Install

cargo install scribe

Usage

rscribe Cargo.toml Cargo.json
       [ input  ] [ output ]

rscribe -f json Cargo.toml
       [format]

rscribe infers file formats via the extensions on the input and output paths.

Todo

  • explicit format flags
  • batch convert a group of input files all to one output format

Dependencies

~5.5MB
~105K SLoC