This crate is a thin wrapper around the vl-convert-rs
library that provides a command line interface for converting Vega-Lite visualization specifications to Vega visualization specifications.
Download the vl-convert
release archive for your operating system from the GitHub release page, unzip it, and add it to your system PATH. Alternatively, install vl-convert using cargo with:
cargo install vl-convert
Display the documentation for the vl-convert
command
$ ./vl-convert --help
```
vl-convert: A utility for converting Vega-Lite specifications into Vega specification
Usage: vl-convert [OPTIONS] --input-vegalite-file
Options:
-i, --input-vegalite-file
Example: Convert a Vega-Lite specification file named in.vl.json
into a Vega specification file named out.vg.json
. Perform the conversion using version 5.5 of the Vega-Lite JavaScript library and pretty-print the resulting JSON.
./vl-convert -i ./in.vl.json -o ./out.vg.json --vl-version 5.5 --pretty