(vg-cli {:keys [spec scale seed format mode spec-filename output-filename
return-output?]
:or {format :svg mode :vega-lite return-output? true}})
Takes either spec or the contents of spec-filename, and uses the vega/vega-lite cli tools to translate to the specified format. If both spec and spec-filename are present, writes spec to spec-filename for running cli tool (otherwise, a tmp file is used).
Takes either spec or the contents of spec-filename, and uses the vega/vega-lite cli tools to translate to the specified format. If both spec and spec-filename are present, writes spec to spec-filename for running cli tool (otherwise, a tmp file is used).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close