#cli #json #toml #yaml #markup #input #command-line-tool

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

#1970 in Command line utilities

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

~5MB
~106K SLoC